CVE-2026-40519
JSON

7.7high

Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()

Severity
7.7high CVSS:4.0 by VulnCheck
Exploit likelihood
1.08% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
NginxProxyManager nginx-proxy-managerfrom 2.9.14 up to 2.15.1
Not affected: a5db5ed156355e3088e7d1ceb0533d4bae922def
CVE List

All scores

VulnCheck7.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-78

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Las versiones de Nginx Proxy Manager 2.9.14 hasta 2.15.1, corregidas en el commit a5db5ed, contienen una vulnerabilidad de ejecución remota de código autenticada a través de inyección de comandos del sistema operativo en la función setupCertbotPlugins() en backend/setup.js, permitiendo a atacantes con permiso certificates:manage ejecutar comandos arbitrarios al almacenar una carga útil maliciosa en el campo dns_provider_credentials. El valor dns_provider_credentials controlado por el usuario se interpola directamente en un comando de shell ejecutado a través de child_process.exec() sin saneamiento ni escape, provocando que el comando inyectado se ejecute al reiniciar el backend.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40519 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-40519 changed 2026-07-23Public domain