CVE-2024-52012: Apache Solr: Configset upload on Windows allows arbitrary path write-access

CVE-2024-52012 affects 64 listed versions of Apache Solr in the Dawnsentry catalogue.

5.4CVSS medium
None knownexploitation
47%EPSS (next 30 days)
27 January 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache Solr

64 of 128 listed versions are affected. Fixed in 9.8.0. The newest release, 10.1.0, is not affected.

9.7.0 9.7 9.6.1 9.6.0 9.5.0 9.4.1 9.4.0 9.3.0 9.2.1 9.2.0 9.1.1 9.1.0 9.0.0 8.11.4 8.11.3 8.11.2 8.11.1 8.11.0 8.10.1 8.10.0 8.9.0 8.9 8.8.2 8.8.1 8.8.0 8.7.0 8.6.3 8.6.2 8.6.1 8.6.0 8.5.2 8.5.1 8.5.0 8.4.1 8.4.0 8.3.1 8.3.0 8.2.0 8.1.2 8.1.1 8.1.0 8.0.0 7.7.3 7.7.2 7.7.1 7.7.0 7.7 7.6.0 7.5.0 7.4.0 7.3.1 7.3.0 7.2.1 7.2.0 7.1.0 7.0.1 7.0.0 6.6.6 6.6.5 6.6.4 and 4 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (Apache Software Foundation)

Published by Apache Software Foundation on 27 January 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2024-52012 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.