PyPI
CVE-2026-134694
Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
- Severity
- High 8.5
- Published
- 22 Nov 2026
- Last changed
- 23 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Exploit chance
- 0.4% in the next 30 daysHigher than 32% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Eval injection (CWE-95)
- Attack
- Needs local access · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
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().
Affected software
| Software | Affected versions |
|---|---|
gammapyPyPI · osv:PyPI:gammapy |
|
About gammapy
- Weekly downloads (PyPI)
- 3,291PyPI Stats, 23 Nov 2026
This is the only vulnerability in gammapy in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134694