CVE-2026-33173
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-24
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 32 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| activestorage (RubyGems) | < 7.2.3.1 | Affected | |
| activestorage (RubyGems) | ≥ 8.0.0.beta1, < 8.0.4.1 | Affected | |
| activestorage (RubyGems) | ≥ 8.1.0.beta1, < 8.1.2.1 | Affected | |
| Rubyonrails | Rails | < 7.2.3.1 | Affected |
| Rubyonrails | Rails | ≥ 8.0.0, < 8.0.4.1 | Affected |
| Rubyonrails | Rails | ≥ 8.1.0, < 8.1.2.1 | Affected |
Weakness type
-
CWE-925: Improper Verification of Intent by Broadcast Receiver
The Android application uses a Broadcast Receiver that receives an Intent but does not properly verify that the Intent came from an authorized source.
References
- https://github.com/rails/rails/commit/707c0f1f41f067fdf96d54e99d43b28dfaae7e53
- https://github.com/rails/rails/commit/8fcb934caadc79c8cc4ce53287046d0f67005b3e
- https://github.com/rails/rails/commit/d9502f5214e2198245a4c1defe9cd02a7c8057d0
- https://github.com/rails/rails/releases/tag/v7.2.3.1
- https://github.com/rails/rails/releases/tag/v8.0.4.1
- https://github.com/rails/rails/releases/tag/v8.1.2.1
- https://github.com/rails/rails/security/advisories/GHSA-qcfx-2mfw-w4cg
Related at Berigo
Articles
-
Five remote hires turned out to be probable North Korean workers
Same product
2026-08-27
During 2026 Huntress supported investigations in which five remote employees were assessed as likely North Korean workers. The roles covered IT, sale…
-
A fake secret makes the attacker's AI agent shut itself down
Same product
2026-08-19
In July 2026 Tracebit presented experiments where text planted in a decoy secret triggers the guardrails of attacking AI agents. The share of runs re…
-
Critical flaw in Rails Active Storage let uploaded files read secrets
Same product
2026-08-03
Ruby on Rails fixed a critical vulnerability in Active Storage on 29 July 2026. An attacker without login could upload a crafted file and have files …
-
Three identity moves for security leaders in the age of AI
Same product
2026-07-28
AI agents act as digital employees with access of their own, writes John Zhao at ISACA. He recommends behaviour-based authentication, governing the a…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.