CVE-2021-27905: The ReplicationHandler (normally registered at "/replication" under a Solr core) in Apache Solr has a "masterU
CVE-2021-27905 is a critical-severity flaw (CVSS 9.8) affecting solr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 93.1% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-918 |
| Published | 2021-04-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Henry4E36/Solr-SSRF (70 stars)
- GitHub PoC: murataydemir/CVE-2021-27905 (6 stars)
- GitHub PoC: pdelteil/CVE-2021-27905.POC (3 stars)
- Nuclei scan template: Apache Solr <=8.8.1 - Server-Side Request Forgery
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-27905?
solr: upgrade to 8.8.2. Exact commands for each OS are on this page.
Is CVE-2021-27905 being exploited?
CVE-2021-27905 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-27905 affect?
CVE-2021-27905 affects solr. Severity is critical (CVSS 9.8). 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 inde
How urgent is CVE-2021-27905?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2026-44825 HIGH 8.1 UPGRADE Hardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.
- CVE-2026-22444 HIGH 7.1 UPGRADE The "create core" API of Apache Solr 8.6 through 9.10.0 lacks sufficient input validation on some API paramete
- CVE-2026-22022 HIGH 8.2 UPGRADE Deployments of Apache Solr 5.3.0 through 9.10.0 that rely on Solr's "Rule Based Authorization Plugin" are vuln
- CVE-2025-24814 MEDIUM 5.5 UPGRADE Core creation allows users to replace "trusted" configset files with arbitrary configuration Solr instances t
- CVE-2024-52012 MEDIUM 5.4 UPGRADE Relative Path Traversal vulnerability in Apache Solr. Solr instances running on Windows are vulnerable to arb