GHSA-h5gx-45rj-2h5j: Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following HTTP client without CheckRedirect
A vulnerability in the Kerberos Hub upload path causes the agent's private key to be leaked when the configured Hub URI issues a cross-host HTTP redirect. The HTTP client used does not strip the custom X-Kerberos-Hub-PrivateKey header on redirects, exposing the private key to an attacker-controlled host. This allows an attacker to gain the agent's access to Kerberos Hub, including impersonation capabilities.
AI Analysis
Technical Summary
The Kerberos Hub agent sends its private and public keys in custom HTTP headers to a configured Hub URI. The HTTP client used in the upload function follows redirects automatically without a CheckRedirect policy. Go's net/http client strips only standard sensitive headers on cross-host redirects but does not remove custom headers like X-Kerberos-Hub-PrivateKey. If the Hub URI responds with a cross-host redirect (e.g., 302 Found) to an attacker-controlled domain, the private key is forwarded to that domain, leaking a long-lived secret. This secret enables the attacker to impersonate the agent and upload data to the Kerberos Hub. The vulnerability arises from operator-configured Hub URIs and the lack of redirect header sanitization in the client code.
Potential Impact
The private key used for authenticating the agent to the Kerberos Hub can be exfiltrated to an attacker-controlled host if the configured Hub URI issues a cross-origin redirect. This compromises the confidentiality of the agent's credentials and allows attackers to impersonate the device, potentially uploading malicious or unauthorized data to the Kerberos Hub. The impact depends on the operator's Hub URI configuration and the presence of redirects to malicious hosts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, operators should ensure that the configured Hub URI does not issue cross-host redirects. Avoid using Hub URIs that could be subject to open redirects or DNS/BGP hijacking. Implement manual redirect handling that strips sensitive custom headers on cross-host redirects or disable automatic redirect following in the HTTP client.
GHSA-h5gx-45rj-2h5j: Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following HTTP client without CheckRedirect
Description
A vulnerability in the Kerberos Hub upload path causes the agent's private key to be leaked when the configured Hub URI issues a cross-host HTTP redirect. The HTTP client used does not strip the custom X-Kerberos-Hub-PrivateKey header on redirects, exposing the private key to an attacker-controlled host. This allows an attacker to gain the agent's access to Kerberos Hub, including impersonation capabilities.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Kerberos Hub agent sends its private and public keys in custom HTTP headers to a configured Hub URI. The HTTP client used in the upload function follows redirects automatically without a CheckRedirect policy. Go's net/http client strips only standard sensitive headers on cross-host redirects but does not remove custom headers like X-Kerberos-Hub-PrivateKey. If the Hub URI responds with a cross-host redirect (e.g., 302 Found) to an attacker-controlled domain, the private key is forwarded to that domain, leaking a long-lived secret. This secret enables the attacker to impersonate the agent and upload data to the Kerberos Hub. The vulnerability arises from operator-configured Hub URIs and the lack of redirect header sanitization in the client code.
Potential Impact
The private key used for authenticating the agent to the Kerberos Hub can be exfiltrated to an attacker-controlled host if the configured Hub URI issues a cross-origin redirect. This compromises the confidentiality of the agent's credentials and allows attackers to impersonate the device, potentially uploading malicious or unauthorized data to the Kerberos Hub. The impact depends on the operator's Hub URI configuration and the presence of redirects to malicious hosts.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, operators should ensure that the configured Hub URI does not issue cross-host redirects. Avoid using Hub URIs that could be subject to open redirects or DNS/BGP hijacking. Implement manual redirect handling that strips sensitive custom headers on cross-host redirects or disable automatic redirect following in the HTTP client.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-h5gx-45rj-2h5j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-50192"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a46ecc427e9c7971943d7b0
Added to database: 07/02/2026, 22:57:08 UTC
Last enriched: 07/02/2026, 23:17:51 UTC
Last updated: 07/02/2026, 23:17:51 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.