CVE-2026-58455

Dockwatch 0.6.567 Unauthenticated OS Command Injection via ajax/compose.php

Published Jul 2, 2026 CVSS 4.0 · 9.2 Critical EPSS 8.0% KEV · Not listed
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.

Analysis

AI-generated

Technical 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 8% indicates a modest likelihood that this flaw may 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.

Remediation

No solution or workaround provided in the CVE record.

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 24, 2026 at 17:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Notifiarr
Notifiarr dockwatch
Vendors & Products Notifiarr
Notifiarr dockwatch
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-698

    Execution After Redirect (EAR)

  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:07 PM
Reserved
Jun 30, 2026, 8:20 PM
Status
Deferred
Published
Jul 2, 2026, 4:16 PM
Modified
Oct 25, 2026, 9:10 PM