CVE-2026-44825: Solr core Apache Solr Has Hardcoded Credentials Vulnerability

HIGH
Advisory Identifier: GHSA-qhr7-h655-pw6r
CVSS 8.1
CWE-798
Published
Advisory Summary

CVE-2026-44825 is a HIGH (CVSS 8.1) apache solr has hardcoded credentials vulnerability (CWE-798: Use of Hard-coded Credentials) affecting Solr core libraries in the Maven ecosystem. The issue involves apache solr has hardcoded credentials in the basic authentication setup tool. Remediation is available in the latest vendor maintenance releases.

CVE-2026-44825 at a Glance

CVE Identifier CVE-2026-44825
GHSA Identifier GHSA-qhr7-h655-pw6r
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-798: Use of Hard-coded Credentials
Affected Product Solr core
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-44825

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.

org.apache.solr:solr-core fixed: Latest secure release
<dependency>
    <groupId>org.apache.solr</groupId>
    <artifactId>solr-core</artifactId>
    <version>Latest secure release</version>
</dependency>
org.apache.solr:solr-core fixed: Latest secure release
<dependency>
    <groupId>org.apache.solr</groupId>
    <artifactId>solr-core</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

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-2026-44825, 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 the patched release), 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-798: Use of Hard-coded Credentials, where the product contains hard-coded credentials, such as a password or cryptographic key. 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

Hardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.4.0 through 9.10.1 and 10.0.0 allows a remote attacker to gain full administrative access to the cluster via publicly known default credentials installed silently alongside the user-specified account. As an immediate workaround without upgrading, delete the template users (superadmin, admin, search, index) from security.json or change their passwords. The future, not yet released, versions 9.11.0 and 10.1.0 will not be vulnerable, and it will be enough to upgrade to solve the issue. Not affected: * Clusters where bin/solr auth enable was not used to bootstrap BasicAuth * Clusters where template users have been assigned strong passwords after bootstrap

CVE-2026-44825 Affected Solr core Versions

2 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.solr:solr-core
Maven
≥ 9.4.0
≤ 9.10.1
org.apache.solr:solr-core
Maven
10.0.0
All 1 versions
10.0.0
None specified

References

Frequently Asked Questions

What is CVE-2026-44825?
CVE-2026-44825 is a security vulnerability in Solr core involving Apache Solr has hardcoded credentials in the Basic Authentication setup tool under CWE-798: Use of Hard-coded Credentials.
Which Solr core versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.apache.solr:solr-core.
What version fixes CVE-2026-44825?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is solr-core affected?
Yes, org.apache.solr:solr-core is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-44825?
CVE-2026-44825 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-44825?
CVE-2026-44825 is classified under CWE-798: Use of Hard-coded Credentials (The product contains hard-coded credentials, such as a password or cryptographic key.).
How can I check Maven dependencies for CVE-2026-44825?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.solr'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qhr7-h655-pw6r",
  "modified" : "2026-07-09T20:59:05Z",
  "published" : "2026-06-01T09:31:14Z",
  "aliases" : [ "CVE-2026-44825" ],
  "summary" : "Apache Solr has hardcoded credentials in the Basic Authentication setup tool",
  "details" : "Hardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.4.0 through 9.10.1 and 10.0.0 allows a remote attacker to gain full administrative access to the cluster via publicly known default credentials installed silently alongside the user-specified account. \n\nAs an immediate workaround without upgrading, delete the template users (superadmin, admin, search, index) from security.json or change their passwords.\nThe future, not yet released, versions 9.11.0 and 10.1.0 will not be vulnerable, and it will be enough to upgrade to solve the issue.\n\nNot affected:\n  *  Clusters where bin/solr auth enable was not used to bootstrap BasicAuth\n  *  Clusters where template users have been assigned strong passwords after bootstrap",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.solr:solr-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.4.0"
      }, {
        "last_affected" : "9.10.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.solr:solr-core"
    },
    "versions" : [ "10.0.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44825"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/lucene-solr"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/5xg6xr99glocp3zsg9ht2zlbwlrst7ch"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/05/29/6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-798" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-09T20:59:05Z",
    "nvd_published_at" : "2026-06-01T09:16:19Z"
  }
}