{"id":"CVE-2026-134694","summary":"Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card","details":"Gammapy through 2.1 contains a code injection vulnerability in WcsGeom.from_header() that passes the WCSSHAPE FITS header card to eval(). Attackers can supply a crafted .fits file with a Python expression in WCSSHAPE, executing code as the user who loads it via Map.read().","modified":"2026-11-22T04:00:26.360385549Z","published":"2026-11-22T02:02:11.652Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134694.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134694.json"},{"type":"PACKAGE","url":"https://github.com/gammapy/gammapy"},{"type":"ARTICLE","url":"https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py"},{"type":"FIX","url":"https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca"},{"type":"REPORT","url":"https://github.com/gammapy/gammapy/issues/7086"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134694"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gammapy/gammapy","events":[{"introduced":"0"},{"last_affected":"03f65e08ac04741ff5f1f7b1aeed20dddeac2023"},{"fixed":"1be273b648e814c0605d8f3610d056c9c62130ca"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.1"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"1be273b648e814c0605d8f3610d056c9c62130ca"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.1","v2.1rc1","v2.0.dev","v1.3.dev","v1.2.dev","v1.1.dev","v0.20.1","v0.20","v0.19","v0.18.2","v0.18.1","v0.18","v0.17","v0.16","v0.15","v0.14","v0.13","v0.12","v0.11","v0.10","v0.9","v0.8","v0.7","v0.6","v0.5","v0.4","v0.3","v0.2","v0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134694.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}