{"api_version":"1","generated_at":"2026-11-04T22:14:01+00:00","cve":"CVE-2026-122006","urls":{"html":"https://cve.report/CVE-2026-122006","api":"https://cve.report/api/cve/CVE-2026-122006.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-122006","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-122006"},"summary":{"title":"CVE-2026-122006","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2026-11-04 15:17:42","updated_at":"2026-11-04 21:18:07"},"problem_types":["CWE-1188","CWE-1188 CWE-1188 Initialization of a Resource with an Insecure Default"],"metrics":[{"version":"3.1","source":"cve@mitre.org","type":"Secondary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/rails/rails/releases/tag/v8.0.5.2","name":"https://github.com/rails/rails/releases/tag/v8.0.5.2","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/digitalocean/droplet-1-clicks/pull/488","name":"https://github.com/digitalocean/droplet-1-clicks/pull/488","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9","name":"https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1","name":"https://github.com/rails/rails/releases/tag/v8.1.4.1","refsource":"cve@mitre.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rubysec/ruby-advisory-db/pull/1300","name":"https://github.com/rubysec/ruby-advisory-db/pull/1300","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-122006","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122006","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"rubyonrails","product":"Active Storage","version":"affected 8.0.5.2 custom","platforms":[]},{"source":"CNA","vendor":"rubyonrails","product":"Active Storage","version":"affected 8.1 8.1.4.1 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-11-04T21:08:39.235Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"https://github.com/digitalocean/droplet-1-clicks/pull/488"},{"url":"https://github.com/rubysec/ruby-advisory-db/pull/1300"}],"title":"CVE Program Container","x_generator":{"engine":"ADPogram 0.0.1"}}],"cna":{"affected":[{"defaultStatus":"unaffected","packageURL":"pkg:gem/activestorage","product":"Active Storage","vendor":"rubyonrails","versions":[{"lessThan":"8.0.5.2","status":"affected","version":"0","versionType":"custom"},{"lessThan":"8.1.4.1","status":"affected","version":"8.1","versionType":"custom"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:*:*:*","versionEndExcluding":"8.0.5.2","vulnerable":true},{"criteria":"cpe:2.3:a:rubyonrails:active_storage:*:*:*:*:*:*:*:*","versionEndExcluding":"8.1.4.1","versionStartIncluding":"8.1","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1188","description":"CWE-1188 Initialization of a Resource with an Insecure Default","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-04T14:12:17.584Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-f3w6-w445-fwh9"},{"url":"https://github.com/rails/rails/releases/tag/v8.1.4.1"},{"url":"https://github.com/rails/rails/releases/tag/v8.0.5.2"}],"x_generator":{"engine":"CVE-Request-form 0.0.1"}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2026-122006","datePublished":"2026-11-04T14:12:17.584Z","dateReserved":"2026-11-04T14:12:17.191Z","dateUpdated":"2026-11-04T21:08:39.235Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-04 15:17:42","lastModifiedDate":"2026-11-04 21:18:07","problem_types":["CWE-1188","CWE-1188 CWE-1188 Initialization of a Resource with an Insecure Default"],"metrics":{"cvssMetricV31":[{"source":"cve@mitre.org","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"122006","Ordinal":"1","Title":"CVE-2026-122006","CVE":"CVE-2026-122006","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"122006","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2026-122006"}]}}}