CVE-2026-40519: Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()

Published Jun 8, 2026
·
Updated

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 dnsprovidercredentials field. The user-controlled dnsprovidercredentials value is interpolated directly into a shell command executed via childprocess.exec() without sanitization or escaping, causing the injected command to execute upon backend restart.

Affected Software

1 affected component
Nginx Proxy Manager Nginx Proxy Manager>=2.9.14<=2.15.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Nginx Proxy Manager to a version that resolves this vulnerability.

    Patch a5db5ed
  2. Compensating control

    Temporarily restrict the account/permission that includes certificates:manage so only trusted users can access it, to reduce who can exploit the authenticated OS command injection in setupCertbotPlugins() (backend/setup.js).

  3. Operational

    After applying the fix/commit, rotate or re-save any stored certificate/letsencrypt provider credentials that were in dns_provider_credentials, since a malicious payload could have been persisted and may execute on backend restart.

Event History

Jun 8, 2026
CVE Published
via MITRE·07:28 PM
Data Sourced
via MITRE·07:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-40519?

CVE-2026-40519 has a severity rating of high, with a score of 7.5.

2

How do I fix CVE-2026-40519?

To fix CVE-2026-40519, update Nginx Proxy Manager to version 2.15.2 or later.

3

What versions of Nginx Proxy Manager are affected by CVE-2026-40519?

Nginx Proxy Manager versions 2.9.14 through 2.15.1 are affected by CVE-2026-40519.

4

What type of vulnerability is CVE-2026-40519?

CVE-2026-40519 is an authenticated remote code execution vulnerability due to OS command injection.

5

Who can exploit CVE-2026-40519?

Attackers with 'certificates:manage' permission can exploit CVE-2026-40519 to execute arbitrary commands.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203