CVE-2025-50087 Missing authorization in MySQL Cluster

Medium 4.9 Published Updated

High-privileged attackers can modify or delete critical data in MySQL Server via the Optimizer component.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-50087?

CVE-2025-50087 is a medium-severity missing authorization vulnerability in Oracle Mysql, published on 15 Jul 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Optimizer). Supported versions that are affected are 8.0.0-8.0.42, 8.4.0-8.4.5 and 9.0.0-9.3.0. Easily exploitable vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all MySQL Server accessible data. CVSS 3.1 Base Score 4.9 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N).

Weakness: CWE-284

Which versions are affected by CVE-2025-50087?

It affects 1 product.

Products include Oracle Mysql.

How do I fix CVE-2025-50087?

Apply the vendor's patch.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-50087 being exploited?

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

All Oracle Mysql vulnerabilities

Sources

Also known as AZL-65288, AZL-65462, GHSA-x3xg-7fvh-66q9, MINI-4v3j-g6cq-m49v, MINI-558q-xvj5-6gh4, MINI-j5p2-x8x6-9jwj and 1 more.

Is CVE-2025-50087 in your software?

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

Check your SBOMs for free