Skip to content
DayZeroHub
High Not yet writtenCVSS 8.5CVE-2026-134694

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

gammapy gammapy

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134694: high-severity vulnerability (CVSS 8.5) in gammapy gammapy.

What happened

Original description from the source: 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().

Why it matters

High severity, CVSS 8.5.

Affected products and versions

gammapy gammapy <= 2.1

ProductVersionsFixed in
gammapy gammapy<= 2.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-95

Relevant change history

  1. Published

    Preliminary advisory published.