Servers and applications
GHSA-57f3-39rr-2mwm
Nginx-UI certificate path validators read arbitrary absolute paths, enabling a file existence oracle and process-crash DoS
- Severity
- Low 3.8
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 20 Nov 2026
- Fixed in
- 2.9.2
- Attack
- Over the network · Needs an administrator account · No user action needed
- Attacker can
- Read some data · Slow it down
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:L- Sources
- Project advisories (GitHub)
Description
The certificate path validators used by POST /api/certs and POST /api/certs/:id ran os.Stat and an unbounded os.ReadFile on any supplied path with no containment. An administrator-equivalent credential could learn whether a path outside the nginx config root exists or holds PEM data (one bit per field, no content returned), and reading a device or FIFO such as /dev/zero could block requests or exhaust memory until the supervised process restarted.
Nginx UI exposes an authenticated certificate management endpoint (POST /api/certs) whose request validators accept arbitrary filesystem paths without any containment check. The ssl_certificate_path and ssl_certificate_key_path fields are validated by custom rules that call cert.IsCertificatePath and cert.IsPrivateKeyPath, which run os.Stat and an unbounded os.ReadFile directly on the attacker-supplied path.
Workarounds
Limit api:write tokens and cluster node credentials to trusted automation.
Affected software
| Software | Affected versions |
|---|---|
Nginx UIServers and applications · github:0xjacky/nginx-ui |
|
About Nginx UI
Yet another WebUI for Nginx
- Docker Hub pulls
- 1,512,532Docker Hub, 15 Nov 2026
- GitHub stars
- 11,783GitHub, 15 Nov 2026
- Forks
- 921GitHub, 15 Nov 2026
- Latest release
- v3.0.3GitHub, 15 Nov 2026
- Released
- 12 Nov 2026GitHub
- License
- AGPL-3.0GitHub
- First published on GitHub
- 19 Feb 2021GitHub
Source code Website Docker image
Vulnerabilities in Nginx UI
- In our list
- 75
- Published in the last 12 months
- 67
- Critical, last 12 months
- 11
- High, last 12 months
- 34
- Known exploited
- 0
- GHSA-c2cq-7453-7xpjRead-only service tokens still receive stored secrets (incomplete fix of GHSA-pw4f-pq6v-x57r)Medium 6.5 20 Nov 2026
- GHSA-xwxf-xc5j-p7hxDirective denylist bypass via mid-token '#' tokenizer differential (incomplete fix of GHSA-cf23-7qxj-xmhr)High 7.2 20 Nov 2026
- GHSA-2rjr-44wx-8qpgJwtSecret Overwrite via Settings API Causes Session Invalidation and MonopolyLow 3.8 12 Nov 2026
- GHSA-p355-qjwh-8hgmOpenAI API Key Exfiltration via Unprotected BaseUrl Setting ChangeLow 2.7 12 Nov 2026
- GHSA-hf3h-p3fr-3f2rFull backup exports expose reusable interactive login sessions to management credentialsMedium 6.6 12 Nov 2026
- GHSA-mfj4-8rf3-rpq6Unauthenticated dependency inventory + version disclosure via `/api/licenses*`Medium 5.3 12 Nov 2026
References
- GitHub Advisory Database https://github.com/advisories/GHSA-57f3-39rr-2mwm
- github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-57f3-39rr-2mwm