CVE-2026-33173Rails Active Storage has possible content type bypass via metadata in direct uploads
- 5.3MediumCVSS base score
- 0.41%Exploitation in 30 daysEPSS · top 65% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, `DirectUploadsController` accepts arbitrary metadata from the client and persists it on the blob. Because internal flags like `identified` and `analyzed` are stored in the same metadata hash, a direct-upload client can set these flags to skip MIME detection and analysis. This allows an attacker to upload arbitrary content while claiming a safe `content_type`, bypassing any validations that rely on Active Storage's automatic content type identification. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.
Timeline
ID reserved
By GitHub_M
- 6 days later
· 6 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | Medium5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVDNVD · Analyzed | 4.0 | Medium5.3 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.41% · top 65% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
- affected >= 8.1.0.beta1, < 8.1.2.1
- affected >= 8.0.0.beta1, < 8.0.4.1
- affected < 7.2.3.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactivestorageGHSA-qcfx-2mfw-w4cg (opens in a new tab)
References
References7
- https://github.com/rails/rails/security/advisories/GHSA-qcfx-2mfw-w4cg (opens in a new tab)x_refsource_CONFIRM
- https://github.com/rails/rails/commit/707c0f1f41f067fdf96d54e99d43b28dfaae7e53 (opens in a new tab)x_refsource_MISC
- https://github.com/rails/rails/commit/8fcb934caadc79c8cc4ce53287046d0f67005b3e (opens in a new tab)x_refsource_MISC
- https://github.com/rails/rails/commit/d9502f5214e2198245a4c1defe9cd02a7c8057d0 (opens in a new tab)x_refsource_MISC
- https://github.com/rails/rails/releases/tag/v7.2.3.1 (opens in a new tab)x_refsource_MISC
- https://github.com/rails/rails/releases/tag/v8.0.4.1 (opens in a new tab)x_refsource_MISC
- https://github.com/rails/rails/releases/tag/v8.1.2.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-14626 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qcfx-2mfw-w4cg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-33173)Record last updated .