CVE-2026-34460

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

State
Published
Severity
5.4 Medium
Published
Jun 2, 2026
Updated
Jun 2, 2026
Reserved
Mar 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.4 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-302 Authentication Bypass by Assumed-Immutable Data
  • CWE-346 Origin Validation Error
  • CWE-352 Cross-Site Request Forgery (CSRF)

Affected Products

ProductVersions
NamelessNamelessMC
  • < 2.2.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.