Description
Nginx Proxy Manager versions 2.9.14 through 2.15.1, fixed in commit a5db5ed, contain an authenticated remote code execution vulnerability via OS command injection in the setupCertbotPlugins() function in backend/setup.js, allowing attackers with certificates:manage permission to execute arbitrary commands by storing a malicious payload in the dns_provider_credentials field. The user-controlled dns_provider_credentials value is interpolated directly into a shell command executed via child_process.exec() without sanitization or escaping, causing the injected command to execute upon backend restart.
Published: 2026-06-08
Score: 7.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an OS command injection in the setupCertbotPlugins() function of Nginx Proxy Manager's backend/setup.js, allowing an authenticated user with certificates:manage permission to store malicious content in the dns_provider_credentials field that is interpolated directly into a shell command executed via child_process.exec() without sanitization or escaping. This flaw enables the attacker to run arbitrary commands when the backend restarts, effectively granting remote code execution on the host hosting the application; the impact is the complete compromise of confidentiality, integrity, and availability of the server.

Affected Systems

The flaw affects versions 2.9.14 through 2.15.1 of Nginx Proxy Manager. The vendor issued a fix in commit a5db5ed156355e3088e7d1ceb0533d4bae922def; any release after that addresses the problem.

Risk and Exploitability

The CVSS base score is 7.7, classifying the issue as high severity. The EPSS score is not available, and the vulnerability is not listed in CISA KEV, indicating no publicly known active exploitation at this time. However, exploitation requires an authenticated session with certificates:manage rights, which the attacker can obtain, for example, by compromising legitimate credentials or by exploiting other authentication weaknesses. Once authenticated, the attacker can inject malicious shell commands that execute during backend restart, leading to remote code execution. Therefore, the risk is significant, especially for environments that expose the API to untrusted users.

Generated by OpenCVE AI on June 8, 2026 at 20:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Nginx Proxy Manager to a version that includes the fix (any release newer than 2.15.1 or apply the patch at commit a5db5ed).
  • Restrict the certificates:manage permission to trusted administrators only, enforcing least privilege and reviewing user accounts.
  • If an immediate update is not possible, isolate the affected server from the network and monitor for suspicious certificate changes; consider disabling or removing Certbot plugin functionality until a fix is applied.

Generated by OpenCVE AI on June 8, 2026 at 20:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 08 Jun 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Nginxproxymanager
Nginxproxymanager nginx Proxy Manager
Vendors & Products Nginxproxymanager
Nginxproxymanager nginx Proxy Manager

Mon, 08 Jun 2026 19:45:00 +0000

Type Values Removed Values Added
Description Nginx Proxy Manager versions 2.9.14 through 2.15.1, fixed in commit a5db5ed, contain an authenticated remote code execution vulnerability via OS command injection in the setupCertbotPlugins() function in backend/setup.js, allowing attackers with certificates:manage permission to execute arbitrary commands by storing a malicious payload in the dns_provider_credentials field. The user-controlled dns_provider_credentials value is interpolated directly into a shell command executed via child_process.exec() without sanitization or escaping, causing the injected command to execute upon backend restart.
Title Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()
Weaknesses CWE-78
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Nginxproxymanager Nginx Proxy Manager
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-08T19:28:51.872Z

Reserved: 2026-04-13T20:29:02.809Z

Link: CVE-2026-40519

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-08T20:17:00.820

Modified: 2026-06-08T20:17:00.820

Link: CVE-2026-40519

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-08T20:30:06Z

Weaknesses