{"id":"CVE-2026-33174","published":"2026-03-23T23:24:55Z","modified":"2026-03-24T13:40:32Z","title":"Rails Active Storage has a possible DoS vulnerability when in proxy mode via Range requests","vendor":"rails","product":"activestorage","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00679,"percentile":0.53289,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-r46p-8f7g-vvvg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/2cd933c366b777f873d4d590127da2f4a25e4ba5","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/42012eaaa88dfc7d0030161b2bc8074a7bbce92a","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/8159a9c3de3f27a2bcf2866b8bf9ceb9075e229b","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v7.2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.0.4.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":10.66},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"rails","affectedVersions":[{"vendor":"rails","product":"activestorage","versions":[">= 8.1.0.beta1, < 8.1.2.1",">= 8.0.0.beta1, < 8.0.4.1","< 7.2.3.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-24T13:40:23.185319Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activestorage","vulnerableRanges":[">=8.1.0.beta1, <8.1.2.1",">=8.0.0.beta1, <8.0.4.1","<7.2.3.1"],"patched":["8.1.2.1","8.0.4.1","7.2.3.1"],"from":["GHSA-r46p-8f7g-vvvg"],"provenance":"source"}],"summary":{"text":"The vulnerability is in the Active Storage component of Rails, specifically in its proxy delivery mode, where the proxy controller loads the entire requested byte range into memory before sending it. An unauthenticated remote attacker can exploit this over the network with a single request containing a large or unbounded Range header such as bytes=0-, causing the server to allocate memory proportional to the file size and potentially exhaust memory, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:39Z"},"euvd":{"id":"EUVD-2026-14628","exploited":false,"provenance":"source"}}