CVE-2026-134694
Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
High · 8.5
- CVSS
- 8.5
- EPSS
- 0.23% (p8)
- Published
- 2026-11-22
- Age
- 7d old
- Modified
- 2026-11-23
- Product
- gammapy gammapy
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
Description
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().
Sources
- NVD · first seen 7d ago · NVD terms of use
- OSV · first seen 7d ago · CC-BY 4.0
- CVE List · first seen 7d ago · CVE Terms of Use
References
- https://github.com/gammapy/gammapy/issues/7086 issue-tracking
- https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca patch
- https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py technical-description
- https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134694.json advisory
- https://github.com/gammapy/gammapy package
- https://nvd.nist.gov/vuln/detail/CVE-2026-134694 advisory