Severity by source
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
Unauthenticated network-reachable command injection with a reliable, attacker-controlled auth bypass gives AC:L/PR:N/UI:N and full C/I/A impact; scope kept Unchanged to match the vendor's containment view.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Unauthenticated OS command injection in Notifiarr Dockwatch through version 0.6.567 lets remote attackers run arbitrary shell commands on the host and achieve full compromise, since default deployments mount the Docker socket. The root cause is an Execution-After-Redirect flaw (CWE-698) where loader.php redirects unauthenticated users but fails to call exit(), allowing the attacker to seed the required session flag and then reach shell_exec() in ajax/compose.php with attacker-controlled input. The CVSS 4.0 base score is 9.2 (VC/VI/VA all High); there is no public exploit identified at time of analysis and it is not listed in CISA KEV, though a vendor advisory and upstream fix exist.
Technical ContextAI
Dockwatch is a PHP web application (tagged PHP, Docker) from Notifiarr that manages and monitors Docker containers, identified in the affected CPE as cpe:2.3:a:notifiarr:dockwatch. The vulnerability class is CWE-698, Execution After Redirect (EAR): loader.php issues an HTTP redirect for unauthenticated requests but does not terminate script execution with exit()/die(), so PHP keeps processing the request and evaluates authenticated-only logic anyway. This lets an attacker set the session flag that the incomplete auth check relies on, after which the composePull action in ajax/compose.php passes the composePath POST parameter into shell_exec() without sanitization, yielding OS command execution. Because standard Dockwatch deployments bind-mount the host Docker socket into the container for their management features, code execution in the app translates directly into control over the Docker daemon and therefore the underlying host.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the code fix from https://github.com/Notifiarr/dockwatch/pull/135, which adds the missing exit() after the authentication redirect and addresses the unsanitized shell_exec() input, and upgrade to the first Notifiarr Dockwatch release that incorporates PR #135 (verify the exact tagged version against the project's release notes, as the input data does not confirm a specific fixed version number). Until patched, remove Dockwatch from any untrusted or internet-facing network and place it behind authenticated reverse-proxy access or a VPN so the composePull endpoint in ajax/compose.php cannot be reached anonymously, and restrict source IPs to trusted admin hosts. Where feasible, reduce blast radius by not bind-mounting the host Docker socket directly (use a least-privilege docker-socket-proxy that limits API scope), accepting that this may break some container-management features. Consult the VulnCheck advisory at https://www.vulncheck.com/advisories/dockwatch-unauthenticated-os-command-injection-via-ajax-compose-php for authoritative guidance.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-698 – Execution After Redirect (EAR)
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41405
GHSA-cgfv-42v7-7f53