Loading...
Skip to main content

CVE-2025-24814 — Vulnerability in org.apache.solr:solr-core — CVE...

HIGH

Apache Solr vulnerable to Execution with Unnecessary Privileges

Published January 27, 2025Updated September 10, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published January 27, 2025 (623 days ago).
  • Last revised September 10, 2026 — 591 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.solr:solr-core to 9.8.0 or later
<!-- Update pom.xml dependency version to 9.8.0 for org.apache.solr:solr-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.solr:solr-core
maven
1.3.0, 1.4.0, 1.4.1, 3.1.0 (+118 more)9.8.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

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

Frequently Asked Questions

What is CVE-2025-24814?
Apache Solr vulnerable to Execution with Unnecessary Privileges This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.3/10).
How do I check if my project is affected by CVE-2025-24814?
CVE-2025-24814 affects org.apache.solr:solr-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24814 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.3

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-68r2-fwcg-qpm8
BIT-solr-2025-24814

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies