On this page (7 sections)
Kerberos Agent, the open source video agent from kerberos-io, has a critical authentication bypass tracked as CVE-2026-135208. According to the NVD record, versions before 3.14.4 fall back to a hard-coded token signing key, so an unauthenticated attacker can mint their own administrator tokens.
If you run Kerberos Agent on a camera, a server or a small edge device, especially one reachable from the internet, this is worth fixing today. The research available so far comes from the NVD record and its linked references; only one independent publisher covers the story, so details may be refined as more analysis appears.
What happened
The agent protects its HTTP API with a JSON Web Token (JWT) middleware. Per the NVD description, the function JWTMiddleWare() falls back to the hard-coded key TOBECHANGED. Because that value is public in the CVE text, anyone can sign a token the agent will accept.
The maintainers fixed the issue in release v3.14.4. The project's security advisory, a code commit and pull request 361 are linked from the record, as is a VulnCheck advisory. This article relies on the NVD description; the linked pages are where to look for maintainer detail.
Technical details in plain terms
A JWT is a signed note that says who you are and what role you hold. The server trusts it only if the signature matches a secret key that nobody else knows. With HS256, the same secret signs and verifies tokens. If the secret is a well-known default, the signature proves nothing, and an attacker can write a note claiming to be an administrator.
The NVD record states that attackers can sign HS256 tokens with arbitrary username and role claims and use them to reach the /api and /config routes. The weakness is catalogued as CWE-1394, and the record gives it a 9.3 critical score. No authentication is needed, which is why the rating is so high.
What an attacker can reach
According to the CVE description, a forged token can lead to:
- Exposure of RTSP, ONVIF, Hub and encryption keys
- Rewriting of the agent's configuration
- Stopping the camera
Leaked stream and hub credentials can matter beyond the single device, since they may unlock video feeds or connections to other systems. The research does not describe any real-world abuse, so treat this as potential impact rather than observed attacks.
Who is affected
Any deployment of Kerberos Agent older than 3.14.4 is in scope. Exposure is highest when the agent's web interface or API is reachable from the internet, or from a network that untrusted users or devices can join. Agents confined to a locked-down internal network are harder to reach, but a compromised device on that network could still attempt it.
The research does not say which earlier versions first introduced the fallback, so assume every version before 3.14.4 is affected unless the maintainers state otherwise in their advisory.
How to check your exposure
First find out which version you run. In a Docker deployment, this read-only command lists running containers and the image tags they use. Look for a kerberos-io agent image and compare its tag to 3.14.4.
docker ps --format '{{.Names}}\t{{.Image}}'Next, check whether the agent is reachable from where it should not be. This read-only command shows the published ports of each running container, so you can see which are exposed.
docker ps --format '{{.Names}}\t{{.Ports}}'A port bound to 0.0.0.0 or forwarded on your router is reachable more widely than one bound to 127.0.0.1 or a private address. Also test from a machine outside your trusted network to confirm the agent's web port does not answer.
What to do now
- Upgrade Kerberos Agent to 3.14.4 or later, using the official release or image.
- Restart the agent after upgrading and confirm the running version.
- Remove direct internet exposure: close port forwards and put the interface behind a VPN or an authenticating reverse proxy.
- Restrict the agent's port to trusted addresses with a host or network firewall.
- Treat RTSP, ONVIF, Hub and encryption keys as potentially exposed if the agent was reachable before patching, and rotate them.
- Review the agent configuration for unexpected changes and check whether the camera stopped recording at odd times.
- Check access logs of any reverse proxy for requests to /api and /config from unfamiliar addresses.
Detection and monitoring
The research does not list indicators of compromise, so use general signs. Unexplained configuration changes, a camera that stopped streaming, new or unknown hub connections, and requests to /api or /config from outside your normal admin addresses all deserve a closer look. If a reverse proxy sits in front of the agent, search its logs for those routes.
This command searches an nginx access log for requests to the config route. Adjust the log path to your setup; expect legitimate admin requests in the results and look for source addresses you do not recognize.
grep '/config' /var/log/nginx/access.logFor ongoing coverage of anything you expose publicly, Webforta Monitor can watch uptime and certificate changes. If you suspect a compromise, follow what to do when a website is hacked, and see the small business security guide for wider hardening basics.
A broader lesson
The key name TOBECHANGED suggests a placeholder that was never replaced. When you deploy self-hosted tools, check whether they let you set a unique secret explicitly, and avoid leaving management interfaces open to the internet. This is general hardening advice, not a finding from the research about how this flaw arose.
Sources
This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.
