Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134694: high-severity vulnerability (CVSS 8.5) in gammapy gammapy.
What happened
Original description from the source: 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().
Why it matters
High severity, CVSS 8.5.
Affected products and versions
gammapy gammapy <= 2.1
| Product | Versions | Fixed in |
|---|---|---|
| gammapy gammapy | <= 2.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/gammapy/gammapy/issues/7086 — CVE Program
- https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca — CVE Program
- https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py — CVE Program
- https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card — CVE Program
Weaknesses (CWE): CWE-95
Relevant change history
Published
Preliminary advisory published.