CVE-2026-40519: NginxProxyManager nginx-proxy-manager · OS Command Injection
Affects NginxProxyManager nginx-proxy-managerSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 2.15.2 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 60% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.15.2
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade nginxproxymanager/nginx-proxy-manager to 2.15.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NginxProxyManagernginx-proxy-manager | Affected
| Fixed in– |
GitHubnginxproxymanager/nginx-proxy-managerpkg:github/nginxproxymanager/nginx-proxy-managerOther threats | Affected
| Fixed in
|
GitHubnginx-proxy-managerpkg:github/nginx-proxy-managerOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until patched, restrict certificates:manage permissions to trusted users only and avoid backend restarts with untrusted dns_provider_credentials values.
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.
References
- github.com/NginxProxyManager/nginx-proxy-manager/pull/5498 (opens in a new tab)
- github.com/NginxProxyManager/nginx-proxy-manager/commit/a5db5ed156355e3088e7d1ceb0533d4bae922def (opens in a new tab)
- vulncheck.com/advisories/nginx-proxy-manager-authenticated-rce-via-setupcertbotplugins (opens in a new tab)