<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Token Leakage — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/token-leakage/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 29 May 2026 15:31:29 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/token-leakage/feed.xml" rel="self" type="application/rss+xml"/><item><title>GitHub CLI Incorrectly Includes Authorization Header in API Requests</title><link>https://feed.craftedsignal.io/briefs/2026-05-gh-cli-token-leak/</link><pubDate>Fri, 29 May 2026 15:31:29 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-gh-cli-token-leak/</guid><description>GitHub CLI versions 2.92.0 and earlier incorrectly include authorization headers in API requests to TUF repository mirrors and external hosts when using the `gh attestation`, `gh release verify`, and `gh release verify-asset` commands, potentially exposing sensitive tokens.</description><content:encoded><![CDATA[<p>GitHub CLI versions 2.92.0 and earlier contain a vulnerability where authorization headers, including GitHub personal access tokens and enterprise tokens, are incorrectly included in API requests to external hosts. Specifically, the <code>gh attestation</code>, <code>gh release verify</code>, and <code>gh release verify-asset</code> commands fetch data from hosts such as <code>tuf-repo.github.com</code>, <code>tuf-repo-cdn.sigstore.dev</code>, and <code>tmaproduction.blob.core.windows.net</code>. Due to improper host normalization, the CLI&rsquo;s authentication layer attaches tokens intended for <code>github.com</code> or GHES instances to these requests. This issue affects authenticated <code>github.com</code> users and users with <code>GH_ENTERPRISE_TOKEN</code> or <code>GITHUB_ENTERPRISE_TOKEN</code> set. Successful exploitation would allow unauthorized access to the token holder&rsquo;s resources.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>A user configures the GitHub CLI with a personal access token or enterprise token.</li>
<li>The user executes a <code>gh attestation</code>, <code>gh release verify</code>, or <code>gh release verify-asset</code> command.</li>
<li>The GitHub CLI initiates an HTTP request to <code>tuf-repo.github.com</code> to retrieve TUF metadata.</li>
<li>Due to incorrect host normalization, the CLI attaches the user&rsquo;s <code>github.com</code> token to the request header.</li>
<li>The GitHub CLI initiates HTTP requests to <code>tuf-repo-cdn.sigstore.dev</code> and <code>tmaproduction.blob.core.windows.net</code> to retrieve additional TUF metadata and artifact bundles.</li>
<li>The CLI erroneously includes the <code>GH_ENTERPRISE_TOKEN</code> or <code>GITHUB_ENTERPRISE_TOKEN</code> in the headers of these requests.</li>
<li>The external hosts receive the unauthorized tokens in the HTTP headers.</li>
<li>An attacker who gains access to these hosts could potentially steal the tokens.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>This vulnerability allows unauthorized access to GitHub tokens, potentially granting an attacker access to private repositories, organization resources, or enterprise administration depending on token type and permissions. Although there is no evidence that tokens were logged, retained, or accessed by unauthorized parties, a captured token would grant the same access as the token holder. This vulnerability is tracked as CVE-2026-48501.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Revoke all authentication tokens used with the GitHub CLI, including personal access tokens and the GitHub CLI OAuth app as described in the <a href="https://docs.github.com/en/enterprise-cloud@latest/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens">GitHub documentation</a>.</li>
<li>Upgrade the GitHub CLI to version 2.93.0 or later to remediate the vulnerability.</li>
<li>Review personal <a href="https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log">security logs</a> for any suspicious activity related to your account.</li>
<li>Review <a href="https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/identifying-audit-log-events-performed-by-an-access-token">audit logs</a> for any unexpected actions performed by GitHub CLI tokens.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>github</category><category>cli</category><category>token leakage</category><category>api</category></item></channel></rss>