CVE-2025-24814: Solr core Apache Solr Vulnerable To Execution Vulnerability
HIGHCVE-2025-24814 is a HIGH apache solr vulnerable to execution vulnerability (CWE-250: Execution with Unnecessary Privileges) affecting Solr core libraries in the Maven ecosystem. The issue involves apache solr vulnerable to execution with unnecessary privileges. Remediation is available by upgrading affected packages to version 9.8.0.
CVE-2025-24814 at a Glance
How to Fix CVE-2025-24814
To remediate this vulnerability, upgrade all affected Solr core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
<version>9.8.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.solr
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-24814, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.solr
Analyze the terminal output to locate any version of Solr core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.8.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.solr command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-250: Execution with Unnecessary Privileges, where the product performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses. In Solr core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-24814 Affected Solr core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.solr:solr-core
|
Maven |
< 9.8.0
|
9.8.0
|
References
Frequently Asked Questions
What is CVE-2025-24814?
Which Solr core versions are affected?
What version fixes CVE-2025-24814?
Is solr-core affected?
What CWE is associated with CVE-2025-24814?
How can I check Maven dependencies for CVE-2025-24814?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-68r2-fwcg-qpm8",
"modified" : "2025-02-18T22:30:39Z",
"published" : "2025-01-27T09:30:35Z",
"aliases" : [ "CVE-2025-24814" ],
"summary" : "Apache Solr vulnerable to Execution with Unnecessary Privileges",
"details" : "Core creation allows users to replace \"trusted\" configset files with arbitrary configuration\n\nSolr 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.\n\nThis 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.solr:solr-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "9.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24814"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/solr/commit/f492e24881c5724a1b1baecfc9549e2cb0257525"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/solr"
}, {
"type" : "WEB",
"url" : "https://issues.apache.org/jira/browse/SOLR-16781"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/gl291pn8x9f9n52ys5l0pc0b6qtf0qw1"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20250214-0002"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/01/26/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-250" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-27T17:22:49Z",
"nvd_published_at" : "2025-01-27T09:15:14Z"
}
}