Skip to main content
VulnerabilityPublished

CVE-2026-33173: rails activestorage · Improper Verification of Intent by Broadcast Receiver

Affects rails activestorageSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
railsactivestorageAffected
  • >=8.1.0.beta1 <8.1.2.1
Fixed in
  • 8.1.2.1
railsactivestorageAffected
  • >=8.0.0.beta1 <8.0.4.1
Fixed in
  • 8.0.4.1
railsactivestorageAffected
  • <7.2.3.1
Fixed in
  • 7.2.3.1

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

Community reviews

Loading reviews…