Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.9

CVE-2026-134694: Gammapy 2.1 can run malicious code from crafted FITS file

CVE-2026-134694 · published today
Summary

Versions of Gammapy up to 2.1 may execute code hidden in a special header of a .fits data file when the file is opened. An attacker who supplies such a file could cause the program to run commands with the same privileges as the user running Gammapy. Upgrade to a newer Gammapy release or only open files from trusted sources to eliminate the risk.

Original advisory text
Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card
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().
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit (estimated)
  • Gives an attacker full control (estimated)
Severity
8.9 High
Type
CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Timeline
Published22 Nov 2026
Updated22 Nov 2026
First seen22 Nov 2026
Sources
Track software like this
Free during beta