CVE-2025-66296 Grav vulnerable to Privilege Escalation in Grav Admin: Missing Username Uniqueness Check Allows Admin Account Takeover

High 8.8 Published Updated

A user with create permissions can take over admin accounts by creating duplicate usernames, leading to full administrator access.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-66296?

CVE-2025-66296 is a high-severity vulnerability in Getgrav Grav, published on 1 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a privilege escalation vulnerability exists in Grav’s Admin plugin due to the absence of username uniqueness validation when creating users. A user with the create user permission can create a new account using the same username as an existing administrator account, set a new password/email, and then log in as that administrator. This effectively allows privilege escalation from limited user-manager permissions to full administrator access. This vulnerability is fixed in 1.8.0-beta.27.

Weakness: CWE-266

Which versions are affected by CVE-2025-66296?

2 open source packages ship an affected version, including getgrav/grav. It affects 1 product.

PackageAffectedFixed in
getgrav/grav PackagistAll versions1.8.0-beta.27
getgrav/grav PackagistAll versions1.8.0-beta.27

Products include Getgrav Grav.

How do I fix CVE-2025-66296?

Upgrade getgrav/grav to 1.8.0-beta.27 or later.

Is CVE-2025-66296 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-66296 exists.

All Getgrav Grav vulnerabilities

Sources

Also known as GHSA-cjcp-qxvg-4rjm.

Is CVE-2025-66296 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free