Skip to main content

Kerberos Agent CVE-2026-135208

| EUVDEUVD-2026-133140 CRITICAL
Use of Default Cryptographic Key (CWE-1394)
2026-11-23 VulnCheck GHSA-vr66-p2xf-g79x
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate exposed agent API (default port 80)
  2. Delivery
    Forge HS256 token signed with hard-coded key TOBECHANGED
  3. Exploit
    Set admin role and username claims
  4. Execution
    Authenticate to /api and /config as administrator
  5. Persist
    Exfiltrate RTSP/ONVIF/Hub and encryption keys
  6. Impact
    Rewrite config or stop the camera

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism
Exploitation Conditions

Exploitation requires only that AGENT_JWT_SECRET is left unset, so the middleware falls back to the hard-coded key TOBECHANGED - this is the default state because none of the project's shipped deployment manifests (docker-compose, Kubernetes, snap, balena) set the variable. The agent must be network-reachable: it binds all interfaces on default port 80, and the published docker-compose examples map it to host ports, making it reachable off-host by default. No credentials, no authentication and no user interaction are needed (PR:N/UI:N), and the flaw works even if the operator changed the default root/root password, because token forgery bypasses login entirely. The single limiting factor is the signing key: an operator who explicitly sets AGENT_JWT_SECRET to a secret value is not exploitable via this path, and instances not exposed beyond the host reduce remote reachability.

Impact

All severity signals point the same way: this is a genuine high-priority issue, not a high-CVSS-but-low-real-risk artifact. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, low-complexity, unauthenticated exploitation with no user interaction and full high impact to confidentiality, integrity and availability of the vulnerable system (VC:H/VI:H/VA:H), consistent with the mechanism described: an unset AGENT_JWT_SECRET falls back to the published literal key TOBECHANGED, so any attacker can mint a valid HS256 admin token. The vuln.today Decision label is act_now and the vendor has shipped a fix, reinforcing urgency. EPSS is not provided in the input, and the CVE is not listed in CISA KEV, so there is no confirmation of active, in-the-wild exploitation; however, a detailed and demonstrated proof-of-concept is documented in the GHSA advisory, which materially lowers the bar for an attacker. The one factor that tempers wholesale internet-scale risk is deployment footprint - Kerberos Agent is niche open-source surveillance software rather than ubiquitous infrastructure - so realistic exposure depends on how many instances are internet-reachable with the default signing key. Net: treat as act_now for any operator running an affected agent, especially one exposed off-host via the default docker-compose port mapping.

Exploit ScenarioDerived

An attacker locates a network-reachable Kerberos Agent API (default binds all interfaces on port 80, commonly mapped to a host port by the shipped docker-compose), then forges an HS256 JWT signed with the hard-coded fallback key TOBECHANGED carrying claims {"username":"...","role":"admin"} and a future exp. The forged token passes verification and authorization with no credentials and no user interaction, granting full administrative access to /api and /config. A demonstrated proof-of-concept exists in the GHSA advisory (a forged token returned HTTP 200 and the full agent configuration including the agent key against the real binary).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

Unauthenticated administrative takeover of Kerberos Agent is possible in every release through 3.14.3 because the HTTP JWT middleware falls back to the hard-coded HMAC key 'TOBECHANGED' whenever AGENT_JWT_SECRET is unset, which is the default state in the project's own docker-compose, Kubernetes, snap and balena manifests. Any network client that can reach the agent (it binds all interfaces on port 80 by default, and the published compose examples map that to host ports) can sign an HS256 token with arbitrary username and 'admin' role claims and use it against the /api and /config routes to read RTSP, ONVIF, Hub and recording-encryption secrets, rewrite configuration and stop the camera. The GHSA advisory documents a proof-of-concept exercised against a real build with observed HTTP 200 responses; no confirmed active exploitation (CISA KEV) is on record, and the vendor has shipped 3.14.4 as the fixed release.

RemediationAI

