CVE-2026-40519 PUBLISHED

Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()

Assigner: VulnCheck
Reserved: 13.04.2026 Published: 08.06.2026 Updated: 09.06.2026

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.

Metrics

CVSS 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
CVSS Score: 7.7

Product Status

Vendor NginxProxyManager
Product nginx-proxy-manager
Versions Default: affected
  • affected from 2.9.14 to 2.15.1 (incl.)
  • Version a5db5ed156355e3088e7d1ceb0533d4bae922def is unaffected

Credits

  • Yassine Damiri finder

References

Problem Types

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