{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-122006 in the wild and no public exploit code.","exposure":"","fix":"Upgrade to a fixed version.","what":"CVE-2026-122006 is a critical vulnerability in rubyonrails Active Storage, published on 4 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-122006 and fix it if it is affected.\n\nWhat it is: CVE-2026-122006 is a critical vulnerability in rubyonrails Active Storage, published on 4 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-122006 in the wild and no public exploit code.\n\nAffected product: rubyonrails Active Storage. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-122006/ (Markdown: https://insights.sbomify.com/CVE-2026-122006/index.md)","id":"CVE-2026-122006","markdown":"https://insights.sbomify.com/CVE-2026-122006/index.md","name":"CVE-2026-122006","record":{"aliases":["DEBIAN-CVE-2026-122006","UBUNTU-CVE-2026-122006"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-1188","name":"Initialization of a Resource with an Insecure Default"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-11-05","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-05T07:46:46Z","kind":"github_poc","ref":"https://github.com/charlie-goldenowl/cve-2026-122006-check","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"The activestorage gem before 8.1.4.1 for Ruby on Rails, when ImageMagick attachment processing occurs, can allow server read and write opera","id":"CVE-2026-122006","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Oqtane Framework before 10.3.0 Broken Access Control via SettingController","id":"CVE-2026-122007"},"nickname":null,"packages":[],"prev":{"headline":"Abilities Bridge \u003c 1.4.2 - Administrator Account Creation via CSRF","id":"CVE-2026-122003"},"products":["Active Storage"],"published":"2026-11-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-11-09","vendors":["rubyonrails"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-122006/"}