Skip to content

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

HighCVSS 8.5 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Ubuntu

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

Upgrade path

3 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/gammapy(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/gammapy(Ubuntu 26.10) All versions No fix listed No fix yet
pypi gammapy <= 2.1 after 2.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi gammapy <= 2.1 No fix listed
ubuntu/gammapy(Ubuntu:26.04) All versions No fix listed
ubuntu/gammapy(Ubuntu:26.10) All versions No fix listed

References