# CVE-2026-34460: NamelessMC: OAuth callback `state` is not validated, allowing login CSRF / session swapping

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-02T15:29:14.648Z
- Modified: 2026-07-22T19:10:00.120Z
- Weaknesses: CWE-302, CWE-346, CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- NamelessMC Nameless: < 2.2.5

## References

- <https://github.com/NamelessMC/Nameless/security/advisories/GHSA-pmpw-2xvh-5xj6> (exploit)

## Sources

- CVE List: [CVE-2026-34460](https://www.cve.org/CVERecord?id=CVE-2026-34460), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2026-34460](https://nvd.nist.gov/vuln/detail/CVE-2026-34460), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-34460 · Whole record: https://cve.day/CVE-2026-34460.json · Rebuilt by cve.day 2026-11-25T22:59:23.568Z
