CVE-2021-27905 Apache Solr
| Affected software | Apache Solr |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 8.8.2 |
| Weakness | Server-side request forgery (CWE-918) |
| Published | 13 Apr 2021 |
| Updated | 13 Nov 2026 |
Description
The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterUrl" (also "leaderUrl" alias) parameter that is used to designate another ReplicationHandler on another Solr core to replicate index data into the local core. To prevent a SSRF vulnerability, Solr ought to check these parameters against a similar configuration it uses for the "shards" parameter. Prior to this bug getting fixed, it did not. This problem affects essentially all Solr versions prior to it getting fixed in 8.8.2.
Exploitation status
Working exploit published
A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 6 indexed Published artifacts you can open, in GitHub PoC, Nuclei; first seen 2021-04-21.
- EPSS 93% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.8% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | Apache Solr SSRF(CVE-2021-27905) | 70 | 2021-04-21 |
| GitHub PoC | [CVE-2021-27905] Apache Solr ReplicationHandler Server Side Request Forgery (SSRF) | 6 | 2021-08-10 |
| GitHub PoC | POC for LFI related to CVE-2021-27905 | 3 | 2022-11-03 |
| GitHub PoC | Apache Solr < 8.8.2 Server Side Request Forgery | 2 | 2025-10-18 |
| GitHub PoC | CVE-2021-27905 | 2021-04-25 | |
| Nuclei | Apache Solr <=8.8.1 - Server-Side Request Forgery |
Waratek protection
Waratek is working on a rule for this CVE. No rule is available yet, and it isn't certain the rule will work.
Current target: Q2 2027 (may change)
- Protection none
- Action in development patch rule; current target Q2 2027, may change
- Review human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher set this CVE's status to Rule in development, naming the ARMR SSRF rule (in development). |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule Name: SSRF rule (in development)
SSRF in Solr's ReplicationHandler: the masterUrl (or leaderUrl) request parameter on /replication?command=fetchindex makes Solr connect to a server the attacker chooses. An SSRF rule in development is meant to block an outbound request to an address taken from request parameters. Nothing blocks this CVE until that rule ships.
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.solr:solr-parent |
0 | 8.8.2 |
unbounded |
Products and versions
2 products, 2 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | solr | generic | < 8.8.2 |
| osv | org.apache.solr | solr-parent | generic | < 8.8.2 |
References
Timeline
Timeline
| Published | 2021-04-13 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |
| Last VRT activity | 2026-11-13 | Most recent commit touching this CVE's classification, patch or rule file. |