Apache Solr vulnerable to Execution with Unnecessary Privileges
Core creation allows users to replace "trusted" configset files with arbitrary configuration
Solr instances that (1) use the "FileSystemConfigSetService" component (the default in "standalone" or "user-managed" mode), and (2) are running without authentication and authorization are vulnerable to a sort of privilege escalation wherein individual "trusted" configset files can be ignored in favor of potentially-untrusted replacements available elsewhere on the filesystem. These replacement config files are treated as "trusted" and can use "<lib>" tags to add to Solr's classpath, which an attacker might use to load malicious code as a searchComponent or other plugin.
This issue affects all Apache Solr versions up through Solr 9.7. Users can protect against the vulnerability by enabling authentication and authorization on their Solr clusters or switching to SolrCloud (and away from "FileSystemConfigSetService"). Users are also recommended to upgrade to Solr 9.8.0, which mitigates this issue by disabling use of "<lib>" tags by default.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.solr:solr-core | < 9.8.0 | 9.8.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-24814
- https://github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525
- https://github.com/apache/solr
- https://issues.apache.org/jira/browse/SOLR-16781
- https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1
- https://security.netapp.com/advisory/ntap-20250214-0002
- http://www.openwall.com/lists/oss-security/2025/01/26/1
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U- Weakness (CWE)
CWE-250- Platform
- Java / Kotlin (Maven)
- Package
org.apache.solr:solr-core- Disclosed
- 27.01.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-68r2-fwcg-qpm8 - CC BY 4.0
Vulnerability history: org.apache.solr:solr-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 31
- First → latest
- 10.2018 06.2026
- Without a fix
- 1
- Exploited in attacks
- 2
Severity breakdown
- Critical 4
- High 16
- Medium 10
- Low 1
Disclosures per year
- 2018: 5
- 2019: 3
- 2020: 2
- 2021: 1
- 2022: 11
- 2023: 0
- 2024: 4
- 2025: 2
- 2026: 3
-
Apache Solr vulnerable to Execution with Unnecessary Privileges this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.