CVE-2025-6254 Doctreat Core <= 1.6.8 - Unauthenticated Privilege Escalation

Critical 9.8 Published Updated

Unauthenticated attackers can register as administrators due to improper role restriction in the Doctreat Core WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6254?

CVE-2025-6254 is a critical vulnerability in AmentoTech Doctreat Core, published on 10 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Doctreat Core plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 1.6.8. This is due to the doctreat_process_registration() function not properly restricting the roles that a user can register with. This makes it possible for unauthenticated attackers to register as an administrator user.

Weakness: CWE-269

Which versions are affected by CVE-2025-6254?

How do I fix CVE-2025-6254?

No fix has been published for CVE-2025-6254 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-6254 being exploited?

There is no known exploitation of CVE-2025-6254 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

Sources

Also known as GHSA-cx49-m9xj-cc6r.

Is CVE-2025-6254 in your software?

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

Check your SBOMs for free