Apache Solr Relative Path Traversal vulnerability
Relative Path Traversal vulnerability in Apache Solr.
Solr instances running on Windows are vulnerable to arbitrary filepath write-access, due to a lack of input-sanitation in the "configset upload" API. Commonly known as a "zipslip", maliciously constructed ZIP files can use relative filepaths to write data to unanticipated parts of the filesystem. This issue affects Apache Solr: from 6.6 through 9.7.0.
Users are recommended to upgrade to version 9.8.0, which fixes the issue. Users unable to upgrade may also safely prevent the issue by using Solr's "Rule-Based Authentication Plugin" to restrict access to the configset upload API, so that it can only be accessed by a trusted set of administrators/users.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.solr:solr-core | >= 6.6, < 9.8.0 | 9.8.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-52012
- https://github.com/apache/solr/commit/5795edd143b8fcb2ffaf7f278a099b8678adf396
- https://github.com/apache/solr
- https://issues.apache.org/jira/browse/SOLR-17543
- https://lists.apache.org/thread/yp39pgbv4vf1746pf5yblz84lv30vfxd
- http://www.openwall.com/lists/oss-security/2025/01/26/2
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U- Weakness (CWE)
CWE-23- Platform
- Java / Kotlin (Maven)
- Package
org.apache.solr:solr-core- Disclosed
- 27.01.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4p5m-gvpf-f3x5 - CC BY 4.0
Vulnerability history: org.apache.solr:solr-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 31
- First → latest
- 10.2018 06.2026
- Without a fix
- 1
- Exploited in attacks
- 2
Severity breakdown
- Critical 4
- High 16
- Medium 10
- Low 1
Disclosures per year
- 2018: 5
- 2019: 3
- 2020: 2
- 2021: 1
- 2022: 11
- 2023: 0
- 2024: 4
- 2025: 2
- 2026: 3
-
Apache Solr Relative Path Traversal vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.