Skip to content
On CISA KEVHigh

CVE-2023-50386Solr Unrestricted File Upload

Apache Solr: Backup/Restore APIs allow for deployment of executables in malicious ConfigSets

Published Feb 9, 2024 · Updated Oct 28, 2026 · Also known as BIT-solr-2023-50386, CGA-8f9p-76p7-74qq, CGA-qx96-phjg-jchc, CGA-vrjq-f2h2-xv34, CGA-xq5f-2fvc-x6cw, DEBIAN-CVE-2023-50386, GHSA-37vr-vmg4-jwpw, UBUNTU-CVE-2023-50386

Key Facts

Patch immediately
  • CVE-2023-50386 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Solr (Apache), lucene-solr (debian), org.apache.solr:solr-core (maven).
  • It is exploited in the wild, listed in Industry KEV feed since Sep 18, 2024. Public exploit code is available.
  • EPSS estimates a 23% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Solr 8.11.3, Solr 9.4.1, Solr 9.5.0-r0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

23%

Higher than 98.2% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

61/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Sep 18, 2024

222 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

3

Reports of active use

Description

Improper Control of Dynamically-Managed Code Resources, Unrestricted Upload of File with Dangerous Type, Inclusion of Functionality from Untrusted Control Sphere vulnerability in Apache Solr.This issue affects Apache Solr: from 6.0.0 through 8.11.2, from 9.0.0 before 9.4.1.

In the affected versions, Solr ConfigSets accepted Java jar and class files to be uploaded through the ConfigSets API. When backing up Solr Collections, these configSet files would be saved to disk when using the LocalFileSystemRepository (the default for backups). If the backup was saved to a directory that Solr uses in its ClassPath/ClassLoaders, then the jar and class files would be available to use with any ConfigSet, trusted or untrusted.

When Solr is run in a secure way (Authorization enabled), as is strongly suggested, this vulnerability is limited to extending the Backup permissions with the ability to add libraries. Users are recommended to upgrade to version 8.11.3 or 9.4.1, which fix the issue. In these versions, the following protections have been added:

  • Users are no longer able to upload files to a configSet that could be executed via a Java ClassLoader.
  • The Backup API restricts saving backups to directories that are used in the ClassLoader.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedSep 18, 2024n/aNot reported

Affected Products

17 affected entries in total
ProductAffected versionsFixed in
SolrApache>= 6.0.08.11.3
lucene-solrdebianSee advisory3.6.2+dfsg-23
org.apache.solr:solr-coremaven>= 6.0.08.11.3

Patched Releases

Solr

8.11.3, 9.4.1, 9.5.0-r0

lucene-solr

3.6.2+dfsg-23

org.apache.solr:solr-core

8.11.3, 9.4.1

Timeline

  1. Publicly disclosed

    Feb 9, 2024

  2. Added to Industry KEV feed

    Sep 18, 2024

  3. Last updated

    Oct 28, 2026

Weakness Type

  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-913 Improper Control of Dynamically-Managed Code Resources

References

10 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2023-50386 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.