Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
Medium
Published: 07/02/2026 (07/02/2026, 17:33:36 UTC)
Source: GCVE Database
Product: github.com/kerberos-io/agent/machinery

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

Goghsa
github.com/kerberos-io/agent/machinery
Affected versions
<0.0.0-20260528173546-51f1a52e170f

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

AILast updated: 07/02/2026, 23:17:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses