๐Ÿ” CVE Alert

CVE-2026-134694

HIGH 7.8

Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card

CVSS Score
7.8
EPSS Score
0.4%
EPSS Percentile
33th

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().

CWE CWE-95
Vendor gammapy
Product gammapy
Published Nov 22, 2026
Last Updated Nov 23, 2026
Stay Ahead of the Next One

Get instant alerts for gammapy gammapy

Be the first to know when new high vulnerabilities affecting gammapy gammapy are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

gammapy / gammapy
0 โ‰ค 2.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gammapy/gammapy/issues/7086 github.com: https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca github.com: https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py vulncheck.com: https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card

Credits

Dilanka Kaushal Hewage (r3vpwnx)