Servers and applications
GHSA-gv2g-m37c-8wwh
Casdoor login accepts tokens from other organizations and, in the JWT-Standard format, resolves the account by display name
- Severity
- High 7.5
- Published
- 25 Nov 2026
- Last changed
- 25 Nov 2026
- Added to UpHeron
- 25 Nov 2026
- Fixed in
- 2.9.5
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- Sources
- Project advisories (GitHub)
Description
When Casdoor login is configured, the Nginx UI callback verified only the signature of the Casdoor access token and then signed in the local account whose username equalled the token's name claim. It did not check which Casdoor organization the user belongs to, which application the token was issued for, or the token type. In the JWT-Standard token format, name carries the user's display name (the username is in preferred_username), and Casdoor lets users edit their display name by default.
Affects instances with Casdoor login configured. Depending on the Casdoor configuration, a person holding an ordinary Casdoor account could be signed in as an existing Nginx UI account with the same name, including an administrator:
- a user of a different Casdoor organization that can sign in to the application (for example the built-in organization, or other organizations of a shared application);
- with the JWT-Standard token format, any user of the configured organization who sets their…
Workarounds
Use the JWT or JWT-Empty token format for the Casdoor application used by Nginx UI, do not let users of other organizations sign in to it, and disable sign-up and guest sign-in for it. Alternatively, require a second factor for all accounts (MFARequired).
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,579,192Docker Hub, 22 Nov 2026
- GitHub stars
- 11,815GitHub, 22 Nov 2026
- Forks
- 924GitHub, 22 Nov 2026
- Latest release
- v3.0.6GitHub, 22 Nov 2026
- Released
- 19 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
- 78
- Published in the last 12 months
- 70
- Critical, last 12 months
- 11
- High, last 12 months
- 36
- Known exploited
- 0
- GHSA-q856-qj25-p7fcOIDC login resolves the local account from unverified, end-user-controlled claims, allowing impersonation of any user including the administratorHigh 7.5 25 Nov 2026
- GHSA-8mrc-pvvv-f7p8Nginx Include Directive Validation Bypass via `glob(3)` vs `filepath.Glob` Character Class Mismatch in `internal/config/includes.go` (`glibcGlobPattern()`)Medium 6.6 23 Nov 2026
- GHSA-57f3-39rr-2mwmNginx-UI certificate path validators read arbitrary absolute paths, enabling a file existence oracle and process-crash DoSLow 3.8 20 Nov 2026
- 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
References
- GitHub Advisory Database https://github.com/advisories/GHSA-gv2g-m37c-8wwh
- github.com https://github.com/0xJacky/nginx-ui/security/advisories/GHSA-gv2g-m37c-8wwh