CVE-2026-40519
Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()
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.
INFO
Published Date :
June 8, 2026, 8:17 p.m.
Last Modified :
July 23, 2026, 8:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 4.0 | HIGH | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | HIGH | [email protected] |
Solution
- Apply the fix commit a5db5ed to Nginx Proxy Manager.
- Update Nginx Proxy Manager to a non-vulnerable version.
- Restrict certificates:manage permissions to trusted users.
- Sanitize user input for dns_provider_credentials.
Public PoC/Exploit Available at Github
CVE-2026-40519 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40519.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40519 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40519
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
🐳 docker-compose 를 활용한 취약한 환경 구성 및 검증 (vulhub 한글판)
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40519 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40519 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 23, 2026
Action Type Old Value New Value Added Translation Title: Nginx Proxy Manager, Description: 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. -
CVE Modified by [email protected]
Jul. 14, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://github.com/NginxProxyManager/nginx-proxy-manager', 'vendor': 'NginxProxyManager', 'product': 'nginx-proxy-manager', 'versions': [{'status': 'affected', 'version': '2.9.14', 'versionType': 'semver', 'lessThanOrEqual': '2.15.1'}, {'status': 'unaffected', 'version': 'a5db5ed156355e3088e7d1ceb0533d4bae922def', 'versionType': 'git'}], 'defaultStatus': 'affected'}] [{'repo': 'https://github.com/NginxProxyManager/nginx-proxy-manager', 'vendor': 'NginxProxyManager', 'product': 'nginx-proxy-manager', 'versions': [{'status': 'affected', 'version': '2.9.14', 'versionType': 'semver', 'lessThanOrEqual': '2.15.1'}, {'status': 'unaffected', 'version': 'a5db5ed156355e3088e7d1ceb0533d4bae922def', 'versionType': 'git'}], 'packageURL': 'pkg:github/NginxProxyManager/nginx-proxy-manager', 'defaultStatus': 'affected'}] -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://github.com/NginxProxyManager/nginx-proxy-manager', 'vendor': 'NginxProxyManager', 'product': 'nginx-proxy-manager', 'versions': [{'status': 'affected', 'version': '2.9.14', 'versionType': 'semver', 'lessThanOrEqual': '2.15.1'}, {'status': 'unaffected', 'version': 'a5db5ed156355e3088e7d1ceb0533d4bae922def', 'versionType': 'git'}], 'defaultStatus': 'affected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-40519', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-09T14:33:34.717862Z'} -
New CVE Received by [email protected]
Jun. 08, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a5db5ed156355e3088e7d1ceb0533d4bae922def Added Reference https://github.com/NginxProxyManager/nginx-proxy-manager/pull/5498 Added Reference https://www.vulncheck.com/advisories/nginx-proxy-manager-authenticated-rce-via-setupcertbotplugins