Debian Patches Rails and Symfony, Check Packages and Update
If you use Rails or Symfony packages from Debian trixie, check the full versions and schedule an urgent update, prioritizing sites that accept uploads and sites that meet the conditions for information disclosure.
1-minute summary
- Symptom / problem
- Rails มีช่องโหว่หลายกลไกรวมถึงการรันโค้ด ส่วน Symfony มีปัญหาข้ามกฎสิทธิ์ ข้อมูลรั่ว และทำให้บริการหยุดทำงาน
- Who should read
- ระบบที่ใช้แพ็กเกจจาก source rails หรือ symfony ของ Debian trixie รวมถึงแอปที่ต้องตรวจ dependency แยกจากแพ็กเกจระบบ
- Fix in short
- อัปเดตแพ็กเกจย่อยที่ติดตั้งให้ครบตามรุ่น Debian ที่แก้แล้ว เริ่มบริการแอปใหม่ และตรวจ Gemfile.lock หรือ composer.lock ของแต่ละเว็บแยกกัน
While checking the Debian Security Tracker, I found the Rails DSA-6669-1 and Symfony DSA-6668-1 patches, so I have collected the checks here. First, check whether the app loads its framework from Debian packages or the site's dependencies. Even after a system update, the copy the site uses may still be out of date.
Which packages have patches available
This table lists Debian source package versions from the Security Tracker. Compare the full versions, because Debian can backport patches to an existing version.
| Source package | Debian | Version the Tracker lists as vulnerable | Fixed version |
|---|---|---|---|
| rails | trixie | 2:7.2.2.2+dfsg-2~deb13u2 |
2:7.2.2.2+dfsg-2~deb13u3 |
| symfony | trixie | 6.4.50+dfsg-0+deb13u1 |
6.4.51+dfsg-0+deb13u1 |
For other Debian releases, check each CVE individually. For example, CVE-2026-126188 has a bookworm patch through a separate DLA, but CVE-2026-126084 does not affect bookworm because the problematic code was introduced later.
A source package can produce several subpackages, and updating Debian does not automatically change the app's bundle or vendor dependencies. Check Gemfile.lock or composer.lock separately too.
Rails: check uploads and file processing first
This set of vulnerabilities includes XSS, denial of service, cache poisoning, information disclosure, and risks of code execution. The CVEs listed in the Debian Tracker for DSA-6669-1 are CVE-2026-122006, CVE-2026-126067, CVE-2026-126068, CVE-2026-126069, CVE-2026-126070, CVE-2026-126072, CVE-2026-126073, CVE-2026-126074, CVE-2026-126076, CVE-2026-126077, CVE-2026-126078, CVE-2026-126079, CVE-2026-126080, CVE-2026-126081, CVE-2026-126084, CVE-2026-126085, CVE-2026-126186, and CVE-2026-126188.
Each has different conditions. This does not mean every Rails site is affected by every issue.
For example, CVE-2026-126188 is in Active Storage. When FFmpeg reads an HLS playlist, it may open local media files at paths supplied by an attacker. This affects apps that accept files from untrusted users and then generate video previews or analyze audio or video. The attacker must also know the path of a media file the app has permission to read, according to the Rails advisory.
Another issue occurs when Active Storage uses ImageMagick through MiniMagick and the policy has not disabled dangerous coders. If the app accepts files from untrusted users, an attacker may be able to write local files. If it also uses the Disk service, the attacker may be able to read secrets the app has permission to read. Simply attaching a file triggers the analyzer; generating a variant or preview is not required, according to the Rails advisory on ImageMagick.
Debian lists CVE-2026-122006, and the Tracker links to GHSA-f3w6-w445-fwh9, but the Rails advisory uses CVE-2026-126082. I have kept the ID in the DSA list as Debian lists it. The IDs in the two sources still differ, so I have not used the score or upstream versions associated with one ID in place of the other.
Symfony: Debian patches beyond the HEAD issue
The Symfony news about HEAD bypassing authorization rules covers a different set of issues. The Debian Tracker lists the patched version for trixie as 6.4.51+dfsg-0+deb13u1. A version that fixes only the HEAD issue is not sufficient for this set.
The entries in DSA-6668-1 on the Debian Tracker are CVE-2026-133743, CVE-2026-133745, CVE-2026-133746, CVE-2026-133748, CVE-2026-133749, CVE-2026-133752, CVE-2026-133753, CVE-2026-133754, CVE-2026-133756, CVE-2026-133757, CVE-2026-133758, CVE-2026-133759, CVE-2026-133760, CVE-2026-133761, CVE-2026-134790, and CVE-2026-134792.
This set includes authorization bypass, information disclosure, and denial of service. For an example of a denial-of-service issue, see the Tracker entry for CVE-2026-133760.
For example, CVE-2026-133757 affects NoPrivateNetworkHttpClient. When following a redirect across origins, the wrapped client may reintroduce credentials configured as defaults. Authentication credentials are then sent to another destination, according to the credential disclosure advisory.
CVE-2026-133753 occurs when using unanimous with an access_control rule that specifies multiple roles and has the same voter evaluate them. A user with only one role may pass a rule that requires all roles, according to the multiple-role rule advisory.
Assess severity for each vulnerability
I have compared scores from the developers' advisories. Each score applies only to the vulnerability in that row.
| Vulnerability | Developer score | Published vector |
|---|---|---|
| Rails CVE-2026-126188 | Low, CVSS 3.1 = 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| Symfony CVE-2026-133757 | High, CVSS 4.0 = 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
According to the vector, the Rails example has difficult attack conditions and limited impact. This score cannot represent the risk of the entire set. The Symfony example requires neither an account nor user interaction, but it does require system conditions as indicated by AT:P.
The CVEs in the two DSAs, including the other ImageMagick ID listed by Rails, are not in the KEV edition dated 27 Nov. 2026. I checked the KEV JSON in CISA's repository. Absence from KEV does not confirm that no attacks have occurred.
Check and update the copy actually in use
Check the installation status, binary package name, source package name, and source package version with dpkg-query, then compare them with the table above.
dpkg-query -W -f='${db:Status-Status}\t${binary:Package}\t${source:Package}\t${source:Version}\n' \
| awk -F '\t' '$1 == "installed" && ($3 == "rails" || $3 == "symfony")'
If there is no output, you still need to check Bundler or Composer. If packages are listed, back up your data and test the patches first. This set of Bash commands selects the installed subpackages and simulates the update, following the apt-get manual.
mapfile -t security_packages < <(
dpkg-query -W -f='${db:Status-Status}\t${binary:Package}\t${source:Package}\n' \
| awk -F '\t' '$1 == "installed" && ($3 == "rails" || $3 == "symfony") {print $2}'
)
if ((${#security_packages[@]})); then
sudo apt-get update &&
sudo apt-get -s install --only-upgrade "${security_packages[@]}"
else
printf '%s\n' 'No installed Debian packages from source rails or symfony'
fi
Check that the versions to be installed and the repository are correct. If the patches still do not appear, check the security repository, pins, and holds. When ready, continue in the same Bash session that holds the package list.
if ((${#security_packages[@]})); then
sudo apt-get install --only-upgrade "${security_packages[@]}"
fi
- Identify package sources Determine whether the site loads from Debian, bundle, or vendor, and record the versions before applying fixes.
- Test the patches Back up data, simulate the update list, and test uploads and authorization rules.
- Update everything required Include subpackages and each app's dependencies according to their installation sources.
- Restart services Have both web workers and background workers load the new code, then check versions and behavior again.
After updating, run the package listing again, then check from the project directory using the app owner's account. Choose the command for the framework.
# Rails: ดูรุ่นที่ bundle ของโครงการเรียกใช้งาน
bundle exec rails --version
# Symfony: ดูแพ็กเกจที่ติดตั้ง และตรวจ advisory ของรายการใน lock file
composer show 'symfony/*'
composer audit --locked --no-dev
Composer audit checks dependencies after the patches have been installed. You still need to restart services to load the new code. If you cannot update Rails, the developers recommend a temporary workaround for CVE-2026-126188: remove the video previewer and video/audio analyzers that call FFmpeg. This affects media processing and does not address the other vulnerabilities.
Check for unusual activity and prioritize the work
When checking logs, I would start with unusual upload or preview activity, then look for reads of files outside the expected paths. For Symfony, look for access to restricted pages without all required roles and redirects to destinations that were not configured. Use existing logs and avoid logging additional credentials.
Finding unusual signs is not enough to confirm a compromise. Finding none does not confirm safety either. The developers recommend that apps using ImageMagick with the Disk service under the conditions above also rotate secrets the app can read after applying the fix. Preserve evidence before taking action.
I recommend prioritizing sites that accept external files and Symfony apps using the client under the conditions above for urgent patching. Other systems should also be updated in the next available maintenance window, because this set includes other issues too. This is advice on work priorities, not confirmation that attacks have already occurred.
Sources: Debian DSA-6669-1 (https://lists.debian.org/debian-security-announce/2026/msg00591.html), Debian Rails Tracker (https://security-tracker.debian.org/tracker/DSA-6669-1), Debian DSA-6668-1 (https://lists.debian.org/debian-security-announce/2026/msg00590.html), Debian Symfony Tracker (https://security-tracker.debian.org/tracker/DSA-6668-1), Rails Security Advisories (https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9 and https://github.com/rails/rails/security/advisories/GHSA-3f4q-8x5m-76v8), Symfony Security Advisories (https://github.com/symfony/symfony/security/advisories/GHSA-v6qm-94rx-6x93 and https://github.com/symfony/symfony/security/advisories/GHSA-h32j-4qcq-hw69). Information checked through 30 Nov. 2026. I will come back and update this later.
Want us to set this up?
Get help with server setup, configuration, migration, or troubleshooting. Save time for the work that matters.
Hit something like this? Stuck somewhere?
Come trade notes on the LinuxThai board


Comments 0
No comments yet — be the first