CVE-2024-45216: Improper Authentication vulnerability in Apache Solr
Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path.
Published Oct 16, 2024 · Updated Jul 2, 2025
Affected packages
org.apache.solr:solr
- Ecosystem
- Maven
- Affected
- >= 5.3.0, < 8.11.4
- Fixed in
- 8.11.4
- Check
mvn dependency:tree -Dincludes=org.apache.solr:solr
org.apache.solr:solr
- Ecosystem
- Maven
- Affected
- >= 9.0.0, < 9.7.0
- Fixed in
- 9.7.0
- Check
mvn dependency:tree -Dincludes=org.apache.solr:solr
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Solr instances using the PKIAuthenticationPlugin, which is enabled by default when Solr Authentication is used, are vulnerable to Authentication bypass. A fake ending at the end of any Solr API URL path, will allow requests to skip Authentication while maintaining the API contract with the original URL Path. This fake ending looks like an unprotected API path, however it is stripped off internally after authentication but before API routing.
This issue affects Apache Solr: from 5.3.0 before 8.11.4, from 9.0.0 before 9.7.0.
Users are recommended to upgrade to version 9.7.0, or 8.11.4, which fix the issue.
References
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
