Apache Solr vulnerable to Execution with Unnecessary Privileges
HighCVE-2025-24814 · Published Jan 27, 2025 · updated Sep 10, 2026
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 versions
| Package | Affected | Fixed in |
|---|---|---|
| org.apache.solr:solr-core Maven | < 9.8.0 | 9.8.0 |
Details and references
- CVSS 4.0
- 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
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-250
- Also known as
- BIT-solr-2025-24814, CVE-2025-24814
- nvd.nist.gov/vuln/detail/CVE-2025-24814
- github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525
- github.com/apache/solr
- issues.apache.org/jira/browse/SOLR-16781
- lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1
- security.netapp.com/advisory/ntap-20250214-0002
- www.openwall.com/lists/oss-security/2025/01/26/1
More Apache Solr advisories
All Apache Solr| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jan 21 | Apache Solr: Insufficient file-access checking in standalone core-creation requests | High7.1 | 9.10.1 |
| Jan 21 | Apache Solr: Unauthorized bypass of certain "predefined permission" rules in the RuleBasedAuthorizationPlugin | High8.2 | 9.10.1 |
| Jan 272025 | Apache Solr Relative Path Traversal vulnerability | Medium | 9.8.0 |
| Feb 92024 | Apache Solr: Backup/Restore APIs allow for deployment of executables in malicious ConfigSets | High8.8 | 8.11.3+1 more |
| Feb 92024 | Apache Solr can leak certain passwords due to System Property redaction logic inconsistencies | High7.5 | 8.11.3+1 more |
| Feb 92024 | Apache Solr Schema Designer blindly "trusts" all configsets | Low | 8.11.3+1 more |