CVE-2026-134694 Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
HighCVSS 8.5
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- Ubuntu
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().
Upgrade path
3 packages: 1 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/gammapy(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/gammapy(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| pypi gammapy | <= 2.1 | after 2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi gammapy | <= 2.1 | No fix listed |
| ubuntu/gammapy(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/gammapy(Ubuntu:26.10) | All versions | No fix listed |
References
- github.com exploit issue-tracking
- github.com patch
- github.com technical-description
- VulnCheck Advisory: Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card third-party-advisory
- ENISA EUVD EUVD-2026-132589 third-party-advisory
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- www.cve.org