CVE-2024-52012

CVE-2024-52012 is a medium-severity vulnerability in Apache Solr with a CVSS 3.x base score of 5.4. Its EPSS exploit-prediction score of 47% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-23.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-52012?
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.
How severe is CVE-2024-52012?
CVE-2024-52012 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2024-52012 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 47% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-52012?
CVE-2024-52012 affects Apache Solr. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-52012?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-52012 have an EU (EUVD) identifier?
Yes. CVE-2024-52012 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-0133.
When was CVE-2024-52012 published?
CVE-2024-52012 was published on 2025-01-27 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Apache Solr

All CVEs affecting Apache Solr →

Other CWE-23 vulnerabilities

Browse all CWE-23 vulnerabilities →