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().
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Sun, 22 Nov 2026 02:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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(). | |
| Title | Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card | |
| Weaknesses | CWE-95 | |
| References |
|
|
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-11-22T02:02:11.652Z
Reserved: 2026-11-22T00:19:59.906Z
Link: CVE-2026-134694
No data.
Status : Received
Published: 2026-11-22T02:17:07.790
Modified: 2026-11-22T02:17:07.790
Link: CVE-2026-134694
No data.
OpenCVE Enrichment
No data.
Weaknesses