P2 · HighCVSS 9.8EPSS 0.7%
Active Storage: Possible arbitrary file write and read in image analysis
- CVE-2026-122006
- GHSA-f3w6-w445-fwh9
- EUVD-2026-116914
Description
The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write operations (e.g., reading secret_key_base) because the ImageMagick analyzer runs when a file is attached, and there is not an ImageMagick security policy to block unintended functionality.
Text from the CVE.org record.
Recommendation
rubyonrails Active Storage
- If you run 8.1.xupdate to 8.1.4.1 or laterPatch update: breaking changes are unlikely
- If you run a version before 8.0.5.2update to 8.0.5.2 or later
activestorage
- If you run 8.1.xupdate to 8.1.4.1 or laterPatch update: breaking changes are unlikelyactivestorage 8.1.4.1 on its registry (opens in a new tab)
- If you run a version before 8.0.5.2update to 8.0.5.2 or lateractivestorage 8.0.5.2 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
rubyonrails Active Storage
Affected versions Fixed in from 8.1 to before 8.1.4.1 8.1.4.1 before 8.0.5.2 8.0.5.2 activestorageRubyGems
Affected versions Fixed in from 8.1.0.beta1 to before 8.1.4.1 8.1.4.1 before 8.0.5.2 8.0.5.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.