Skip to content
CVE Alert: CVE-2026-134694 – gammapy

CVE Alert: CVE-2026-134694 – gammapy

Redpacketsecurity •admin • November 22, 2026

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

**Risk verdict:** High risk for teams that process untrusted scientific data; urgency cannot be fully ranked because exploitation and probability indicators were not provided.

**Why this matters:** A malicious input file can turn routine data analysis into code execution under the analyst’s account. An attacker could target research data, credentials and other files accessible to that account, or disrupt analysis; the impact is limited by the user’s permissions and environment.

**Most likely attack path:** An attacker supplies a crafted FITS file and relies on an analyst or automated workflow to load it. The path is local, low-complexity and requires no existing privileges, but does require user interaction; exploitation runs in the affected process’s security context, with no indicated scope change or inherent lateral movement.

**Who is most exposed:** Research groups and organisations using Python-based astronomy or scientific data-analysis workflows are most exposed, particularly those processing files from collaborators, public archives or shared pipelines.

Review FITS headers for unexpected or non-numeric content in `WCSSHAPE`.

Alert on analysis processes spawning shells or unusual child processes.

Check for unexpected file access, network connections or modifications during data loading.

Identify workflows that load externally sourced FITS files.

Mitigation and prioritisation:

No KEV, SSVC exploitation state, PoC indicator or EPSS score was supplied; confirm these before setting urgency.

Apply the upstream fix or a corrected release after testing in representative analysis workflows.

Until patched, avoid loading untrusted files; inspect or sanitise headers first.

Run data processing with least privilege, isolated from sensitive files and restricted from unnecessary network access.

Stage changes through testing to protect reproducibility and pipeline compatibility.

A considerable amount of time and effort goes into maintaining this website, creating backend automation and creating new features and content for you to make actionable intelligence decisions. Everyone that supports the site helps enable new functionality.

If you like the site, please support us on Patreon or Buy Me A Coffee using the buttons below.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Extracted Entities

Attack Types (1)

CWE Weaknesses (1)