CRITICAL🇵🇱 Wersja polska

CVE-2026-58455

CVSS 9.2v4.0pub. 2026-07-02upd. 2026-07-06

Dockwatch through 0.6.567 contains an unauthenticated OS command injection vulnerability that allows remote attackers to execute arbitrary shell commands by exploiting a missing exit() after an authentication redirect in loader.php combined with unsanitized input passed to shell_exec() in ajax/compose.php. Attackers can seed the required session flag through the incomplete auth check, then inject arbitrary commands via the composePath POST parameter in the composePull action to achieve full host compromise, facilitated by the standard deployment mounting of the Docker socket.

🤖 AI Analysis
How it works

The vulnerability results from a combination of two flaws: missing exit() call after authentication redirect in loader.php (CWE-698) and lack of input sanitization for data passed to the shell_exec() function in ajax/compose.php (CWE-78). The attacker first initializes the required session token by exploiting incomplete authentication control in loader.php – despite the redirect, script execution continues. Then, using a POST request with the composePath parameter in the composePull action, the attacker injects arbitrary system commands that are executed without any verification by shell_exec().

Impact

An attacker can execute arbitrary system shell commands on the host without authentication. Through the standard mounted Docker socket, full host compromise is possible, including reading and modifying data as well as launching processes.

Mitigation & patch

Dockwatch should be updated to a version containing the fix described in pull request #135 in the GitHub repository (https://github.com/Notifiarr/dockwatch/pull/135). Until the patch is implemented, it is recommended to restrict network access to the Dockwatch interface exclusively to trusted networks/IP addresses using a firewall or reverse proxy with access control.

Who is affected

Dockwatch versions up to and including 0.6.567

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:P/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
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
ContainerCommand Injection
CWE
References