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

Tue, 24 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Gammapy
Gammapy gammapy
Vendors & Products Gammapy
Gammapy gammapy

Mon, 23 Nov 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 22 Nov 2026 02:15:00 +0000

Type Values Removed Values Added
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().
Title Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
Weaknesses CWE-95
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-11-22T02:02:11.652Z

Updated: 2026-11-23T20:23:30.535Z

Reserved: 2026-11-22T00:19:59.906Z

Link: CVE-2026-134694

cve-icon Vulnrichment

Updated: 2026-11-23T20:22:56.419Z

cve-icon NVD

Status : Received

Published: 2026-11-22T02:17:07.790

Modified: 2026-11-23T21:17:00.940

Link: CVE-2026-134694

cve-icon Redhat

No data.