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: 4.9% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Dockwatch up to version 0.6.567 is vulnerable to an unauthenticated OS command injection that lets attackers run arbitrary shell commands. The flaw stems from a missing exit() after an authentication redirect in loader.php, which lets a malicious actor set a session flag, and unsanitized input passed to shell_exec() in ajax/compose.php, where the composePath POST parameter is used directly in command construction. The exploitation path is defined by CWE‑78 and CWE‑698, and it enables full host compromise when the Dockwatch container has unrestricted access to the Docker socket.

Affected Systems

All releases of Notifiarr Dockwatch up to and including 0.6.567 are affected. Deployments that map the host Docker socket into the Dockwatch container without additional restrictions are especially vulnerable, as the container can then communicate with the host and potentially gain escalated privileges.

Risk and Exploitability

The vulnerability carries a CVSS score of 9.2, classifying it as Critical. An EPSS score of 5% indicates a low yet non‑zero likelihood that this flaw will be actively exploited. The flaw is not listed in CISA’s KEV catalog. Attackers need only reach the ajax/compose.php endpoint and can exploit the unauthenticated bug by sending a crafted POST request that sets the missing session flag and injects shell commands via the composePath parameter, leading to complete compromise of the host machine.

Generated by OpenCVE AI on August 3, 2026 at 05:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the patch from pull request 135, or upgrade Dockwatch to any release newer than 0.6.567, which restores the missing exit() after authentication and sanitizes the composePath input passed to shell_exec().
  • Restrict Docker socket exposure by mounting it only to containers that truly need it and applying socket‑level access controls to limit its use.
  • Configure the web application to enforce authentication for ajax/compose.php or block external access to that endpoint if it is not required for normal operation.

Generated by OpenCVE AI on August 3, 2026 at 05:37 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

Status : Deferred

Published: 2026-07-02T16:16:35.287

Modified: 2026-07-14T23:17:30.677

Link: CVE-2026-58455

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T05:45:03Z

Weaknesses
  • CWE-698

    Execution After Redirect (EAR)

  • CWE-78

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