CVE-2026-122006
published critical CVSS 3.1 · 9.8activestorage: arbitrary file read and write via ImageMagick attachment analysis
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rubyonrails | — | Active Storage0 to < 8.0.5.2 · 8.1 to < 8.1.4.1 · Other versions: unaffected | Affected | Not stated | mitre |
| Debian | bookworm | rails | Advisory build | 2:6.1.7.10+dfsg-1~deb12u4 | DLA-4934-1 |
| Debian | trixie | rails | Advisory build | 2:7.2.2.2+dfsg-2~deb13u3 | DSA-6669-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rubyonrails | Active Storage | 0 to < 8.0.5.2 (affected · custom)8.1 to < 8.1.4.1 (affected · custom)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-1188 CWE-1188 Initialization of a Resource with an Insecure Default
References
6- https://github.com/alan-turing-institute/cyber-threat-observatory/blob/main/reports/2026-11-04/TIER_2_CVE-2026-122006.md
- https://github.com/digitalocean/droplet-1-clicks/pull/488
- 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/rubysec/ruby-advisory-db/pull/1300
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f433b4162d25c93cd649ba18af66ebd3c74e783b197af82820c65ecb97e92016
- Ingested
- 09 Nov 2026, 21:21:49 UTC
- Source record
- Official CVE record