{"id":"CVE-2026-50192","published":"2026-08-20T21:37:20Z","modified":"2026-08-21T14:54:20Z","title":"Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following…","vendor":"kerberos-io","product":"agent","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00421,"percentile":0.37353,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/kerberos-io/agent/security/advisories/GHSA-h5gx-45rj-2h5j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kerberos-io/agent/commit/51f1a52e170f21c1264c6de1dc781d5b5e2a5d09","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":7.47},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"kerberos-io","affectedVersions":[{"vendor":"kerberos-io","product":"agent","versions":["< 3.6.26"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-21T14:54:10.532284Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/kerberos-io/agent/machinery","vulnerableRanges":["<0.0.0-20260528173546-51f1a52e170f"],"patched":["0.0.0-20260528173546-51f1a52e170f"],"from":["GHSA-h5gx-45rj-2h5j","GO-2026-5890"],"provenance":"source"}],"summary":{"text":"The Kerberos Agent (kerberos-io agent) before version 3.6.26 sends its Kerberos Hub private and public keys in custom request headers to the operator-configured Hub URL, but its HTTP client follows redirects without a policy that strips these custom headers on cross-host redirects. An attacker who can cause the configured Hub URL to return a cross-host redirect, with no authentication or user interaction required, can capture the Hub private key at the redirect target.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:29Z"},"euvd":{"id":"EUVD-2026-63684","exploited":false,"provenance":"source"}}