cve.bz

CVE-2026-122006 rubyonrails active storage

9.8 criticalEPSS 0.7%Fix available

Critical (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.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-13. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-11-09. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1188 Initialization of a Resource with an Insecure Default
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Ask an AI about this CVE

Show the promptExplain 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.

Badge for a README or a site

CVE-2026-122006

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-122006](https://cve.bz/cve/badge/CVE-2026-122006.svg)](https://cve.bz/cve/CVE-2026-122006)

HTML:

<a href="https://cve.bz/cve/CVE-2026-122006"><img src="https://cve.bz/cve/badge/CVE-2026-122006.svg" alt="CVE-2026-122006"></a>

Affected

  • rubyonrails:active storage

Versions

From the CNA's record in the CVE List.

ProductAffected
rubyonrails Active Storagebefore 8.0.5.2
rubyonrails Active Storagefrom 8.1 before 8.1.4.1

Fix and patched versions

  • activestorage (RubyGems): fixed in 8.1.4.1, 8.0.5.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f3w6-w445-fwh9RubyGemsactivestorage>=8.1.0.beta1 <8.1.4.18.1.4.1
GHSA-f3w6-w445-fwh9RubyGemsactivestorage<8.0.5.28.0.5.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14railsno fix listedDEBIAN-CVE-2026-122006
Ubuntu24.04:LTS, 26.04:LTS, 26.10 and 4 morerailsno fix listedUBUNTU-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

Red Hat rates this Important.

Red Hat's statement

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.

Red Hat's mitigation

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`.

ProductPackageStateAdvisory
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel9Affected
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Affected
Red Hat Satellite 6rubygem-activestorageAffected

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.

GitHub PoC (unverified)

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.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON