Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Impact | This vulnerability carries moderate real-world risk despite the absence of a published CVSS vector. The attack requires prior authentication (PR:L equivalent), narrowing the threat actor pool to users or services with legitimate access to the settings endpoint. However, once authenticated, exploitation is trivial-a single HTTP POST with a malicious JSON payload causes immediate, reproducible denial of service. The SSVC factors align as follows: exploitation status is 'proof-of-concept available' (not actively exploited per CISA KEV), automatable complexity is very high (single HTTP request), and technical impact is availability loss (service hangs). Organizations using nginx-ui in production with restrictive authentication controls face lower risk; those exposing the web interface with weak or shared credentials, or running in untrusted networks, face higher risk. The availability of a vendor patch (v2.3.4) further reduces priority for timely patchers. Attack vector is network-based, but the attack complexity is low and requires low privilege, making this a practical concern for multi-tenant or loosely access-controlled deployments. |
| Exploit ScenarioDerived | An authenticated user or compromised account with settings access crafts a POST request to /api/settings with a JSON payload containing 'logrotate.interval': -1. The backend accepts this value, passes it to the rotation scheduling logic without validation, and enters an infinite loop or non-terminating state. Within seconds, the Go web server's CPU usage spikes and the service becomes unresponsive to all subsequent HTTP requests, effectively taking the nginx-ui dashboard offline. Recovery requires manual restart of the application container. No external network tools or escalation are required beyond valid credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 30, 2026
Authenticated denial of service in nginx-ui 2.3.3 and earlier allows any user with settings access to submit a negative integer for the logrotate.interval parameter, triggering an infinite loop in the backend that exhausts CPU resources and renders the web interface unresponsive. Vendor-released patch available in v2.3.4. No public exploit code identified beyond proof-of-concept documentation; not confirmed as actively exploited.
RemediationAI
Upgrade to nginx-ui v2.3.4 or later immediately. This patched version implements lower-bound validation for the logrotate.interval parameter, rejecting negative or zero values before they reach the scheduling logic. For users unable to upgrade immediately, restrict network or authentication access to the /api/settings endpoint via nginx reverse proxy rules or role-based access control (RBAC) to trusted administrators only. Audit logs should be reviewed to identify any prior submissions of negative interval values. The vendor advisory and patched release are available at https://github.com/0xJacky/nginx-ui/releases/tag/v2.3.4 and https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-cp8r-8jvw-v3qg.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the POST /api/settings endpoint handler within nginx-ui, a Go-based web application for nginx configuration management typically deployed in Docker containers. The logrotate.interval field is processed as a signed integer without lower-bound validation before being passed to backend scheduling or rotation calculation logic. In Go runtime, negative time intervals or loop counters can trigger infinite loops or non-terminating iterations when used in timing or scheduling contexts without explicit boundary checks. The root cause is CWE-20 (Improper Input Validation), where the application accepts user-supplied input without sanitizing or validating its range constraints. This is compounded by the fact that logrotate.interval represents a time duration-conceptually a positive value-yet the application does not enforce this semantic constraint.
Know when Docker gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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:latestPoC
- Authenticate to the nginx-ui dashboard.
- Send a POST request to /api/settings (using Burp Suite, Postman, or curl).
- Set the payload as follows:
.
.
.
{
"logrotate": {
"enabled": true,
"cmd": "logrotate /etc/logrotate.d/nginx",
"interval": -1
}
}
.
.
.- 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Related Vulnerabilities in nginx-ui Multiple Vulnerabilities
View all 6An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
EUVD-2026-17154
GHSA-cp8r-8jvw-v3qg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB