---
cve: "CVE-2025-25204"
severity: "MEDIUM"
cvss: 6.3
epss: "0.4%"
vendor: "cli"
kev: false
exploited: false
published: "2025-02-14 17:15:19"
tags: [cve, security, medium]
source: tsecurity.de CVE-Dossier
exported: "2026-09-23T07:49:50+02:00"
---

# CVE-2025-25204

> 6.3 MEDIUM · 🧪 PoC

## Beschreibung

`gh` is GitHub’s official command line tool. Starting in version 2.49.0 and prior to version 2.67.0, under certain conditions, a bug in GitHub's Artifact Attestation cli tool `gh attestation verify` causes it to return a zero exit status when no attestations are present. This behavior is incorrect: When no attestations are present, `gh attestation verify` should return a non-zero exit status code, thereby signaling verification failure. An attacker can abuse this flaw to, for example, deploy malicious artifacts in any system that uses `gh attestation verify`'s exit codes to gatekeep deployments. Users are advised to update `gh` to patched version `v2.67.0` as soon as possible.

## CVSS-Vektor

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

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Hoch | good |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Keine | good |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 6899fe21dd80873893dd1a3bf3bdd4d33b1b2338 (Commit)

## Referenzen

- <https://github.com/cli/cli/security/advisories/GHSA-fgw4-v983-mgp8>
- <https://github.com/cli/cli/issues/10418>
- <https://github.com/cli/cli/pull/10421>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-25204) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
