Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. activestorage
  4. ›
  5. CVE-2026-33658

CVE-2026-33658: Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests

March 25, 2026 (updated May 6, 2026)

Active Storage’s proxy controller does not limit the number of byte ranges in an HTTP Range header. A request with thousands of small ranges causes disproportionate CPU usage compared to a normal request for the same file, possibly resulting in a DoS vulnerability.

References

  • github.com/advisories/GHSA-p9fm-f462-ggrg
  • github.com/rails/rails
  • github.com/rails/rails/releases/tag/v7.2.3.1
  • github.com/rails/rails/releases/tag/v8.0.4.1
  • github.com/rails/rails/releases/tag/v8.1.2.1
  • github.com/rails/rails/security/advisories/GHSA-p9fm-f462-ggrg
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2026-33658.yml
  • nvd.nist.gov/vuln/detail/CVE-2026-33658

Code Behaviors & Features

Detect and mitigate CVE-2026-33658 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.2.3.1, all versions starting from 8.0.0 before 8.0.4.1, all versions starting from 8.1.0 before 8.1.2.1

Fixed versions

  • 8.1.2.1
  • 8.0.4.1
  • 7.2.3.1

Solution

Upgrade to versions 7.2.3.1, 8.0.4.1, 8.1.2.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

gem/activestorage/CVE-2026-33658.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:17:46 +0000.