{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-40519: Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-40519","status":"final","version":"1","initial_release_date":"2026-06-08T19:28:51.872Z","current_release_date":"2026-06-09T14:35:09.015Z","revision_history":[{"date":"2026-06-08T19:28:51.872Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-40519 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-40519"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-40519"},{"category":"external","summary":"github.com","url":"https://github.com/NginxProxyManager/nginx-proxy-manager/pull/5498"},{"category":"external","summary":"github.com","url":"https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a5db5ed156355e3088e7d1ceb0533d4bae922def"},{"category":"external","summary":"vulncheck.com","url":"https://www.vulncheck.com/advisories/nginx-proxy-manager-authenticated-rce-via-setupcertbotplugins"}]},"product_tree":{"branches":[{"category":"vendor","name":"NginxProxyManager","branches":[{"category":"product_name","name":"nginx-proxy-manager","branches":[{"category":"product_version_range","name":">=2.9.14 <=2.15.1","product":{"name":"NginxProxyManager nginx-proxy-manager >=2.9.14 <=2.15.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:nginxproxymanager:nginx-proxy-manager:*:*:*:*:*:*:*:*"}}},{"category":"product_version","name":"a5db5ed156355e3088e7d1ceb0533d4bae922def","product":{"name":"NginxProxyManager nginx-proxy-manager a5db5ed156355e3088e7d1ceb0533d4bae922def","product_id":"CSAFPID-2","product_identification_helper":{"cpe":"cpe:2.3:a:nginxproxymanager:nginx-proxy-manager:*:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-40519","title":"Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()","notes":[{"category":"description","text":"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":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"],"fixed":["CSAFPID-2"]},"scores":[{"cvss_v4":{"version":"4.0","vectorString":"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","baseScore":7.7,"baseSeverity":"HIGH"},"products":["CSAFPID-1"]}],"remediations":[{"category":"vendor_fix","details":"Update to a fixed version: a5db5ed156355e3088e7d1ceb0533d4bae922def.","product_ids":["CSAFPID-1"],"url":"https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a5db5ed156355e3088e7d1ceb0533d4bae922def"}]}]}