---
title: "CVE-2026-134694: Gammapy - Command Injection"
description: "Gammapy <= 2.1 contains a code injection vulnerability caused by passing the WCSSHAPE FITS header card to eval() in WcsGeom.from_header(), letting attackers execute arbitrary code via crafted .fits files, exploit requires loading malicious files."
url: https://panop.io/threat-heartbeat/CVE-2026-134694/
---

# CVE-2026-134694 Gammapy - Command Injection

Gammapy <= 2.1 contains a code injection vulnerability caused by passing the WCSSHAPE FITS header card to eval() in WcsGeom.from\_header(), letting attackers execute arbitrary code via crafted .fits files, exploit requires loading malicious files.

CVSS base score 7.8 /10

High

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Not required

EPSS

0.28% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-134694)

## Details

Type

Command Injection

Impact

Remote Code Execution

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

22 November 2026

Updated

23 November 2026

Weakness

[CWE-95](https://cwe.mitre.org/data/definitions/95.html)

## Vendor fix

Update to the latest version beyond 2.1 that fixes this vulnerability.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-134694](https://nvd.nist.gov/vuln/detail/CVE-2026-134694)
- [https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py](https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py)
- [https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca](https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca)
- [https://github.com/gammapy/gammapy/issues/7086](https://github.com/gammapy/gammapy/issues/7086)
- [https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card](https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
