CVE-2026-134694 Gammapy through 2.1 Code Injection via WCSSHAPE FITS Header Card

Published Updated

A crafted .fits file loaded with Gammapy executes attacker Python code as the user; users loading untrusted maps should care.

CVSS score

High

8.5/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
Proof of concept
1 on GitHub, unverified
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-134694?

CVE-2026-134694 is a high-severity code injection vulnerability in gammapy, published on 22 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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

Weakness: CWE-95

How severe is CVE-2026-134694?

CVE-2026-134694 scores 8.5 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
High

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134694?

1 open source package ship an affected version, including gammapy.

An affected version is only exploitable if your software calls WcsGeom.from_header() or Map.read(). Many projects that include it are not exposed.

PackageAffectedFixed in
gammapy PyPI
pkg:pypi/gammapy
All versions to 2.1None

How do I fix CVE-2026-134694?

No fix has been published for CVE-2026-134694 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-134694 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134694 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-23p6-62vq-f652, UBUNTU-CVE-2026-134694.

Is CVE-2026-134694 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free