CVE-2026-84317 json
Nginx UI: MCP nginx_config_add skips config directive validation → authenticated nginx directive injection (RCE on the official image)
published 30d ago modified 23d ago also EUVD-2026-97895 , GHSA-76pm-mq2q-9gcr , GO-2026-6779
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
Nginx UI is a web user interface for the Nginx web server. Prior to 2.4.1, internal/config/validation.go (ValidateConfigFile) is a security control that blocks dangerous nginx directives — js_*, perl_*, load_module of the njs/perl modules, and user root. It is enforced on three of the four config-write paths: api/config/add.go, api/config/modify.go, and mcp/config/config_modify.go. The fourth path — the MCP tool nginx_config_add (mcp/config/config_add.go) — does NOT call it: it writes the caller-supplied content straight to disk and reloads nginx. An authenticated MCP caller (or an MCP agent induced via prompt injection) can therefore inject exactly the directives the control is meant to block, leading to nginx code execution on deployments where the njs/perl module is available (e.g. the official Docker image). This issue is fixed in version 2.4.1.
Patch / fix
- go github.com/0xJacky/Nginx-UI 1.9.10-0.20260703131214-23d1934099b0
- nginxui nginx_ui 2.4.1
Is CVE-2026-84317 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 29d ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-11).
Exploits and checks
- github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-76pm-mq2q-9gcr referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/0xJacky/Nginx-UI | <1.9.10-0.20260703131214-23d1934099b0 |
1.9.10-0.20260703131214-23d1934099b0 |
Affected products
- 0xJacky nginx-ui
Classification
References
-
github.com
/0xJacky/nginx-ui/commit/23d1934099b05b2a01589b48129dc3d3159d91c2
web
-
github.com
/0xJacky/nginx-ui/security/advisories/GHSA-76pm-mq2q-9gcr
exploit, web, advisory
-
github.com
/0xJacky/nginx-ui/releases/tag/v2.4.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-84317
advisory
-
github.com
/0xJacky/nginx-ui
package
Sources
- CVE List CVE-2026-84317
- GitHub Advisory GHSA-76pm-mq2q-9gcr
- NVD CVE-2026-84317
- OSV GO-2026-6779
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.