Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/rails/rails/releases/tag/v8.0.5.2
- https://github.com/rails/rails/releases/tag/v8.1.4.1
- https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9
- https://github.com/alan-turing-institute/cyber-threat-observatory/blob/main/repo
- https://github.com/digitalocean/droplet-1-clicks/pull/488
- https://github.com/rubysec/ruby-advisory-db/pull/1300
FAQ
What is CVE-2026-122006?
CVE-2026-122006 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 ImageMagic...
How severe is CVE-2026-122006?
CVE-2026-122006 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-122006?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.