All vulnerabilities

Servers and applications

GHSA-q856-qj25-p7fc

OIDC login resolves the local account from unverified, end-user-controlled claims, allowing impersonation of any user including the administrator

Severity
High 7.5
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
2.9.5
Weakness
Improper authentication (CWE-287)Authentication bypass by spoofing (CWE-290)
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 OIDC login was enabled, Nginx UI picked the local account from the ID token through the fallback chain Identifier → email → name → sub and matched the result against existing account names. name is a display name the user can edit at most identity providers, and email was trusted without email_verified. A configured Identifier whose claim was missing also fell through silently to the next claim. Anyone who could sign in at the configured identity provider could log in to Nginx UI as an existing account, including the administrator, by setting their own display name or email to that account's username. The identity provider doesn't need to be compromised.

Instances with OIDC login enabled whose identity provider serves people other than the Nginx UI users, such as a company tenant, a shared Keycloak, Authentik or Zitadel, or any provider with self-registration. An attacker gets a session for an existing account they choose by name.

From 0xJacky/nginx-ui's security advisory.

Workarounds

Until you upgrade, allow only the people who should have Nginx UI accounts to sign in to the Nginx UI application at your identity provider.

Workarounds as given by 0xJacky/nginx-ui's security advisory.

Affected software

SoftwareAffected versions
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • From 2.3.3 before 2.9.5

About Nginx UI

Yet another WebUI for Nginx

From its GitHub repository.
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

References