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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-134694

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-134694

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses