CVE-2026-50192

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

No CVSS.

Configurations

No configuration.

History

18 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) Kerberos Agent es un agente de gestión de vídeo (vigilancia) de código abierto. Antes de la versión 3.6.26, la ruta de carga de Kerberos Hub envía las credenciales del Hub del agente en los encabezados de solicitud personalizados 'X-Kerberos-Hub-PrivateKey' y 'X-Kerberos-Hub-PublicKey' a la URL del Hub configurada por el operador ('config.HubURI'). El cliente HTTP utilizado ('&http.Client{}' en 'UploadKerberosHub') se construye sin una política de 'CheckRedirect', por lo que sigue las redirecciones HTTP automáticamente. El 'net/http' de Go elimina solo los encabezados sensibles ('Authorization', 'Cookie', 'WWW-Authenticate') en una redirección entre hosts; no elimina encabezados personalizados como 'X-Kerberos-Hub-PrivateKey'. Como resultado, si la 'HubURI' configurada devuelve una redirección 30x entre hosts, la clave privada del Hub se reenvía textualmente al destino de la redirección, divulgando la credencial a un tercero no deseado. La versión 3.6.26 soluciona el problema mediante la implementación de la eliminación de 'CheckRedirect', además de proporcionar una prueba de regresión entre hosts al mantenedor a través del fork temporal privado del aviso.

Information

Published : 2026-08-20 22:17

Updated : 2026-10-18 20:10


NVD link : CVE-2026-50192

Mitre link : CVE-2026-50192

CVE.ORG link : CVE-2026-50192


JSON object : View

Products Affected

No product.

CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-522

Insufficiently Protected Credentials