Find a vulnerability
Search criteria
ⓘ
Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.
9 vulnerabilities found for github.com/cli/cli/v2 by go
GO-2026-6766 (CVE-2026-64652)
Vulnerability from osv_go – Published: 2026-10-19 21:08 – Updated: 2026-10-19 21:08 – Source websiteGitHub CLI partially discloses authentication tokens in gh auth status output in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.97.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.97.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2026-64652",
"GHSA-cg6r-mpgc-h9mm"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-6766"
},
"details": "GitHub CLI partially discloses authentication tokens in `gh auth status` output in github.com/cli/cli",
"id": "GO-2026-6766",
"modified": "2026-10-19T21:08:35Z",
"published": "2026-10-19T21:08:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64652"
},
{
"type": "FIX",
"url": "https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3"
},
{
"type": "WEB",
"url": "https://github.com/cli/cli/releases/tag/v2.97.0"
}
],
"schema_version": "1.3.1",
"summary": "GitHub CLI partially discloses authentication tokens in `gh auth status` output in github.com/cli/cli"
}
GO-2026-6767 (CVE-2026-64655)
Vulnerability from osv_go – Published: 2026-10-19 21:08 – Updated: 2026-10-19 21:08 – Source websiteGitHub CLI allows attestation verification bypass through unescaped regex metacharacters in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.97.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.97.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2026-64655",
"GHSA-mm27-mwq9-fr5g"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-6767"
},
"details": "GitHub CLI allows attestation verification bypass through unescaped regex metacharacters in github.com/cli/cli",
"id": "GO-2026-6767",
"modified": "2026-10-19T21:08:35Z",
"published": "2026-10-19T21:08:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-mm27-mwq9-fr5g"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64655"
},
{
"type": "FIX",
"url": "https://github.com/cli/cli/commit/55dbb4dc6b7edb10b48e3d7fc5bccd32318d1b55"
},
{
"type": "WEB",
"url": "https://github.com/cli/cli/releases/tag/v2.97.0"
}
],
"schema_version": "1.3.1",
"summary": "GitHub CLI allows attestation verification bypass through unescaped regex metacharacters in github.com/cli/cli"
}
GO-2026-6765 (CVE-2026-64653)
Vulnerability from osv_go – Published: 2026-10-19 21:08 – Updated: 2026-10-19 21:08 – Source websiteGitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.97.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.97.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2026-64653",
"GHSA-4fjg-2h4q-fwg3"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-6765"
},
"details": "GitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli",
"id": "GO-2026-6765",
"modified": "2026-10-19T21:08:35Z",
"published": "2026-10-19T21:08:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-64653"
},
{
"type": "FIX",
"url": "https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06"
},
{
"type": "WEB",
"url": "https://github.com/cli/cli/releases/tag/v2.97.0"
}
],
"schema_version": "1.3.1",
"summary": "GitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli"
}
GO-2026-5335 (CVE-2026-45803)
Vulnerability from osv_go – Published: 2026-06-25 18:43 – Updated: 2026-06-25 18:43 – Source websiteGitHub CLI: GitHub Actions log output in gh run view allows terminal escape sequence injection in github.com/cli/cli
| URL | Type |
|---|---|
| https://github.com/cli/cli/security/advisories/GH… | ADVISORY |
| https://nvd.nist.gov/vuln/detail/CVE-2026-45803 | ADVISORY |
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: ≥ 1.6.0 (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.92.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "1.6.0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.92.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2026-45803",
"GHSA-crc3-h8v6-qh57"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-5335"
},
"details": "GitHub CLI: GitHub Actions log output in `gh run view` allows terminal escape sequence injection in github.com/cli/cli",
"id": "GO-2026-5335",
"modified": "2026-06-25T18:43:19Z",
"published": "2026-06-25T18:43:19Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-45803"
}
],
"schema_version": "1.3.1",
"summary": "GitHub CLI: GitHub Actions log output in `gh run view` allows terminal escape sequence injection in github.com/cli/cli"
}
GO-2026-5271 (CVE-2026-48501)
Vulnerability from osv_go – Published: 2026-06-25 18:43 – Updated: 2026-06-25 18:43 – Source websiteGitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via gh attestation, gh release verify, and gh release verify-asset commands in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.93.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.93.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2026-48501",
"GHSA-8xvp-7hj6-mcj9"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2026-5271"
},
"details": "GitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via `gh attestation`, `gh release verify`, and `gh release verify-asset` commands in github.com/cli/cli",
"id": "GO-2026-5271",
"modified": "2026-06-25T18:43:15Z",
"published": "2026-06-25T18:43:15Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-8xvp-7hj6-mcj9"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48501"
},
{
"type": "WEB",
"url": "https://github.com/cli/cli/releases/tag/v2.93.0"
}
],
"schema_version": "1.3.1",
"summary": "GitHub CLI has an incorrect authorization header in API requests to TUF repository mirrors via `gh attestation`, `gh release verify`, and `gh release verify-asset` commands in github.com/cli/cli"
}
GO-2025-3467 (CVE-2025-25204)
Vulnerability from osv_go – Published: 2025-03-03 19:22 – Updated: 2025-03-03 19:22 – Source websitegh attestation verify returns incorrect exit code during verification if no attestations are present in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: ≥ 2.49.0, < 2.67.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "2.49.0"
},
{
"fixed": "2.67.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2025-25204",
"GHSA-fgw4-v983-mgp8"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2025-3467"
},
"details": "`gh attestation verify` returns incorrect exit code during verification if no attestations are present in github.com/cli/cli",
"id": "GO-2025-3467",
"modified": "2025-03-03T19:22:09Z",
"published": "2025-03-03T19:22:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-fgw4-v983-mgp8"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-25204"
},
{
"type": "FIX",
"url": "https://github.com/cli/cli/pull/10421"
},
{
"type": "REPORT",
"url": "https://github.com/cli/cli/issues/10418"
}
],
"schema_version": "1.3.1",
"summary": "`gh attestation verify` returns incorrect exit code during verification if no attestations are present in github.com/cli/cli"
}
GO-2024-3310 (CVE-2024-54132)
Vulnerability from osv_go – Published: 2024-12-04 16:25 – Updated: 2024-12-04 16:25 – Source websiteDownloading malicious GitHub Actions workflow artifact results in path traversal vulnerability in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.63.1 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.63.1"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2024-54132",
"GHSA-2m9h-r57g-45pj"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2024-3310"
},
"details": "Downloading malicious GitHub Actions workflow artifact results in path traversal vulnerability in github.com/cli/cli",
"id": "GO-2024-3310",
"modified": "2024-12-04T16:25:24Z",
"published": "2024-12-04T16:25:24Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj"
},
{
"type": "FIX",
"url": "https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932"
}
],
"schema_version": "1.3.1",
"summary": "Downloading malicious GitHub Actions workflow artifact results in path traversal vulnerability in github.com/cli/cli"
}
GO-2024-3296 (CVE-2024-53858)
Vulnerability from osv_go – Published: 2024-12-02 20:06 – Updated: 2024-12-02 20:06 – Source websiteRecursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in github.com/cli/cli
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.63.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.63.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2024-53858",
"GHSA-jwcm-9g39-pmcw"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2024-3296"
},
"details": "Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in github.com/cli/cli",
"id": "GO-2024-3296",
"modified": "2024-12-02T20:06:38Z",
"published": "2024-12-02T20:06:38Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-jwcm-9g39-pmcw"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-53858"
},
{
"type": "WEB",
"url": "https://git-scm.com/docs/gitcredentials"
}
],
"schema_version": "1.3.1",
"summary": "Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in github.com/cli/cli"
}
GO-2024-3269 (CVE-2024-52308)
Vulnerability from osv_go – Published: 2024-11-19 17:20 – Updated: 2024-11-19 17:20 – Source websiteConnecting to a malicious Codespaces via GH CLI could allow command execution on the user's computer in github.com/cli/cli
| URL | Type |
|---|---|
| https://github.com/cli/cli/security/advisories/GH… | ADVISORY |
| https://nvd.nist.gov/vuln/detail/CVE-2024-52308 | ADVISORY |
| Ecosystem | Package | Version |
|---|---|---|
| Go | github.com/cli/cli |
Affected: All versions (semver)
|
| Go | github.com/cli/cli/v2 |
Affected: < 2.62.0 (semver)
|
{
"affected": [
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
]
},
{
"ecosystem_specific": {},
"package": {
"ecosystem": "Go",
"name": "github.com/cli/cli/v2"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.62.0"
}
],
"type": "SEMVER"
}
]
}
],
"aliases": [
"CVE-2024-52308",
"GHSA-p2h2-3vg9-4p87"
],
"database_specific": {
"review_status": "UNREVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2024-3269"
},
"details": "Connecting to a malicious Codespaces via GH CLI could allow command execution on the user\u0027s computer in github.com/cli/cli",
"id": "GO-2024-3269",
"modified": "2024-11-19T17:20:31Z",
"published": "2024-11-19T17:20:31Z",
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/cli/cli/security/advisories/GHSA-p2h2-3vg9-4p87"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-52308"
}
],
"schema_version": "1.3.1",
"summary": "Connecting to a malicious Codespaces via GH CLI could allow command execution on the user\u0027s computer in github.com/cli/cli"
}