CVE-2025-24293
Active Storage allowed transformation methods that were potentially unsafe
Summary
Remediation
Upgrade to the fixed version using your package manager.
gem install activestorage -v 8.0.2.1
gem install activestorage -v 7.1.5.2
gem install activestorage -v 7.2.2.2
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| activestorage | rubygems | 8.0.0, 8.0.0.1, 8.0.1, 8.0.2 | 8.0.2.1 |
| activestorage | rubygems | 5.2.0, 5.2.1, 5.2.1.1, 5.2.1.rc1 (+138 more) | 7.1.5.2 |
| activestorage | rubygems | 7.2.0, 7.2.1, 7.2.1.1, 7.2.1.2 (+2 more) | 7.2.2.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-77
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/rails/rails/security/advisories/GHSA-r4mg-4433-c7g3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-24293ADVISORY
- https://github.com/rails/rails/commit/1b1adf6ee6ca0f3104fcfce79360b2ec1e06a354WEB
- https://github.com/rails/rails/commit/2d612735ac0d9712fdfffaf80afa627e7295f6ceWEB
- https://github.com/rails/rails/commit/fb8f3a18c3d97524c0efc29150d1e5f3162fbb13WEB
- https://github.com/advisories/GHSA-r4mg-4433-c7g3ADVISORY
- https://github.com/rails/railsPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2025-24293.ymlWEB
Frequently Asked Questions
- What is CVE-2025-24293?
- Active Storage allowed transformation methods that were potentially unsafe This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2025-24293?
- CVE-2025-24293 affects activestorage. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24293 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-66066CRITICAL
Active Storage has possible arbitrary file read and remote code execution in Active Storage variant processing
- CVE-2026-33195HIGH
Rails Active Storage has possible Path Traversal in DiskService
- CVE-2020-8162HIGH
Circumvention of file size limits in ActiveStorage
- CVE-2026-33202MEDIUM
Rails Active Storage has possible glob injection in its DiskService
- CVE-2018-16477MEDIUM
Exposure of Sensitive Information to an Unauthorized Actor in activestorage
- CVE-2024-26144MEDIUM
Rails has possible Sensitive Session Information Leak in Active Storage
- CVE-2026-33173MEDIUM
Rails Active Storage has possible content type bypass via metadata in direct uploads
- CVE-2026-33658LOW
Rails Active Storage has a possible DoS vulnerability in proxy mode via multi-range requests
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies