{"id":"CVE-2026-122006","published":"2026-11-04T15:17:42Z","modified":"2026-11-12T22:09:39Z","title":"The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow…","vendor":"rubyonrails","product":"Active Storage","tier":"core","eol":null,"affectedVersions":[{"vendor":"rubyonrails","product":"Active Storage","versions":["< 8.0.5.2",">= 8.1, < 8.1.4.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-11-09T21:12:06.478651Z","from":"CISA ADP","provenance":"source"},"nvdStatus":"Awaiting Analysis","description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"The activestorage gem for Ruby on Rails, before version 8.1.4.1, contains a flaw in Active Storage's ImageMagick attachment processing, where the analyzer runs when a file is attached and no ImageMagick security policy restricts its functionality. An attacker can use this to perform server read and write operations, such as reading secret_key_base, by attaching a crafted file, with no authentication or user interaction required and network access sufficient.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-14T13:50:14Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.00732,"percentile":0.55233,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":8,"pulses":[{"name":"Known_Cve | Nov 13, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af5d2be148718a0cc0eeceb","created":"2026-11-12"},{"name":"Known_Cve | Nov 12, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af481765ddcbfde708ea523","created":"2026-11-11"},{"name":"Known_Cve | Nov 11, 2026 | Part 1/3","url":"https://otx.alienvault.com/pulse/6af32f9bb8f82537ce5771fc","created":"2026-11-10"},{"name":"Known_Cve | Nov 10, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6af1de48edf0afc015fdbf9e","created":"2026-11-09"},{"name":"Known_Cve | Nov 9, 2026 | Part 1/2","url":"https://otx.alienvault.com/pulse/6af08d78fae68d2bf8ab0a89","created":"2026-11-08"},{"name":"Known_Cve | Nov 8, 2026 | Part 2/3","url":"https://otx.alienvault.com/pulse/6aef3b08215ae92464b191d3","created":"2026-11-07"},{"name":"Known_Cve | Nov 7, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6aede8fd73ec58c18b4cb4bd","created":"2026-11-06"},{"name":"Known_Cve | Nov 6, 2026 | Part 2/2","url":"https://otx.alienvault.com/pulse/6aec9814761aea31240fbf8c","created":"2026-11-05"}],"provenance":"machine"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"references":[{"url":"https://github.com/rails/rails/releases/tag/v8.0.5.2","tags":[]},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","tags":[]},{"url":"https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9","tags":[]},{"url":"https://github.com/alan-turing-institute/cyber-threat-observatory/blob/main/reports/2026-11-04/TIER_2_CVE-2026-122006.md","tags":[]},{"url":"https://github.com/digitalocean/droplet-1-clicks/pull/488","tags":[]},{"url":"https://github.com/rubysec/ruby-advisory-db/pull/1300","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"RubyGems","package":"activestorage","vulnerableRanges":[">=8.1.0.beta1, <8.1.4.1","<8.0.5.2"],"patched":["8.1.4.1","8.0.5.2"],"from":["GHSA-f3w6-w445-fwh9"],"provenance":"source"}],"advisories":[{"id":"GHSA-f3w6-w445-fwh9","url":"https://github.com/advisories/GHSA-f3w6-w445-fwh9","severity":"CRITICAL","ecosystem":"RubyGems","package":"activestorage","vulnerableRanges":[">=8.1.0.beta1, <8.1.4.1"],"patched":["8.1.4.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-f3w6-w445-fwh9","url":"https://github.com/advisories/GHSA-f3w6-w445-fwh9","severity":"CRITICAL","ecosystem":"RubyGems","package":"activestorage","vulnerableRanges":["<8.0.5.2"],"patched":["8.0.5.2"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2026-116914","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-116914","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-11-04","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122006","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":20.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":11.05,"detail":"percentile 0.5523"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":2.17,"detail":"8 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-rails-activestorage-cve-2022-21831","parents":[{"from":"CVE-2022-21831","to":"CVE-2026-122006","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["activestorage/lib/active_storage/engine.rb"],"commits":["https://github.com/rails/rails/commit/0a72f7d670e9aa77a0bb8584cb1411ddabb7546e","https://github.com/rails/rails/commit/468aa9a93fc98f5476b6821770f4ccfcb7f7d328","https://github.com/rails/rails/commit/ea8c40121ce53a3d0255cd4eb6d13bfe3bc01776"],"basis":"shared function","functions":["Engine"]}]}]}}