{"answers":{"affected":"3 open source packages ship an affected version, including github.com/kerberos-io/agent/machinery.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50192 exists.","fix":"Upgrade github.com/kerberos-io/agent/machinery to 0.0.0-20260528173546-51f1a52e170f or later.","what":"CVE-2026-50192 is a medium-severity vulnerability in kerberos-io agent, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50192 and fix it if it is affected.\n\nWhat it is: CVE-2026-50192 is a medium-severity vulnerability in kerberos-io agent, published on 20 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-50192 exists.\n\nAffected packages and fixed versions:\n- github.com/kerberos-io/agent/machinery (Go): affected all versions; fixed in 0.0.0-20260528173546-51f1a52e170f\n- github.com/kerberos-io/agent/machinery (Go): affected all versions; fixed in 0.0.0-20260528173546-51f1a52e170f\n- github.com/kerberos-io/agent/machinery (Go): affected all versions; fixed in 0.0.0-20260528173546-51f1a52e170f\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50192/ (Markdown: https://insights.sbomify.com/CVE-2026-50192/index.md)","id":"CVE-2026-50192","markdown":"https://insights.sbomify.com/CVE-2026-50192/index.md","name":"CVE-2026-50192","record":{"aliases":["GHSA-h5gx-45rj-2h5j","GO-2026-5890"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Kerberos video agent","requires_auth":"none","summary":"Kerberos Agent leaks private hub credentials to third-party redirect targets due to missing redirect checks, allowing attackers to intercept sensitive authentication keys.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"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 (`\u0026http.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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Kerberos Hub private key (X-Kerberos-Hub-PrivateKey) leaked to cross-host redirect target due to redirect-following HTTP client without CheckRedirect","id":"CVE-2026-50192","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":2,"next":{"headline":"jackson-databind: Deeply nested JsonNode throws StackOverflowError for toString()","id":"CVE-2026-50193"},"packages":[{"ecosystem":"Go","fixed":["0.0.0-20260528173546-51f1a52e170f"],"introduced":["0"],"last_affected":[],"package":"github.com/kerberos-io/agent/machinery","purl":null,"source":"GHSA-h5gx-45rj-2h5j"},{"ecosystem":"Go","fixed":["0.0.0-20260528173546-51f1a52e170f"],"introduced":["0"],"last_affected":[],"package":"github.com/kerberos-io/agent/machinery","purl":"pkg:golang/github.com/kerberos-io/agent/machinery","source":"GHSA-h5gx-45rj-2h5j"},{"ecosystem":"Go","fixed":["0.0.0-20260528173546-51f1a52e170f"],"introduced":["0"],"last_affected":[],"package":"github.com/kerberos-io/agent/machinery","purl":"pkg:golang/github.com/kerberos-io/agent/machinery","source":"GO-2026-5890"}],"prev":{"headline":"4gaBoards: Pre-Account Takeover via SSO Email Linkage","id":"CVE-2026-50191"},"products":["agent"],"published":"2026-08-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-21","vendors":["kerberos-io"]},"summary":"Kerberos Agent leaks private hub credentials to third-party redirect targets due to missing redirect checks, allowing attackers to intercept sensitive authentication keys.","url":"https://insights.sbomify.com/CVE-2026-50192/"}