Skip to main content
Menu
CVEs

Kerberos Agent authentication bypass in JWT middleware via hard-coded key

Only Kerberos Agent before 3.14.4 with the AGENT_JWT_SECRET environment variable unset is exposed, because the agent then falls back to a hard-coded signing key. Fixed in 3.14.4.

CVE-2026-135208Published November 23, 2026, updated

9.3CriticalCNA
Exploited
No known exploitation
Fix
Fixed in 3.14.4
Who is exposed
Default setups

Summary

Kerberos Agent before 3.14.4 has an authentication bypass: because the JWT middleware falls back to a hard-coded signing key, attackers can forge administrator tokens. Attackers can reach it remotely, without logging in, and use it to access the API and configuration routes, exposing stored keys, rewriting configuration, and stopping the camera.

Written by a model

Original description

Kerberos Agent before 3.14.4 contains an authentication bypass vulnerability that allows unauthenticated attackers to forge administrator tokens because JWTMiddleWare() falls back to the hard-coded key TOBECHANGED. Attackers can sign HS256 tokens with arbitrary username and role claims to access /api and /config routes, exposing RTSP, ONVIF, Hub and encryption keys, rewriting configuration, and stopping the camera.

Who should check

Teams running Kerberos Agent before 3.14.4 with AGENT_JWT_SECRET unset, the default, such as operators of Kerberos camera agents with exposed REST APIs.

“Affecting Kerberos Agent < 3.14.4”

vulncheck.com

What to do

  1. Check every install: default setups are affected.

  2. Upgrade to a fixed version: 3.14.4.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-135208 (Kerberos Agent before 3.14.4 Authentication Bypass via Hard-coded JWT Signing Key), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-135208 (entry last updated 2026-11-23):
Affected:
- Go package github.com/kerberos-io/agent/machinery: fixed in 3.14.4
Fixed versions: 3.14.4.
Conditions (all must be true for the bug to be hit):
- Kerberos Agent before 3.14.4 (source: https://www.vulncheck.com/advisories/kerberos-agent-before-3.14.4-authentication-bypass-via-hard-coded-jwt-signing-key)
- AGENT_JWT_SECRET environment variable unset, so the agent falls back to the hard-coded key (source: https://github.com/kerberos-io/agent/security/advisories/GHSA-3c52-7fc8-c39j)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-135208 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135208 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Go): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/kerberos-io/agent/security/advisories/GHSA-3c52-7fc8-c39j
- https://github.com/kerberos-io/agent/commit/c0baade8fd6e21ed1b9a834d9ae6b4eaaa67b3b6
- https://github.com/kerberos-io/agent/pull/361
- https://github.com/kerberos-io/agent/releases/tag/v3.14.4
- https://github.com/kerberos-io/agent/blob/v3.14.1/machinery/src/routers/http/jwt_middleware.go#L17-L28
- https://www.vulncheck.com/advisories/kerberos-agent-before-3.14.4-authentication-bypass-via-hard-coded-jwt-signing-key
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-135208
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135208"}.

Affected versions

cve.now Index

41Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure22/25Default setups, reachable over the network without a login
  • Reach10/20Affects Go packages
  • Severity9.3/10CVSS 9.3
  • No patch0/5No signal

What would change the score

  • Would score about 81 if added to CISA KEV
  • Would score about 76 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now

Evidence 8

Questions about CVE-2026-135208

Is CVE-2026-135208 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

When AGENT_JWT_SECRET is unset, Kerberos Agent signs its tokens with a hard-coded key. Unauthenticated attackers who know that key can forge administrator tokens, which would let them read RTSP, ONVIF, Hub and encryption keys, rewrite configuration, and stop the camera.

Source: vulncheck.com, github.com

Which versions are affected by CVE-2026-135208?

github.com/kerberos-io/agent/machinery (Go): before 3.14.4.

Source: cve.now feed data

Am I affected, and how do I check?

Kerberos Agent versions before 3.14.4 that run with the AGENT_JWT_SECRET environment variable unset. To check a setup, look at the agent's installed version and whether AGENT_JWT_SECRET is set in the environment the agent runs in.

Source: vulncheck.com, github.com

How do I fix CVE-2026-135208?

Upgrade Kerberos Agent to 3.14.4 or later, which is the fixed version.

Source: vulncheck.com, github.com

No corrections so far. Something wrong on this page? Report an error.