RCE in Gammapy
CVE-2026-134694
- CVSS v3
- 7.8 High
- Public exploits
- 2 repositories
- EPSS
- 0.004 · 33.2th percentile
- Published
- 2026-11-22
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.004, 33.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- cveForge/CVE-2026-134694 (last pushed 2026-11-23): Gammapy FITS WCSSHAPE Header eval() Remote Code Execution
- LLCForge/CVE-2026-134694 (last pushed 2026-11-22): Gammapy FITS WCSSHAPE Header eval() Remote Code Execution
References
- github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py (technical-description)
- github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca (patch)
- github.com/gammapy/gammapy/issues/7086 (issue-tracking)
- www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fi… (third-party-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.