hoch8.5
CVE-2026-134694
Gammapy through 2.1 contains a code injection vulnerability in WcsGeom.from_header() that passes the WCSSHAPE FITS header card to eval().
Auswirkung
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().
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer beteiligt sein, etwa indem er Inhalte ansieht. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Produkte (Gammapy)
| Produkt | Betroffene Versionen |
|---|---|
| Gammapy | bis einschließlich 2.1 Version 0 ≤2.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/gammapy/gammapy/issues/7086
- https://github.com/gammapy/gammapy/commit/1be273b648e814c0605d8f3610d056c9c62130ca
- https://github.com/gammapy/gammapy/blob/v2.1/gammapy/maps/wcs/geom.py
- https://www.vulncheck.com/advisories/gammapy-through-2.1-code-injection-via-wcsshape-fits-header-card
- https://github.com/advisories/GHSA-23p6-62vq-f652
- https://nvd.nist.gov/vuln/detail/CVE-2026-134694