{"cve":"CVE-2026-50192","nvd":{"published":"2026-08-20T22:17:20.390","modified":"2026-10-18T20:10:00.110","status":"Deferred","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.","cvss_v4":{"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","score":6.9},"cvss_v3":null,"cwes":["CWE-200","CWE-522"],"references":["https://github.com/kerberos-io/agent/commit/51f1a52e170f21c1264c6de1dc781d5b5e2a5d09","https://github.com/kerberos-io/agent/security/advisories/GHSA-h5gx-45rj-2h5j","https://github.com/kerberos-io/agent/security/advisories/GHSA-h5gx-45rj-2h5j"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:49:38.260478770+00:00"},"epss":{"cve":"CVE-2026-50192","score":0.00421,"percentile":0.36192,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-h5gx-45rj-2h5j","url":"https://osv.dev/vulnerability/GHSA-h5gx-45rj-2h5j","summary":"Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following HTTP client without CheckRedirect","modified":"2026-07-07T16:11:23.177324560Z","packages":[{"ecosystem":"Go","name":"github.com/kerberos-io/agent/machinery","purl":"pkg:golang/github.com/kerberos-io/agent/machinery","ranges":["<0.0.0-20260528173546-51f1a52e170f"],"fixed":["0.0.0-20260528173546-51f1a52e170f"]}]},{"id":"GO-2026-5890","url":"https://osv.dev/vulnerability/GO-2026-5890","summary":"Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following HTTP client without CheckRedirect in github.com/kerberos-io/agent/machinery","modified":"2026-07-07T16:01:31.692174672Z","packages":[{"ecosystem":"Go","name":"github.com/kerberos-io/agent/machinery","purl":"pkg:golang/github.com/kerberos-io/agent/machinery","ranges":["<0.0.0-20260528173546-51f1a52e170f"],"fixed":["0.0.0-20260528173546-51f1a52e170f"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}