CVE-2025-24814Apache Solr: Core-creation with "trusted" configset can use arbitrary untrusted files
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | lucene-solr | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | lucene-solr | Fix pending | UBUNTU-CVE-2025-24814 | |
| Ubuntu 18.04 | lucene-solr | Fix pending | UBUNTU-CVE-2025-24814 | |
| Ubuntu 16.04 | lucene-solr | Fix pending | UBUNTU-CVE-2025-24814 | |
| Ubuntu 14.04 | lucene-solr | Fix pending | UBUNTU-CVE-2025-24814 | |
| Debian 14 | lucene-solr | Fixed | 3.6.2+dfsg-23 | DEBIAN-CVE-2025-24814 |
| Debian 13 | lucene-solr | Fixed | 3.6.2+dfsg-23 | DEBIAN-CVE-2025-24814 |
| Debian 12 | lucene-solr | Fixed | 3.6.2+dfsg-23 | DEBIAN-CVE-2025-24814 |
| Maven library | org.apache.solr:solr-core | Fixed | 9.8.0 | GHSA-68r2-fwcg-qpm8 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Solr: affected: up to 9.7
Vendor advisories:
- https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.