CVE-2026-134694: Gammapy through 2.1 contains a code injection vulnerability in WcsGeom.from_header() that passes the
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 22 Nov 2026, 04:25 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gammapygammapy | Affected
| Fixed in– |
PyPIgammapypkg:pypi/gammapyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Users should avoid loading untrusted or unauthenticated .fits files with Gammapy versions through 2.1. Monitor vendor advisories for updates and apply official patches once released.
Description
Gammapy versions through 2.1 have a code injection vulnerability in the WcsGeom.from_header() function. This vulnerability arises because the function passes the WCSSHAPE FITS header card to Python's eval(), allowing an attacker to supply a crafted .fits file containing a malicious Python expression. When such a file is loaded via Map.read(), the attacker's code executes with the privileges of the user running the process.
References
- nvd.nist.gov/vuln/detail/CVE-2026-134694 (opens in a new tab)
- github.com/gammapy/gammapy/issues/7086 (opens in a new tab)
- github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca (opens in a new tab)
- github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py (opens in a new tab)
- vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card (opens in a new tab)