ZeroHour

CVE-2026-82448

niche

Hardcoded Credential in Shinobi Allows Unauthenticated Database Queries

CVSS 4.0
9.3 critical
EPSS
<1%p34
Published
()
Modified
AI analysis

Shinobi, an open-source video surveillance/NVR platform, before commit 5a76c74f ships a hardcoded connection key in its child node service (CWE-798). An unauthenticated attacker who can reach the child node port can present this hardcoded key during the WebSocket handshake and then issue arbitrary SQL queries through the onWebSocketDataFromChildNode handler. This allows the attacker to read and modify database contents, including user records and camera configuration, without valid credentials. Deployments are affected when they run an affected Shinobi version and the child node service port is reachable, a scenario typical of multi-server master/child node setups. No public proof-of-concept or confirmed exploitation is known; EPSS estimates a 0.4% probability of exploitation within 30 days and the issue is not in CISA KEV.

What to do: Update Shinobi to a build at or after commit 5a76c74f, which replaces the hardcoded child node connection key. Until patched, restrict the child node port to trusted hosts via firewall rules or VPN access and avoid exposing it to the internet. After upgrading, review user records and camera configurations in the database for unauthorized changes.

Affected
Shinobi (ShinobiCCTV open-source project) Shinobiall versions before commit 5a76c74f
Estimated exposure
nichelikely on the order of hundreds to a few thousand deployments with a network-reachable child node service (subset of Shinobi's likely low-tens-of-thousands… — Shinobi is a modestly popular free open-source NVR used mainly by self-hosters and small surveillance deployments, the vulnerable child node service is an optional clustering component rather than a default-exposed interface, and no…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Shinobi before commit 5a76c74f contains a hardcoded connection key in the child node service that allows unauthenticated attackers to execute arbitrary database queries. Attackers reaching the child node port can present the hardcoded key during WebSocket handshake, then dispatch SQL queries through the onWebSocketDataFromChildNode handler to read and modify user records and camera configuration.

Weakness
CWE-798
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.