Ubuntu CVE Tracker
UBUNTU-CVE-2026-122006
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | rails | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | rails | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | rails | All versions, no fix listed |
| Ubuntu:Pro:22.04:LTS | rails | All versions, no fix listed |
| Ubuntu:24.04:LTS | rails | All versions, no fix listed |
| Ubuntu:26.10 | rails | All versions, no fix listed |
| Ubuntu:26.04:LTS | rails | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2026-122006
- https://www.cve.org/CVERecord?id=CVE-2026-122006
- 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/digitalocean/droplet-1-clicks/pull/488
- https://github.com/rubysec/ruby-advisory-db/pull/1300