home / blog

2026-11-23 · high

CVE-2026-134694: RCE Vulnerability in Gammapy

CVE-2026-134694: RCE vulnerability in Gammapy via FITS header evaluation.

CVE-2026-134694: RCE Vulnerability in Gammapy

CVE-2026-134694 reveals a critical vulnerability in the Gammapy library up to version 2.1. The flaw enables remote code execution (RCE) when a user loads a manipulated FITS file containing a Python expression in the WCSSHAPE header, exploiting the WcsGeom.from_header() function.

The vulnerability is classified as severe (CVSS 7.8) and is already being discussed in the GitHub community where public exploits have been reported. The risk is particularly high for environments processing unverified FITS files, such as in astronomical or scientific research contexts.

For defense, it is crucial to apply the patch as soon as available, implement strict validation of incoming FITS files, and limit privileges of accounts using Gammapy. Consider using sandboxes or isolated environments for processing suspicious files.

At a glance

What
Code injection vulnerability in WcsGeom.from_header() that passes WCSSHAPE FITS header to eval()
Severity
High (CVSS 7.8)
Affected versions
Gammapy through 2.1
Fix
not reported
Status
Officially published on 11/22/2026
Action
Apply patch as soon as available, validate suspicious FITS files

Sources: NVD, CVE-2026-134694

← All articles