CVE-2026-33173: rails activestorage · Improper Verification of Intent by Broadcast Receiver
Affects rails activestorageSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium · fixed in 8.1.2.1 : update rails activestorage when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.1.2.1, 8.0.4.1, 7.2.3.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade rails activestorage to 8.1.2.1, 8.0.4.1 or 7.2.3.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| railsactivestorage | Affected
| Fixed in
|
| railsactivestorage | Affected
| Fixed in
|
| railsactivestorage | Affected
| Fixed in
|
AI-suggested
To mitigate this vulnerability, organizations should immediately upgrade Rails Active Storage to versions 8.1.2.1, 8.0.4.1, or 7.2.3.1 or later, where the issue is patched. Beyond upgrading, developers should implement additional server-side validation of uploaded files independent of Active Storage's automatic MIME detection. This includes verifying file content types using trusted libraries or services, restricting allowed file types and sizes, and scanning uploads for malware. Employing Content Security Policy (CSP) headers and isolating uploaded files in non-executable directories can reduce the risk of malicious file execution. Logging and monitoring upload activities for anomalies can help detect exploitation attempts. If immediate upgrading is not feasible, temporarily disabling direct uploads or restricting upload functionality to trusted users can reduce exposure. Regularly reviewing and updating dependencies and maintaining a secure development lifecycle will help prevent similar issues.
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.
References
- github.com/rails/rails/security/advisories/GHSA-qcfx-2mfw-w4cg (opens in a new tab)
- github.com/rails/rails/commit/707c0f1f41f067fdf96d54e99d43b28dfaae7e53 (opens in a new tab)
- github.com/rails/rails/commit/8fcb934caadc79c8cc4ce53287046d0f67005b3e (opens in a new tab)
- github.com/rails/rails/commit/d9502f5214e2198245a4c1defe9cd02a7c8057d0 (opens in a new tab)
- github.com/rails/rails/releases/tag/v7.2.3.1 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.0.4.1 (opens in a new tab)
- github.com/rails/rails/releases/tag/v8.1.2.1 (opens in a new tab)