Description
Kerberos Agent is an open source video (surveillance) management agent. Prior to version 3.6.26, the Kerberos Hub upload path sends the agent's Hub credentials in the custom `X-Kerberos-Hub-PrivateKey` and `X-Kerberos-Hub-PublicKey` request headers to the operator-configured Hub URL (`config.HubURI`). The HTTP client used (`&http.Client{}` in `UploadKerberosHub`) is constructed without a `CheckRedirect` policy, so it follows HTTP redirects automatically. Go's `net/http` strips only sensitive headers (`Authorization`, `Cookie`, `WWW-Authenticate`) on a cross-host redirect; it does not strip custom headers such as `X-Kerberos-Hub-PrivateKey`. As a result, if the configured `HubURI` returns a cross-host 30x redirect, the Hub private key is forwarded verbatim to the redirect target, disclosing the credential to an unintended third party. Version 3.6.26 fixes the issue by implementing the `CheckRedirect` strip plus a cross-host regression test is provided to the maintainer through the advisory's private temporary fork.
Published: 2026-08-20
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Kerberos Agent uses a custom HTTP client that automatically follows redirects. When the Hub upload path is configured to point at a URL that responds with a cross‑host 30x redirect, the client forwards request headers to the new location. Go’s standard library removes only standard authentication headers during such a redirect, leaving custom headers untouched. Consequently, the private and public key headers sent to the original Hub are leaked to the unintended third‑party server. This exposure allows an attacker who can force the redirect to observe the private key, potentially granting them unauthorized access to the Kerberos Hub and any connected surveillance resources.

Affected Systems

The issue affects the Kerberos‑IO Agent versions earlier than 3.6.26. The product is released under the vendor kerberos‑io:agent. Only deployments that use a Hub URI configured to a host that can issue cross‑host redirects are vulnerable. No specific patch versions are listed beyond 3.6.26, which supposedly resolves the problem.

Risk and Exploitability

The CVSS base score of 6.9 indicates a moderate risk. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. An attacker would need to influence the HubURI to point to a malicious or compromised host capable of providing a redirect, or otherwise intercept the request chain. Once the redirect occurs, the victim’s private key is transmitted verbatim, satisfying CWE‑200 (Information Exposure) and CWE‑522 (Insufficient Credential Storage). There are no known active exploits reported at this time, but the lack of header stripping is a predictable weakness that could be leveraged by an adversary who can control the redirect target or manipulate the network traffic.

Generated by OpenCVE AI on August 21, 2026 at 00:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Kerberos‑IO Agent to version 3.6.26 or later, which adds a CheckRedirect policy to the HTTP client and prevents cross‑host header leakage.
  • Verify that the HubURI used by the agent points to a trusted domain and does not issue cross‑host redirects; if necessary, hard‑code the URI or enforce same‑origin policy.
  • Deploy network controls such as firewall rules or reverse proxies to block or filter unexpected redirects from the agent’s HubURI, reducing the risk of credential exposure if the agent cannot be upgraded in the short term.

Generated by OpenCVE AI on August 21, 2026 at 00:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA 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
History

Sun, 23 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 21 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
First Time appeared Kerberos-io
Kerberos-io agent
Vendors & Products Kerberos-io
Kerberos-io agent

Thu, 20 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Description Kerberos Agent is an open source video (surveillance) management agent. Prior to version 3.6.26, the Kerberos Hub upload path sends the agent's Hub credentials in the custom `X-Kerberos-Hub-PrivateKey` and `X-Kerberos-Hub-PublicKey` request headers to the operator-configured Hub URL (`config.HubURI`). The HTTP client used (`&http.Client{}` in `UploadKerberosHub`) is constructed without a `CheckRedirect` policy, so it follows HTTP redirects automatically. Go's `net/http` strips only sensitive headers (`Authorization`, `Cookie`, `WWW-Authenticate`) on a cross-host redirect; it does not strip custom headers such as `X-Kerberos-Hub-PrivateKey`. As a result, if the configured `HubURI` returns a cross-host 30x redirect, the Hub private key is forwarded verbatim to the redirect target, disclosing the credential to an unintended third party. Version 3.6.26 fixes the issue by implementing the `CheckRedirect` strip plus a cross-host regression test is provided to the maintainer through the advisory's private temporary fork.
Title Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following HTTP client without CheckRedirect
Weaknesses CWE-200
CWE-522
References
Metrics cvssV4_0

{'score': 6.9, 'vector': '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'}


Subscriptions

Kerberos-io Agent
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T14:54:20.323Z

Reserved: 2026-06-03T22:05:13.645Z

Link: CVE-2026-50192

cve-icon Vulnrichment

Updated: 2026-08-21T14:53:44.346Z

cve-icon NVD

Status : Received

Published: 2026-08-20T22:17:20.390

Modified: 2026-08-21T15:16:41.487

Link: CVE-2026-50192

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:08:28Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor

  • CWE-522

    Insufficiently Protected Credentials