CVE-2026-134694: Gammapy through 2.1 contains a code injection vulnerability in WcsGeom.from_header() that passes the
Affects gammapySource GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 25 Nov 2026, 22:54 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 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10gammapypkg:deb/ubuntu/gammapy?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgammapypkg:deb/ubuntu/gammapy?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSgammapypkg:deb/ubuntu/gammapy?arch=source&distro=focalOther 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
Until a fix is available, users should avoid loading untrusted or unauthenticated .fits files with Gammapy to prevent exploitation.
Description
Gammapy versions through 2.1 have a code injection vulnerability in the WcsGeom.from_header() function. This vulnerability arises because the WCSSHAPE FITS header card is passed directly to Python's eval() function. An attacker can craft a malicious .fits file containing a Python expression in the WCSSHAPE header, which executes arbitrary code with the privileges of the user loading the file via Map.read().
References
- ubuntu.com/security/CVE-2026-134694 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-134694 (opens in a new tab)
- github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py (opens in a new tab)
- github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca (opens in a new tab)
- github.com/gammapy/gammapy/issues/7086 (opens in a new tab)
- vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card (opens in a new tab)