Threat reportVulnerabilityTL-2026-0661
KMW CCTV Cameras CVE-2026-5386 — Unauthenticated Remote Administrator Password Reset Enables Full Camera Takeover (CWE-620, CVSS 9.1)
CVE-2026-5386 is a critical unverified-password-change weakness (CWE-620, CVSS v3.1 9.1) in KMW IP CCTV cameras (KM-IP521, KM-IP421) that lets an unauthenticated remote attacker reset the administrator password to a known value via a crafted request. Successful exploitation grants full administrative control — live video feed access, configuration tampering, and surveillance disablement.
Key facts
| Identifiers | TL-2026-0661, CVE-2026-5386 |
|---|---|
| Also known as | ICSA-26-148-06 |
| Severity | CRITICAL |
| CVSS | 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) |
| EPSS | CVE-2026-5386: 0.5% (46.5th percentile) |
| Affected products | KMW KM-IP521; KMW KM-IP421 |
| Weaknesses (CWE) | CWE-620 |
| MITRE ATT&CK techniques | T1098 Account Manipulation, T1125 Video Capture, T1133 External Remote Services, T1190 Exploit Public-Facing Application, T1489 Service Stop, T1531 Account Access Removal, T1556 Modify Authentication Process, T1565 Data Manipulation, T1592 Gather Victim Host Information, T1595 Active Scanning, T1685 Disable or Modify Tools |
| Motivation | UNKNOWN |
| Target sectors | commercial facilities, government, critical manufacturing, financial services, transportation |
| Target regions | Worldwide |
| Detection rules | 9 (1 shown free) |
| Sources | 7 cited sources |
Detection coverage
As of 2026-06-02, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-0661 across Splunk SPL, Microsoft KQL and Sigma, covering 13 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.
Free detection: KMW Camera Unauthenticated Admin Password Reset (CVE-2026-5386) — Exploitation
Detects the CVE-2026-5386 (CWE-620) core exploitation primitive: a successful (HTTP 200) POST to the KMW camera admin password-change CGI endpoint (/cgi-bin/user/setAdminPwd) from a source that has NO preceding successful login to the device. Because the firmware applies the credential change without verifying the caller's identity, a password change with no prior authenticated session is the unambiguous signature of unauthenticated takeover. Targets KMW KM-IP521/KM-IP421 web interfaces fingerprinted by the 'KMW-IPCAM' Server banner.
- Languages: Splunk SPL, Microsoft KQL, Sigma
- ATT&CK: T1190, T1556, T1595
- Data sources: zeek, splunk_stream, proxy, cef
- Severity: critical
- Confidence: high
Splunk SPL
index=network sourcetype="stream:http" http_method=POST uri_path="/cgi-bin/user/setAdminPwd"
(server="KMW-IPCAM*" OR site="KMW-IPCAM*")
| where status=200
| rename src_ip as attacker_ip
```Correlate against any successful admin login from the same source in the prior 10 minutes```
| join type=left attacker_ip
[ search index=network sourcetype="stream:http" uri_path="/cgi-bin/login" status=200 earliest=-10m
| rename src_ip as attacker_ip | stats latest(_time) as last_login_time by attacker_ip ]
```CWE-620: keep only password changes with NO prior successful authentication```
| where isnull(last_login_time) OR last_login_time > _time
| table _time attacker_ip dest_ip uri_path http_method status server
| sort - _timeMicrosoft KQL
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestMethod == "POST" and RequestURL has "/cgi-bin/user/setAdminPwd"
| where DeviceProduct has "KMW" or AdditionalExtensions has "KMW-IPCAM"
// CWE-620: password change with no preceding successful login from the same source IP
| join kind=leftanti (
CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestURL has "/cgi-bin/login" and toint(coalesce(column_ifexists("CommunicationDirection", ""), "0")) >= 0
| where ReceivedBytes >= 0
| project SourceIP, LoginTime = TimeGenerated
) on SourceIP
| project TimeGenerated, SourceIP, DestinationIP, RequestMethod, RequestURL, DeviceProduct
| sort by TimeGenerated descSigma
title: KMW Camera Unauthenticated Admin Password Change (CVE-2026-5386)
id: 0c9d2f1a-5386-4b62-9a1e-cve20265386aa
status: experimental
description: Detects a POST to the KMW KM-IP521/KM-IP421 camera credential-change CGI endpoint that is not preceded by a successful authentication event (CWE-620 unverified password change).
references:
- https://www.cisa.gov/news-events/ics-advisories/icsa-26-148-06
- https://nvd.nist.gov/vuln/detail/CVE-2026-5386
author: Threadlinqs Team
date: 2026/06/02
tags:
- attack.initial_access
- attack.t1190
- attack.credential_access
- attack.t1556
- cve.2026.5386
logsource:
category: webserver
product: kmw_ipcam
detection:
selection:
cs-method: 'POST'
cs-uri-stem|contains: '/cgi-bin/user/setAdminPwd'
sc-status: 200
filter_authed:
prior_auth: true
condition: selection and not filter_authed
falsepositives:
- Legitimate administrator changing the camera password through the web UI after a fresh authenticated session (correlate with a preceding successful login)
- Provisioning or factory-reset workflows that set the initial admin credential
level: criticalKnown false positives:
- Legitimate admin password change made through the web UI immediately after an authenticated login (correlate with a preceding /cgi-bin/login success)
- Initial device provisioning or factory-reset workflows that set the first admin credential
Tuning notes: Adjust the sourcetype/index to your HTTP visibility source (Splunk Stream, Zeek, or reverse-proxy logs). The exact CGI path is illustrative — confirm the real password-change endpoint against your KMW firmware and update uri_path. Widen the leftanti/join correlation window if operators legitimately keep long-lived sessions, and allowlist known maintenance hosts.
- Host-Based KMW Camera Exploitation Tooling (CVE-2026-5386) — Exploitation · unlock with TL Creds
- KMW Camera Video Feed Access After Takeover (CVE-2026-5386) — Post-Exploitation · unlock with TL Creds
- KMW Camera Recording Service Disabled (CVE-2026-5386) — Impact · unlock with TL Creds
- KMW Camera Reconnaissance & Unauthenticated Password Reset (CVE-2026-5386) — Exploitation · unlock with TL Creds
- KMW Camera New Admin Session From External Source After Reset (CVE-2026-5386) — Post-Exploitation · unlock with TL Creds
- KMW Camera Mass Scanning & P2P Cloud Remote-Access Exposure (CVE-2026-5386) — Recon/Remote Access · unlock with TL Creds
- KMW Camera Account Takeover Login Following Password Reset (CVE-2026-5386) — Post-Exploitation · unlock with TL Creds
- KMW Camera Surveillance Disablement & Config Tampering After Takeover (CVE-2026-5386) — Impact · unlock with TL Creds
Indicators of compromise
As of 2026-06-02, Threadlinqs Intelligence tracks 13 indicators of compromise for TL-2026-0661.
Sample indicators (1 of 13)
- Domain:
main[.]kmw[.]ro
Defanged, TLP:CLEAR. Full set of 13 indicators: unlock with TL Creds.
Technical analysis
CISA published ICS advisory ICSA-26-148-06 on 2026-05-28; no in-the-wild exploitation has been reported as of 2026-06-02.
CVE-2026-5386 is a critical authentication-bypass vulnerability affecting KMW network CCTV security cameras, specifically the KM-IP521 (firmware IPCAM_V4.04.91.230307) and KM-IP421 (firmware IPCAM_V4.04.53.210416). The root cause is CWE-620 (Unverified Password Change): the camera's web/management interface exposes a credential-change operation that does not validate the identity of the requester. An attacker who can reach the device over the network can issue a crafted request that resets the administrator password to a known/attacker-chosen value without supplying any prior credentials, completing full account takeover in seconds.
Because the flaw requires no authentication (PR:N), no user interaction (UI:N), low attack complexity (AC:L), and is reachable over the network (AV:N), CISA assigned CVSS v3.1 base score 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) and CVSS v4.0 vector CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N. Confidentiality and integrity impact are HIGH; availability impact is rated NONE in the base metrics, although in practice an attacker who has reset the admin password can lock out legitimate operators (account access removal) and stop recording/streaming services, producing an operational-availability effect not captured by the base score.
Exploit chain: (1) Reconnaissance — an attacker discovers internet-exposed KMW cameras (e.g., via mass scanning for the device web interface, ONVIF, RTSP, or the KMW P2P cloud connection), or is positioned on the same LAN/segment as the device. (2) Initial access / credential access — the attacker sends a crafted HTTP request to the unprotected password-change endpoint, which the firmware applies without verifying the caller's identity, setting the admin credential to a known value. (3) Persistence — by controlling the admin account (account manipulation), the attacker retains durable access until an operator notices and reflashes/resets the device. (4) Collection — the attacker authenticates with the new password and accesses live and recorded video feeds (video capture). (5) Impact — the attacker can alter device configuration (data manipulation), disable surveillance/recording (service stop / impair defenses), and remove legitimate operator access (account access removal), enabling surveillance bypass, espionage, and operational disruption in physical-security deployments.
KMW (headquartered in Romania) has released a firmware update addressing the vulnerability, distributed at https://main.kmw.ro/pub/Firmware/521_421.zip. Note that updating the KM-IP421 invalidates its cloud authorization, requiring users to contact KMW support to re-authorize the P2P connection. The vulnerability was reported to CISA by security researcher Souvik Kandar. The CISA SSVC decision point recorded E:N (no known public exploitation) as of 2026-05-27. No public proof-of-concept exploit code has been published, but the triviality of the flaw makes it a high-priority target. These cameras are deployed worldwide across commercial facilities, government services and facilities, critical manufacturing, financial services, and transportation systems, making exposed unpatched devices an attractive foothold for physical-surveillance compromise.
MITRE ATT&CK techniques by tactic:
Persistence
Collection
Initial Access
T1133 External Remote Services; T1190 Exploit Public-Facing Application
Impact
T1489 Service Stop; T1531 Account Access Removal; T1565 Data Manipulation
Credential Access
T1556 Modify Authentication Process
Reconnaissance
T1592 Gather Victim Host Information; T1595 Active Scanning
defense-impairment
Remediation
Patches
- Apply KMW firmware update for KM-IP521 and KM-IP421 from https://main.kmw.ro/pub/Firmware/521_421.zip
- After updating KM-IP421, contact KMW customer support to re-authorize the P2P cloud connection (cloud authorization is lost during update)
Immediate actions
- Remove KMW KM-IP521 and KM-IP421 cameras from direct internet exposure; place behind a firewall and on an isolated/segmented surveillance VLAN
- Audit perimeter and device-facing firewall rules for inbound access to camera web interface, ONVIF, RTSP, and P2P/cloud ports; block where not required
- Verify current admin credentials on all KMW cameras and watch for unexpected admin password changes or lockouts indicating prior compromise
Workarounds
- Isolate cameras on a dedicated network segment that permits only specific authorized management hosts to reach the device
- Disable the P2P/cloud connection feature where not operationally required to reduce remote attack surface
- Restrict device internet access to only required destinations
Longer-term hardening
- Place all surveillance/control-system devices behind firewalls, isolated from business networks (CISA recommended practice)
- Require secure remote access (up-to-date VPN) for any external management; never expose camera management directly to the internet
- Establish a firmware patch-management cadence for IoT/edge surveillance devices and inventory all KMW deployments
- Deploy network monitoring to alert on unauthenticated credential-change requests and anomalous access to camera management endpoints
Affected and fixed versions
- KMW — KM-IP521
Vulnerable versions: IPCAM_V4.04.91.230307
Fixed in: Firmware update at main.kmw.ro/pub/Firmware/521_421.zip - KMW — KM-IP421
Vulnerable versions: IPCAM_V4.04.53.210416
Fixed in: Firmware update at main.kmw.ro/pub/Firmware/521_421.zip (cloud re-authorization required)
Timeline
- Vulnerability reported to CISA by security researcher Souvik Kandar; SSVC decision recorded E:N (no known public exploitation).
- KMW released a firmware update for KM-IP521 and KM-IP421 at locked-ioc-2/pub/Firmware/521_421.zip; KM-IP421 requires P2P cloud re-authorization after update.
- CISA published ICS advisory ICSA-26-148-06 (TLP:WHITE) detailing CVE-2026-5386 in KMW KM-IP521 and KM-IP421 cameras.
- CVE-2026-5386 published in NVD (source ics-cert@hq.dhs.gov) with CVSS v3.1 base score 9.1, CWE-620.
- NVD record last modified; vulnStatus 'Awaiting Analysis'.
- Threadlinqs Intelligence documented threat TL-2026-0661 with full MITRE mapping, IOCs, and detection coverage.
- Cyber Security News published public reporting on the KMW CCTV vulnerability; no confirmed in-the-wild exploitation as of this date.
Sources cited
- CISA ICS Advisory ICSA-26-148-06 — KMW CCTV Security Cameras CISA · Government advisory · 2026-05-28
- CISA CSAF — icsa-26-148-06.json GitHub · Advisory · 2026-05-28
- NVD — CVE-2026-5386 NVD (NIST) · Advisory · 2026-05-29
- CVE Record — CVE-2026-5386 CVE Program · Advisory · 2026-05-29
- CWE-620: Unverified Password Change MITRE · Research · 2026-05-28
- KMW Firmware Update (KM-IP521 / KM-IP421) main.kmw.ro · Vendor report · 2026-05-28
- Critical KMW CCTV Vulnerability Let Attackers Gain Unauthorized Access to Camera Feeds cybersecuritynews.com · News · 2026-06-02
Previous and next in vulnerability
- Claude Code GitHub Actions — checkWritePermissions [bot] Trust Bypass Enables Unauthenticated Repo Compromise via Prompt Injection + OIDC Token Theft (RyotaK / GMO Flatt Security) Previous report
- Linux Kernel cgroups v1 release_agent Container Escape & Privilege Escalation (CVE-2022-0492) — Added to CISA KEV (Active Exploitation) Next report
Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated —.