Description
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.
Published: 2026-07-02
Score: 9.2 Critical
EPSS: 1.2% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dockwatch through version 0.6.567 is vulnerable to a missing exit() after an authentication redirect in loader.php that allows an attacker to set a session flag without authenticating. This flag bypass permits the attacker to send a POST request to ajax/compose.php with an unsanitized composePath value. The application then passes this value directly to shell_exec(), leading to an OS command–injection flaw defined by CWE‑78 and CWE‑698, which permits the execution of arbitrary shell commands on the host.

Affected Systems

All releases of Notifiarr’s Dockwatch up to and including 0.6.567 are affected. Deployments that mount the Docker socket inside the Dockwatch container without additional restrictions are particularly vulnerable, because the container can communicate with the host Docker API and thus gain escalated privileges.

Risk and Exploitability

With a CVSS score of 9.2 the vulnerability is classified as critical, and an EPSS score of 1% indicates a low but non‑zero likelihood of exploitation. The flaw can be exploited by any remote actor that can reach the ajax/compose.php endpoint, requiring no authentication. It is not currently listed in CISA's KEV catalog, but the potential for full host compromise makes it highly consequential.

Generated by OpenCVE AI on July 22, 2026 at 13:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the fix provided in pull request 135, which restores the exit() after authentication and sanitizes the composePath input, or upgrade Dockwatch to any release newer than 0.6.567.
  • Limit exposure of the Docker socket by mounting it only to containers that truly need it and apply socket‑level access controls to restrict its use.
  • Configure the web application to enforce proper authentication for ajax/compose.php or block external access to that endpoint if it is not required for legitimate use.

Generated by OpenCVE AI on July 22, 2026 at 13:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Notifiarr
Notifiarr dockwatch
Vendors & Products Notifiarr
Notifiarr dockwatch

Mon, 06 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 02 Jul 2026 16:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Dockwatch 0.6.567 Unauthenticated OS Command Injection via ajax/compose.php
Weaknesses CWE-698
CWE-78
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.2, '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'}


Subscriptions

Notifiarr Dockwatch
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:06.336Z

Reserved: 2026-06-30T20:20:33.789Z

Link: CVE-2026-58455

cve-icon Vulnrichment

Updated: 2026-07-06T12:24:16.239Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-22T13:30:05Z

Weaknesses
  • CWE-698

    Execution After Redirect (EAR)

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')