CVE-2026-34460
JSON

5.4medium

NamelessMC: OAuth callback `state` is not validated, allowing login CSRF / session swapping

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

NamelessMC is website software for Minecraft servers. In versions 2.2.4 and prior, the OAuth callback handling does not validate the state parameter server-side before exchanging the authorization code. This allows an attacker to capture a valid OAuth callback URL for their own account and cause a victim's browser to navigate to it, resulting in the victim's session being authenticated as the attacker-linked account (OAuth login CSRF / session swapping). This is patched in version 2.2.5.

Affected

Product or packageVersionsReported by
NamelessMC Nameless< 2.2.5CVE List

Classification

CWE-302CWE-346CWE-352

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

NamelessMC is website software for Minecraft servers. In versions 2.2.4 and prior, the OAuth callback handling does not validate the state parameter server-side before exchanging the authorization code. This allows an attacker to capture a valid OAuth callback URL for their own account and cause a victim's browser to navigate to it, resulting in the victim's session being authenticated as the attacker-linked account (OAuth login CSRF / session swapping). This is patched in version 2.2.5.

NVD (es)

NamelessMC es un software de sitio web para servidores de Minecraft. En las versiones 2.2.4 y anteriores, el manejo de la devolución de llamada de OAuth no valida el parámetro state en el lado del servidor antes de intercambiar el código de autorización. Esto permite a un atacante capturar una URL de devolución de llamada de OAuth válida para su propia cuenta y hacer que el navegador de una víctima navegue a ella, lo que resulta en que la sesión de la víctima se autentique como la cuenta vinculada al atacante (CSRF de inicio de sesión de OAuth / intercambio de sesión). Esto está parcheado en la versión 2.2.5.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34460 changed 2026-06-02CVE Terms of Use
NVDCVE-2026-34460 changed 2026-07-22Public domain