# CVE-2026-134694: Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-22T02:02:11.652Z
- Modified: 2026-11-23T21:17:00.940Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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().

(As written by CVE List.)

## Affected

- gammapy gammapy: up to 2.1

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/gammapy/gammapy/issues/7086> (exploit, issue-tracking)
- <https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca> (patch)
- <https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py> (technical-description)
- <https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134694](https://www.cve.org/CVERecord?id=CVE-2026-134694), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134694](https://nvd.nist.gov/vuln/detail/CVE-2026-134694), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134694 · Whole record: https://cve.day/CVE-2026-134694.json · Rebuilt by cve.day 2026-11-25T22:59:52.585Z
