CVE-2026-33174
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, when serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. `bytes=0-`) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion. 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:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.6 %
higher than 46 %
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-789: Memory Allocation with Excessive Size Value
The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.
References
- https://github.com/rails/rails/commit/2cd933c366b777f873d4d590127da2f4a25e4ba5
- https://github.com/rails/rails/commit/42012eaaa88dfc7d0030161b2bc8074a7bbce92a
- https://github.com/rails/rails/commit/8159a9c3de3f27a2bcf2866b8bf9ceb9075e229b
- 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-r46p-8f7g-vvvg
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.