# CVE-2026-122006: Active Storage: Possible arbitrary file write and read in image analysis

- Severity: Critical 9.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2026-11-04T14:12:17.584Z
- Modified: 2026-11-17T07:11:11.215Z
- Also known as: GHSA-f3w6-w445-fwh9
- Weaknesses: CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- rubyonrails Active Storage: before 8.0.5.2; from 8.1 before 8.1.4.1
- activestorage (RubyGems): from 8.1.0.beta1 before 8.1.4.1; before 8.0.5.2

## Every score

- mitre: 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`
- GitHub: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9> (web)
- <https://github.com/rails/rails/releases/tag/v8.1.4.1> (web)
- <https://github.com/rails/rails/releases/tag/v8.0.5.2> (web)
- <https://github.com/digitalocean/droplet-1-clicks/pull/488> (web)
- <https://github.com/rubysec/ruby-advisory-db/pull/1300> (web)
- <https://github.com/alan-turing-institute/cyber-threat-observatory/blob/main/reports/2026-11-04/TIER_2_CVE-2026-122006.md> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-122006> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-126082> (advisory)
- <https://github.com/rails/rails/commit/468aa9a93fc98f5476b6821770f4ccfcb7f7d328> (web)
- <https://github.com/rails/rails/commit/ea8c40121ce53a3d0255cd4eb6d13bfe3bc01776> (web)
- <https://github.com/rails/rails> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/GHSA-f3w6-w445-fwh9.yml> (web)

## Sources

- CVE List: [CVE-2026-122006](https://www.cve.org/CVERecord?id=CVE-2026-122006), CVE Terms of Use, modified 2026-11-09
- GitHub Advisory Database: [GHSA-f3w6-w445-fwh9](https://github.com/advisories/GHSA-f3w6-w445-fwh9), CC-BY-4.0, modified 2026-11-17
- NVD: [CVE-2026-122006](https://nvd.nist.gov/vuln/detail/CVE-2026-122006), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-122006 · Whole record: https://cve.day/CVE-2026-122006.json · Rebuilt by cve.day 2026-11-25T22:59:49.005Z
