{"id":"CVE-2026-40519","summary":"Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()","details":"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.","modified":"2026-11-09T02:47:16.178323344Z","published":"2026-06-08T19:28:51.872Z","database_specific":{"cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40519.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40519.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40519"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nginx-proxy-manager-authenticated-rce-via-setupcertbotplugins"},{"type":"FIX","url":"https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a5db5ed156355e3088e7d1ceb0533d4bae922def"},{"type":"FIX","url":"https://github.com/NginxProxyManager/nginx-proxy-manager/pull/5498"},{"type":"PACKAGE","url":"https://github.com/NginxProxyManager/nginx-proxy-manager"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nginxproxymanager/nginx-proxy-manager","events":[{"introduced":"081380c8d57a8104f724fda2ff8e949d00b8e15a"},{"fixed":"a5db5ed156355e3088e7d1ceb0533d4bae922def"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"2.9.14"},{"last_affected":"2.15.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"a5db5ed156355e3088e7d1ceb0533d4bae922def"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40519.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}