What happened
Kerberos Agent before 3.14.4 falls back to the hard-coded JWT key 'TOBECHANGED' in JWTMiddleWare(). An unauthenticated attacker can sign HS256 tokens with arbitrary username/role claims and access /api and /config routes, exposing RTSP, ONVIF, Hub and encryption keys, rewriting configuration, and stopping cameras. CVSS 9.8 (CVSS 3.1).
Why it matters
Kerberos owns the inspection/access layer of an edge AI video-analytics deployment. Because the JWT fallback key is public, any network-reachable instance is fully compromisable by a single forged token — an attacker gains administrator control of the AI vision agent, can expose keys, and can shut down or re-route the camera security pipeline. Unauthenticated and remotely exploitable.
Attack vector
Unauthenticated network request; forge an HS256 admin JWT using the hard-coded fallback key, then invoke privileged /api and /config routes.
Affected systems
kerberos-io/agent (Kerberos Agent) < 3.14.4
Mitigation
Upgrade to v3.14.4 (fixed); verify the JWT middleware no longer falls back to the hard-coded key.