Upgrade to Kerberos Agent 3.14.4, which is the vendor-released fix (release tag v3.14.4, addressed by PR https://github.com/kerberos-io/agent/pull/361 and commit c0baade8fd6e21ed1b9a834d9ae6b4eaaa67b3b6). On any instance that cannot be upgraded immediately, set AGENT_JWT_SECRET to a strong random value on every deployment - this restores a private signing key and removes exploitability via this path, though tokens issued under the old default should be considered compromised and the operator should also rotate the agent key, RTSP/ONVIF camera credentials and Kerberos Hub keys, since the advisory's proof of concept shows those values are readable with a forged token. Because the agent binds all interfaces on port 80 and example compose files publish it to the host, restricting reachability of the API to trusted networks or a reverse proxy reduces exposure for unpatched instances, at the cost of breaking remote access for legitimate clients. The advisory additionally recommends changing the default root/root AGENT_USERNAME and AGENT_PASSWORD credentials; note that this alone does not close the bypass, because forging a token skips the login step. Full advisory: https://github.com/kerberos-io/agent/security/advisories/GHSA-3c52-7fc8-c39j and https://www.vulncheck.com/advisories/kerberos-agent-before-3.14.4-authentication-bypass-via-hard-coded-jwt-signing-key.

Affected VersionsENISA

Kerberos Agent 0 <3.14.4

Affected Packages

euvd kerberos_agent fix: 3.14.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kerberos Agent is a Go surveillance agent (Go module go/github.com/kerberos-io/agent/machinery) whose REST API is protected by gin-jwt bearer-token middleware in machinery/src/routers/http/jwt_middleware.go. The signing key is read from AGENT_JWT_SECRET; if the variable is empty the code assigns the literal string 'TOBECHANGED' and feeds it to jwt.GinJWTMiddleware.Key, so every default deployment both signs and verifies tokens with a value published in the source tree. Because HS256 is symmetric, knowledge of that key is sufficient to mint a valid token: a crafted claim of the form {"id":{"username":"...","role":"admin"},"exp":<future>,"orig_iat":<now>} passes signature verification, and the Authorizator in routes.go accepts any decoded user object without inspecting the role, so the token grants administrator access to /config and the whole /api group. The root cause class is CWE-1394 (use of a default cryptographic key), with the advisory also tagging CWE-321 (hard-coded key) and CWE-1392 (use of default credentials) for the companion AGENT_USERNAME/AGENT_PASSWORD root/root fallback; token forgery is the stronger primitive because it bypasses the login flow entirely and still works after an operator changes the password. The server in machinery/src/routers/http/server.go binds :<port> on all interfaces, making the flaw remotely reachable wherever the agent is exposed. The single factor that removes exploitability through this path is an operator explicitly setting AGENT_JWT_SECRET to a non-default secret.

Know when Kerberos Agent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Unauthenticated remote attacker forges an admin token against the default configuration with no interaction, yielding full read, config rewrite and camera-stop, so AV:N/AC:L/PR:N/UI:N and C:H/I:H/A:H; impact stays within the agent (S:U).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Technical POC Analysis

The bug is a hard-coded default cryptographic key / default credentials fallback in machinery/src/routers/http/jwtmiddleware.go, function JWTMiddleWare(): go myKey := os.Getenv("AGENTJWTSECRET") if m…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The Kerberos Agent, a critical component for video surveillance operations, contains an authentication bypass vulnerability that allows unauthenticated attackers to gain administrative control. If exploited, attackers could access sensitive camera credentials and disrupt physical security monitoring. Leadership should prioritize patching because the product is deployed by default with insecure settings that expose it to network-based attacks.

Business Impact: High
Compensating Controls

Apply vendor patch. If unable to patch immediately, set the AGENT_JWT_SECRET environment variable to a strong value and restrict network access to the agent's port 80.

Threat Intelligence Overview

Prevalence
Low
niche open-source video-surveillance agent, limited enterprise footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy