Skip to content
Heist/ feed
Back to feed
High

Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-40519
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 05:16 UTC · Revision 1

Source evidence

Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()

core-osv · Original source

Published 8 Jun 2026, 19:28 UTC

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.

osv:CVE-2026-40519
Complete source record
{
  "id": "792157b277fbde51a01604a9720d563524050d06edcc865285032e437f54586c",
  "url": "https://osv.dev/vulnerability/CVE-2026-40519",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Nginx Proxy Manager Authenticated RCE via setupCertbotPlugins()",
    "summary": "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.",
    "evidence": "osv:CVE-2026-40519",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-40519",
      "aliases": [
        "CVE-2026-40519"
      ],
      "metrics": [
        {
          "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nginxproxymanager/nginx-proxy-manager",
              "type": "GIT",
              "events": [
                {
                  "introduced": "081380c8d57a8104f724fda2ff8e949d00b8e15a"
                },
                {
                  "fixed": "a5db5ed156355e3088e7d1ceb0533d4bae922def"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.9.14"
                      },
                      {
                        "last_affected": "2.15.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a5db5ed156355e3088e7d1ceb0533d4bae922def"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40519.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.339314564Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40519.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-40519",
        "https://www.vulncheck.com/advisories/nginx-proxy-manager-authenticated-rce-via-setupcertbotplugins",
        "https://github.com/NginxProxyManager/nginx-proxy-manager/pull/5498",
        "https://github.com/NginxProxyManager/nginx-proxy-manager/commit/a5db5ed156355e3088e7d1ceb0533d4bae922def",
        "https://github.com/NginxProxyManager/nginx-proxy-manager"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-78"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40519.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-40519",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500467,
  "published_at": "2026-06-08T19:28:51.872+00:00"
}