Skip to main content

Dockwatch CVE-2026-58455

| EUVDEUVD-2026-41405 CRITICAL
Execution After Redirect (EAR) (CWE-698)
2026-07-02 VulnCheck GHSA-cgfv-42v7-7f53
9.2
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
9.2 CRITICAL
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
vuln.today AI
9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

2
Analysis Generated
Jul 02, 2026 - 16:31 vuln.today
CVE Published
Jul 02, 2026 - 15:12 cve.org
CRITICAL 9.2

DescriptionCVE.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.

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.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Share

CVE-2026-58455 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy