Description
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/rails/rails | 7.0.2.3, 6.1.4.7, 6.0.4.7, 5.2.6.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | rails | 2:6.1.4.7+dfsg-1 | — |
| Debian 13 | rails | 2:6.1.4.7+dfsg-1 | — |
| Debian 12 | rails | 2:6.1.4.7+dfsg-1 | — |
| Debian 11 | rails | 2:6.0.3.7+dfsg-2+deb11u1 | DSA-5372-1 |
| Debian 10 | rails | 2:5.2.2.1+dfsg-1+deb10u4 | DLA-3093-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | rails | No fix yet | — |
| Ubuntu 26.04 LTS | rails | No fix yet | — |
| Ubuntu 25.10 | rails | No fix yet | — |
| Ubuntu 24.04 LTS | rails | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 20.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 18.04 LTS | rails | No fix yet | — |
| Ubuntu Pro 16.04 LTS | rails | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ruby3.2-rubygem-activestorage-7.0 | 7.0.4.3-1.1 | openSUSE-SU-2024:12880-1 |
| openSUSE Tumbleweed | rubygem-activestorage-7.0 | 7.0.2.3-1.1 | openSUSE-SU-2025:15113-1, openSUSE-SU-2024:14070-1, openSUSE-SU-2024:11903-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
usutani/study-turbolinks-link ★ 0 · Apr 5, 2020
Known security vulnerabilities detected. CVE-2022-21831 Critical severity CVE-2025-24293 Critical severity CVE-2020-8162 High severity CVE-2024-26144 Moderate severity
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | activestorage | >= 5.2.0, < 5.2.6.3 | 5.2.6.3 | GHSA-w749-p3v6-hccq |
| RubyGems | activestorage | >= 6.0.0, < 6.0.4.7 | 6.0.4.7 | GHSA-w749-p3v6-hccq |
| RubyGems | activestorage | >= 6.1.0, < 6.1.4.7 | 6.1.4.7 | GHSA-w749-p3v6-hccq |
| RubyGems | activestorage | >= 7.0.0, < 7.0.2.3 | 7.0.2.3 | GHSA-w749-p3v6-hccq |
Advisories 7
- DSA-5372-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3093-1 rails - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11903-1 ruby3.1-rubygem-activestorage-7.0-7.0.2.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14070-1 ruby3.3-rubygem-activestorage-7.0-7.0.8.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12880-1 ruby3.2-rubygem-activestorage-7.0-7.0.4.3-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:15113-1 ruby3.4-rubygem-activestorage-7.0-7.0.8.6-1.3 on GA media SUSE / openSUSE Security Updates · May 22, 2025
- WID-SEC-2022-1280 Ruby on Rails: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · May 18, 2025