p PatchFirst

CVE-2026-134694

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

CVSS 8.5 · High · EPSS 0.2% · Public exploit

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="gammapy"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

Published
Updated

Stack: system

Affected products and versions

  • gammapy

    Versions
    • ≥ 0, ≤ 2.1: Affected (custom)

    No fix published

  • gammapy Ubuntu 20.04 LTS

    Versions
    • 0.13-1
    • 0.15-1
    • 0.16-1
    • 0.16-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gammapy Ubuntu 26.10

    Versions
    • 2.0.1-1build1
    • 2.1-1
    • 2.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gammapy Ubuntu 26.04 LTS

    Versions
    • 1.3-2
    • 2.0-3
    • 2.0-5
    • 2.0-6
    • 2.0.1-1
    • 2.0.1-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →