CVE-2025-6895 Auth bypass in Melapress Login Security

Critical 9.8 Published Updated

Unauthenticated attackers can bypass authentication and log in as arbitrary users by exploiting a missing authorization check in the token validation function.

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-6895?

CVE-2025-6895 is a critical authentication bypass vulnerability in Melapress Login Security, published on 26 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Melapress Login Security plugin for WordPress is vulnerable to Authentication Bypass due to missing authorization within the get_valid_user_based_on_token() function in versions 2.1.0 to 2.1.1. This makes it possible for unauthenticated attackers who know an arbitrary user meta value to bypass authentication checks and log in as that user.

Weakness: CWE-288

Which versions are affected by CVE-2025-6895?

How do I fix CVE-2025-6895?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2025-6895 being exploited?

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

Sources

Also known as GHSA-rgqx-f26c-5v58.

Is CVE-2025-6895 in your software?

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

Check your SBOMs for free