← Vulnerability feed

Vulnerability record · CVE-2023-50386 · published 9 February 2024

CVE-2023-50386: Apache Solr ConfigSet backup allows upload and loading of executable code

Apache · Solr

Apache Solr ConfigSets accepted Java jar and class files uploaded through the ConfigSets API, and the Backup API using the default LocalFileSystemRepository could write those files into directories Solr uses for its ClassPath/ClassLoaders. Once there, the code becomes available to any ConfigSet, trusted or untrusted, turning a backup operation into a code deployment path. Affected versions are 6.0.0 through 8.11.2 and 9.0.0 before 9.4.1.

8.8 CVSS 3.1 High EPSS 84% · top 0.3% CWE-434 · Unrestricted file uploadCWE-913 · Improper control of dynamically-managed code
8.8CVSS 3.1 base score
84%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References
17 Jun 2026Last modified by NVD

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.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityCVSS 8.8 and a very high EPSS score indicate serious, remotely reachable code execution risk, though exploitation requires API privileges and is not known to be actively exploited.

What it is

Apache Solr ConfigSets accepted Java jar and class files uploaded through the ConfigSets API, and the Backup API using the default LocalFileSystemRepository could write those files into directories Solr uses for its ClassPath/ClassLoaders. Once there, the code becomes available to any ConfigSet, trusted or untrusted, turning a backup operation into a code deployment path. Affected versions are 6.0.0 through 8.11.2 and 9.0.0 before 9.4.1.

Impact

An attacker with the ability to use the ConfigSets and Backup APIs can place attacker-controlled Java libraries where Solr will load them, leading to code execution in the Solr process with high impact to confidentiality, integrity and availability.

Attack surface

Reached over the network through the Solr ConfigSets and Backup APIs; the CVSS vector indicates low privileges are required and no user interaction. When authorization is enabled, the flaw is limited to extending Backup permissions with the ability to add libraries.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented; EPSS is very high at 0.837 probability (99.7th percentile), and references are only the vendor advisory and mailing list, with no public exploit tag.

What to do

  • Upgrade to Apache Solr 8.11.3 or 9.4.1, which block uploads of ClassLoader-executable files to ConfigSets and restrict Backup API writes to ClassLoader directories.
  • Enable Solr authorization and restrict ConfigSets and Backup API permissions to the minimum set of trusted administrators.
  • Configure backups to write to a directory outside Solr's ClassPath and ClassLoader paths.
  • Audit existing ConfigSets and backup directories for unexpected jar or class files and remove any that are not required.

Detection

  • Monitor Solr logs and API access logs for ConfigSets uploads containing .jar or .class files.
  • Alert on Backup API calls that write into directories used by Solr ClassPath or ClassLoaders.
  • Scan Solr configSet and backup directories for newly appearing jar or class files and compare against a known-good baseline.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-50386 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed7.5CVE-2019-17558Apache Solr VelocityResponseWriter template injection enables remote code executionApache Solr 5.0.0 through 8.3.1 renders Velocity templates through VelocityResponseWriter, and attacker-supplied templates can execute code. Paramete…KEVEPSS 99%analysed7.2CVE-2019-0193Apache Solr DataImportHandler dataConfig parameter code injectionApache Solr's DataImportHandler accepts a full DIH configuration through the request's dataConfig parameter, and because a DIH config can contain scr…KEVEPSS 84%analysed9.8CVE-2026-44825Apache solr hard-coded credentials vulnerabilityHardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.4.0 through 9.10.1 and 10.0.0 allows a …EPSS 2.8%9.8CVE-2024-45216Apache Solr PKIAuthenticationPlugin authentication bypass via fake URL path endingApache Solr instances using the PKIAuthenticationPlugin, enabled by default when Solr Authentication is used, can be bypassed by appending a fake pat…EPSS 92%analysed9.8CVE-2021-44548Apache solr improper input validation vulnerabilityAn Improper Input Validation vulnerability in DataImportHandler of Apache Solr allows an attacker to provide a Windows UNC path resulting in an SMB n…EPSS 5.1%9.8CVE-2021-27905Apache Solr ReplicationHandler masterUrl SSRF flawApache Solr's ReplicationHandler, normally exposed at /replication under a Solr core, accepts a masterUrl (leaderUrl) parameter without validating it…EPSS 93%analysed9.8CVE-2020-13957Apache Solr ConfigSet upload authorization bypass enabling RCEApache Solr versions 6.6.0 to 6.6.6, 7.0.0 to 7.7.3 and 8.0.0 to 8.6.2 block dangerous ConfigSet features that could lead to remote code execution wh…EPSS 79%analysed

Source: NIST National Vulnerability Database (record CVE-2023-50386), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.