Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-33029 — nginx-ui

🟡 CVSS 6.5 — Medium ✅ No Known Exploit CWE-20 NVD
6.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

nginx-ui Vulnerable to DoS via Negative Integer Input in Logrotate Interval

Summary

An input validation vulnerability in the logrotate configuration allows an authenticated user to cause a complete Denial of Service (DoS). By submitting a negative integer for the rotation interval, the backend enters an infinite loop or an invalid state, rendering the web interface unresponsive.

Details

The vulnerability exists in the handler for the POST /api/settings endpoint. Specifically, the logrotate.interval field is accepted as a signed integer without lower-bound verification. When a negative value is processed by the backend logic responsible for scheduling or calculating the next rotation, it triggers a non-terminating loop. This consumes CPU resources and prevents the Go web server from handling further concurrent requests.

Environment:

  • OS: Kali Linux 6.17.10-1kali1 (6.17.10+kali-amd64)
  • nginx-ui version: 2.3.3 (513) e5da6dd (go1.26.0 linux/amd64)
  • Deployment: Docker container
  • Run Command:

```

docker run -dit \

--name=nginx-ui \

--restart=always \

-v /mnt/user4/appdata/nginx:/etc/nginx \

-v /mnt/user4/appdata/nginx-ui:/etc/nginx-ui \

-v /var/run/docker.sock:/var/run/docker.sock \

-p 8080:80 -p 8443:443 \

uozi/nginx-ui:latest

```

PoC

1. Authenticate to the nginx-ui dashboard.

2. Send a POST request to /api/settings (using Burp Suite, Postman, or curl).

3. Set the payload as follows:

```

.

.

.

{

"logrotate": {

"enabled": true,

"cmd": "logrotate /etc/logrotate.d/nginx",

"interval": -1

}

}

.

.

.

```

4. Observe that the web server stops responding to all subsequent requests immediately after the injection.

<img width="1041" height="390" alt="image" src="https://github.com/user-attachments/assets/b746a91a-dd63-4f5e-b1a8-382b9d08e181" />

Impact

This is a High-availability vulnerability (CWE-20: Improper Input Validation). Any authenticated user with access to settings can permanently hang the service.

A patched version of nginx-ui is available at https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.4.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Weakness class

CVE-2026-33029 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.

Affected software

CVE-2026-33029 is recorded against 2 packages.

  • github.com/0xjacky/nginx-ui
  • nginx-ui (fixed in 2.3.4)

Timeline and source

Published on 2 April 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.

References

github.com (Advisory)
nvd.nist.gov (Advisory)
github.com (Web)

Other advisories for this package

github.com/0xjacky/nginx-ui has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-20: Improper Input Validation) in other software:

Details

Severity Medium
CVSS Score 6.5
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE CWE-20
Public Exploit ✅ No
Source NVD
Published 2026-04-02
Updated 2026-08-20
Modified 2026-04-02
Fix URL N/A

Affected Packages

Software From version Fixed in
github.com/0xjacky/nginx-ui
nginx-ui 2.3.4

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in nginx-ui

CVE-2026-33029 is rated CVSS 6.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026