Code Injection Vulnerability in Gammapy Affecting Users Loading FITS Files
CVE-2026-134694

8.5HIGH

Key Information:

Vendor

Gammapy

Status
Vendor
CVE Published:
22 November 2026

What is CVE-2026-134694?

Gammapy versions up to 2.1 contains a vulnerability that allows attackers to exploit the WcsGeom.from_header() function. By injecting malicious code into the WCSSHAPE FITS header card, an attacker can create a specially crafted .fits file that executes arbitrary Python code when processed by the Map.read() function. This escalation of user privileges can result in unauthorized actions executed within the user's environment, making it critical for users to ensure they are utilizing a patched version of the software.

Affected Version(s)

gammapy 0 <= 2.1

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dilanka Kaushal Hewage (r3vpwnx)
.