Apache Solr has hardcoded credentials in the Basic Authentication setup tool
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
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.solr:solr-core | >= 9.4.0, <= 9.10.1, = 10.0.0 | no fix |
References
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-798- Platform
- Java / Kotlin (Maven)
- Package
org.apache.solr:solr-core- Disclosed
- 01.06.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qhr7-h655-pw6r - CC BY 4.0
Vulnerability history: org.apache.solr:solr-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 31
- First → latest
- 10.2018 06.2026
- Without a fix
- 1
- Exploited in attacks
- 2
Severity breakdown
- Critical 4
- High 16
- Medium 10
- Low 1
Disclosures per year
- 2018: 5
- 2019: 3
- 2020: 2
- 2021: 1
- 2022: 11
- 2023: 0
- 2024: 4
- 2025: 2
- 2026: 3
-
Apache Solr has hardcoded credentials in the Basic Authentication setup tool this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.