CVE-2025-24814: 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…
Published Jan 27, 2025 · Updated Feb 18, 2025
Affected packages
org.apache.solr:solr-core
- Ecosystem
- Maven
- Affected
- < 9.8.0
- Fixed in
- 9.8.0
- Check
mvn dependency:tree -Dincludes=org.apache.solr:solr-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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 "" 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 "" tags by default.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-24814
- https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1
- https://github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525
- https://issues.apache.org/jira/browse/SOLR-16781
- https://security.netapp.com/advisory/ntap-20250214-0002
- https://github.com/advisories/GHSA-68r2-fwcg-qpm8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-44825
Apache Solr has hardcoded credentials in the Basic Authentication setup tool
high8.1No fixJun 1, 2026CVE-2026-22022
Apache Solr: Unauthorized bypass of certain "predefined permission" rules in the RuleBasedAuthorizationPlugin
high8.2Jan 21, 2026CVE-2026-22444
Apache Solr: Insufficient file-access checking in standalone core-creation requests
high7.1Jan 21, 2026CVE-2024-52012
Apache Solr Relative Path Traversal vulnerability
medium6.6Jan 27, 2025CVE-2023-50291
Apache Solr can leak certain passwords due to System Property redaction logic inconsistencies
high7.5Feb 9, 2024CVE-2023-50292
Apache Solr Schema Designer blindly "trusts" all configsets
lowFeb 9, 2024
