Poc Nginx Ui Cve 2026 27944
The /api/backup endpoint in Nginx UI before 2.3.3 could be reached without authentication and its response header disclosed the AES key and IV used to encrypt the backup. An unauthenticated attacker could therefore download and decrypt a full system backup containing credentials, session tokens, SSL private keys and Nginx configurations.
Nginx versions prior to 2.3.3 are affected by CVE-2026–27944 having a CVSS 3.1 score of 9.8. In these versions, the /api/backup endpoint is accessible without authentication.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An unauthenticated attacker could download and decrypt a full system backup containing sensitive data such as user credentials, session tokens, SSL private keys and Nginx configurations.
What the attacker needed
Network access to the Nginx UI instance; no authentication needed
The fix
Nginx UI should be updated to v2.3.3 or later, which patches the unauthenticated access; restricting access to the endpoint is only a temporary workaround.
How it was found
- Send a GET request to the /api/backup endpoint without any authentication.
- Receive the backup ZIP file and read the X-Backup-Security header, which contains the key and IV in base64 separated by a colon.
- Decrypt each encrypted backup file using AES-256 in CBC mode with that key and IV.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Nginx UI is a web dashboard for managing the Nginx web server. A backup feature let anyone download a copy of the server's settings and secrets without logging in, and the response even included the key needed to unlock that copy. That means a stranger could read passwords, login tokens and private encryption keys for the site.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.