cve.bz

CVE-2025-25204 cli cli

6.3 mediumEPSS 0.4%Fix available

Medium (6.3) in cli cli. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cli/cli/v2 2.67.0.

On this page
`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.

Severity

CVSS 3.1

6.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 37th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-02-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-390 Detection of Error Condition Without Action
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-25204 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-25204?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-25204?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-25204 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cli>= 2.49.0, < 2.67.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fgw4-v983-mgp8Gogithub.com/cli/cli/v2>=2.49.0 <2.67.02.67.0
GO-2025-3467Gogithub.com/cli/cliall versionsno fix published
GO-2025-3467Gogithub.com/cli/cli/v2>=2.49.0 <2.67.02.67.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedgovulncheck-vulndb0.0.20250312T181707-1.1openSUSE-SU-2025:14889-1
Azure Linux3gh2.62.0-6AZL-56885

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

References

Check your stackJSON