Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 43%

CVE-2026-40519: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in NginxProxyManager nginx-proxy-manager

0
High
VulnerabilityCVE-2026-40519cvecve-2026-40519
Published: 06/08/2026 (06/08/2026, 19:28:51 UTC)
Source: CVE Database V5
Vendor/Project: NginxProxyManager
Product: nginx-proxy-manager

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.

CVSS v4.0

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
nginxproxymanager/nginx-proxy-manager
pkg:github/nginxproxymanager/nginx-proxy-manager
Affected versions
>=2.9.14 <2.15.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:28:53 UTC

Technical Analysis

CVE-2026-40519 is an authenticated remote code execution vulnerability in Nginx Proxy Manager's setupCertbotPlugins() function located in backend/setup.js. The vulnerability arises because the user-controlled dns_provider_credentials value is directly interpolated into a shell command executed via child_process.exec() without proper sanitization or escaping. This allows attackers with certificates:manage permission to inject and execute arbitrary OS commands when the backend restarts. The affected versions include 2.9.14 through 2.15.1, with a fix committed in a5db5ed. The CVSS 4.0 score is 7.7, indicating a high severity vulnerability.

Potential Impact

An attacker with authenticated access and certificates:manage permission can execute arbitrary OS commands on the backend server. This can lead to full system compromise, data theft, or disruption of service. The vulnerability requires authentication but does not require user interaction beyond permission to manage certificates.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the fix is referenced by a commit (a5db5ed) but no official patch or release is confirmed, users should monitor the vendor's advisories for an official update. Until patched, restrict certificates:manage permissions to trusted users only and avoid backend restarts with untrusted dns_provider_credentials values.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-04-13T20:29:02.809Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a271c94e29bf47b5081f5ab

Added to database: 06/08/2026, 19:48:36 UTC

Last enriched: 07/15/2026, 10:28:53 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 134

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses