CVE-2026-48501
Description
A flaw was found in GitHub CLI. The tool incorrectly includes authorization headers in API requests to TUF repository mirrors when using commands such as gh attestation, gh release verify, and gh release verify-asset. This issue occurs because the shared HTTP client's authentication layer lacks accurate host detection, causing it to send a user's GitHub token to external hosts that should not receive it. This can lead to the unauthorized disclosure of sensitive information.
Statement
A Moderate information disclosure flaw in GitHub CLI affects Red Hat products that use the tool, including OpenShift GitOps and OpenStack Platform. When commands like gh attestation or gh release verify are executed, the CLI incorrectly sends authentication tokens to external, untrusted hosts. This can lead to the unauthorized exposure of sensitive user credentials. This is rated as Moderate (CVSS 6.8) because the host normalization flaw is triggered only through specific gh CLI commands (gh attestation, gh release verify).
Mitigation
To mitigate this issue, avoid using the `gh attestation`, `gh release verify`, and `gh release verify-asset` commands with the GitHub CLI in environments where sensitive GitHub authentication tokens are configured. Recommended to update to patched version.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 6.8 | 9.1 | 7.4 |
| Attack Vector | Network | Network | Network |
| Attack Complexity | High | Low | High |
| Privileges Required | Low | None | None |
| User Interaction | None | None | None |
| Scope | Unchanged | Unchanged | Unchanged |
| Confidentiality | High | High | High |
| Integrity Impact | High | High | High |
| Availability Impact | None | None | None |
Vector
Red Hat: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cve.org: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Understanding the Weakness (CWE)
Access Control
Technical Impact: Bypass Protection Mechanism
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.