Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-52012: Relative Path Traversal vulnerability in Apache Solr. Solr instances running on Windows are vulnerable to arb

49
This week
MEDIUM 5.4WATCHLISTUPGRADE

CVE-2024-52012 is a medium-severity flaw (CVSS 5.4) affecting solr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 v

Why this priority

  • EPSS top 1%: very likely to be exploited
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance40.9% (top 1%)
CISA exploited listNo
WeaknessCWE-23
Published2025-01-27
Last modified2026-06-17
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache solr UPGRADE
Affected: >= 6.6.0 and < 9.8.0
Fixed in: 9.8.0
Safe to downgrade to: a release before 6.6.0
1. Check installed version
apt-cache policy solr || rpm -q solr || solr --version
2. UPGRADE to 9.8.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade solr
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade solr
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.6.0 (Debian / Ubuntu)
apt-cache madison solr sudo apt install solr=<VERSION_BEFORE_6.6.0> sudo apt-mark hold solr
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list solr sudo dnf downgrade solr-<VERSION_BEFORE_6.6.0> sudo dnf versionlock add solr
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-52012?

solr: upgrade to 9.8.0. Exact commands for each OS are on this page.

Is CVE-2024-52012 being exploited?

CVE-2024-52012 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-52012 affect?

CVE-2024-52012 affects solr. Severity is medium (CVSS 5.4). 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", mal

How urgent is CVE-2024-52012?

Priority 49/100. EPSS top 1%: very likely to be exploited; On your watchlist

Software pages

Windows vulnerabilities · Apache Solr vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.