Code Injection Vulnerability in Gammapy Affecting Users Loading FITS Files
CVE-2026-134694
8.5HIGH
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
