CVE-2026-134694
published high CVSS 4.0 · 8.5Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gammapy | — | gammapy0 through 2.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gammapy | gammapy | 0 through 2.1 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
4- https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py
- https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca
- https://github.com/gammapy/gammapy/issues/7086
- VulnCheck Advisory: Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card
Provider assertions
2VulnCheck · cna
Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71cc2ef3941bd2a894ed1ccf0bc5b19e48c46d7cf41dc1e5921467c58ac4be74
- Ingested
- 23 Nov 2026, 20:27:27 UTC
- Source record
- Official CVE record