Code injection in Gammapy via WCSSHAPE FITS header card
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-95.
Summary
Gammapy through 2.1 contains a code injection flaw in WcsGeom.from_header(), which passes the WCSSHAPE FITS header card to eval(). This is an improper neutralization of directives in dynamically evaluated code (CWE-95). An attacker with no privileges can supply a crafted .fits file with a Python expression in WCSSHAPE, and the code runs as the user who loads the file with Map.read(), so a user must open it.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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().
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for gammapy.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Timeline
- 2026-11-22 Threatist record created from CVE-2026-134694
- 2026-11-22 Alias added: GHSA-23p6-62vq-f652
- 2026-11-23 CISA SSVC decision points changed
References
Sources
- CVE-2026-134694 · CVE Program
- CVE-2026-134694 · NVD
- FIRST EPSS
- GHSA-23p6-62vq-f652 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences