CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in rubyonrails active storage. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in activestorage 8.0.5.2, 8.1.4.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2026-122006 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-122006?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-122006?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-122006 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| rubyonrails Active Storage | before 8.0.5.2 |
| rubyonrails Active Storage | from 8.1 before 8.1.4.1 |
activestorage (RubyGems): fixed in 8.1.4.1, 8.0.5.2| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f3w6-w445-fwh9 | RubyGems | activestorage | >=8.1.0.beta1 <8.1.4.1 | 8.1.4.1 |
| GHSA-f3w6-w445-fwh9 | RubyGems | activestorage | <8.0.5.2 | 8.0.5.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | rails | no fix listed | DEBIAN-CVE-2026-122006 |
| Ubuntu | 24.04:LTS, 26.04:LTS, 26.10 and 4 more | rails | no fix listed | UBUNTU-CVE-2026-122006 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
A flaw in Active Storage's ImageMagick attachment analyzer allows a remote, unauthenticated attacker to upload a crafted file and execute unauthorized filesystem read and write operations due to the absence of a restrictive security policy during processing.
Configure an explicit, restrictive ImageMagick security policy (`policy.xml`) on the host to disable hazardous coders, or transition Active Storage attachment analysis and variant processing to use `vips` instead of `imagemagick`.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel9 | Affected | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Affected | |
| Red Hat Satellite 6 | rubygem-activestorage | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-122006.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.