← Vulnerability feed

Vulnerability record · CVE-2021-27905 · published 13 April 2021

CVE-2021-27905: Apache Solr ReplicationHandler masterUrl SSRF flaw

Apache · Solr

Apache Solr's ReplicationHandler, normally exposed at /replication under a Solr core, accepts a masterUrl (leaderUrl) parameter without validating it against the same configuration used for the shards parameter. This allows server-side request forgery, and the flaw affects essentially all Solr versions prior to the fix in 8.8.2.

9.8 CVSS 3.1 Critical EPSS 93% · top 0.2% CWE-918 · Server-side request forgery (SSRF)
9.8CVSS 3.1 base score, v2 7.5
93%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
24References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or user interaction required and a very high EPSS probability, though KEV listing is absent.

What it is

Apache Solr's ReplicationHandler, normally exposed at /replication under a Solr core, accepts a masterUrl (leaderUrl) parameter without validating it against the same configuration used for the shards parameter. This allows server-side request forgery, and the flaw affects essentially all Solr versions prior to the fix in 8.8.2.

Impact

An attacker can make the Solr server issue requests to arbitrary URLs, reaching internal services or metadata endpoints that are not otherwise exposed. The CVSS vector rates confidentiality, integrity and availability impact as high.

Attack surface

Reached over the network via the ReplicationHandler endpoint using the masterUrl or leaderUrl parameter; the CVSS vector indicates no authentication and no user interaction are required.

Exploitation

Not listed in CISA KEV and no ransomware association is documented, but EPSS is very high at 0.93053 (99.8th percentile), indicating strong likelihood of attempted exploitation. Reference tags are vendor advisory, mailing list and third-party advisory only, with no public exploit tag supplied.

What to do

  • Upgrade Apache Solr to 8.8.2 or later, which contains the fix.
  • If upgrade is not immediately possible, restrict network access to the /replication endpoint to trusted hosts only.
  • Block outbound traffic from Solr servers to internal networks and cloud metadata addresses.
  • Run Solr with least privilege and avoid exposing it directly to untrusted networks.

Detection

  • Review Solr request logs for calls to /replication with masterUrl or leaderUrl parameters.
  • Monitor outbound connections from Solr hosts to unexpected internal or metadata IP addresses.
  • Alert on ReplicationHandler requests originating from untrusted source addresses.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://lists.apache.org/thread.html/r0ddc3a82bd7523b1453cb7a5e09eb5559517145425074a42eb326b10%40%3Cannounce.apache.org% Mailing ListVendor Advisory
https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.or
https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.or
https://lists.apache.org/thread.html/r6ccec7fc54d82591b23c143f1f6a6e38f6e03e75db70870e4cb14a1a%40%3Ccommits.ofbiz.apache
https://lists.apache.org/thread.html/r720a4a0497fc90bad5feec8aa18b777912ee15c7eeb5f882adbf523e%40%3Ccommits.ofbiz.apache
https://lists.apache.org/thread.html/r78a3a4f1138a1608b0c6d4a2ee7647848c1a20b0d5c652cd9b02c25a%40%3Ccommits.ofbiz.apache
https://lists.apache.org/thread.html/r8f1152a43c36d878bbeb5a92f261e9efaf3af313b033d7acfccea59d%40%3Cnotifications.ofbiz.
https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.or
https://lists.apache.org/thread.html/rae9ccaecce9859f709ed1458545d90a4c07163070dc98b5e9e59057f%40%3Cnotifications.ofbiz.
https://lists.apache.org/thread.html/rd232d77c57a8ce172359ab098df9512d8b37373ab87c444be911b430%40%3Cnotifications.ofbiz.
https://lists.apache.org/thread.html/re9d64bb8e5dfefddcbf255adb4559e13a0df5b818da1b9b51329723f%40%3Cnotifications.ofbiz.
https://security.netapp.com/advisory/ntap-20210611-0009/ Third Party Advisory
https://lists.apache.org/thread.html/r0ddc3a82bd7523b1453cb7a5e09eb5559517145425074a42eb326b10%40%3Cannounce.apache.org% Mailing ListVendor Advisory
https://lists.apache.org/thread.html/r140128dc6bb4f4e0b6a39e962c7ca25a8cbc8e48ed766176c931fccc%40%3Cusers.solr.apache.or
https://lists.apache.org/thread.html/r3da74965aba2b5f5744b7289ad447306eeb2940c872801819faa9314%40%3Cusers.solr.apache.or
https://lists.apache.org/thread.html/r6ccec7fc54d82591b23c143f1f6a6e38f6e03e75db70870e4cb14a1a%40%3Ccommits.ofbiz.apache
https://lists.apache.org/thread.html/r720a4a0497fc90bad5feec8aa18b777912ee15c7eeb5f882adbf523e%40%3Ccommits.ofbiz.apache
https://lists.apache.org/thread.html/r78a3a4f1138a1608b0c6d4a2ee7647848c1a20b0d5c652cd9b02c25a%40%3Ccommits.ofbiz.apache
https://lists.apache.org/thread.html/r8f1152a43c36d878bbeb5a92f261e9efaf3af313b033d7acfccea59d%40%3Cnotifications.ofbiz.
https://lists.apache.org/thread.html/r95df34bb158375948da82b4dfe9a1b5d528572d586584162f8f5aeef%40%3Cusers.solr.apache.or
https://lists.apache.org/thread.html/rae9ccaecce9859f709ed1458545d90a4c07163070dc98b5e9e59057f%40%3Cnotifications.ofbiz.
https://lists.apache.org/thread.html/rd232d77c57a8ce172359ab098df9512d8b37373ab87c444be911b430%40%3Cnotifications.ofbiz.
https://lists.apache.org/thread.html/re9d64bb8e5dfefddcbf255adb4559e13a0df5b818da1b9b51329723f%40%3Cnotifications.ofbiz.
https://security.netapp.com/advisory/ntap-20210611-0009/ Third Party Advisory

Track CVE-2021-27905 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2023-44487HTTP/2 Rapid Reset stream cancellation denial of serviceThe HTTP/2 protocol permits a client to cancel many streams quickly, and the server's handling of those resets consumes disproportionate resources. T…KEVEPSS 100%analysed7.5CVE-2019-17558Apache Solr VelocityResponseWriter template injection enables remote code executionApache Solr 5.0.0 through 8.3.1 renders Velocity templates through VelocityResponseWriter, and attacker-supplied templates can execute code. Paramete…KEVEPSS 99%analysed7.2CVE-2019-0193Apache Solr DataImportHandler dataConfig parameter code injectionApache Solr's DataImportHandler accepts a full DIH configuration through the request's dataConfig parameter, and because a DIH config can contain scr…KEVEPSS 84%analysed9.8CVE-2026-44825Apache solr hard-coded credentials vulnerabilityHardcoded 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 …EPSS 2.8%9.8CVE-2024-45216Apache Solr PKIAuthenticationPlugin authentication bypass via fake URL path endingApache Solr instances using the PKIAuthenticationPlugin, enabled by default when Solr Authentication is used, can be bypassed by appending a fake pat…EPSS 92%analysed9.8CVE-2021-44548Apache solr improper input validation vulnerabilityAn Improper Input Validation vulnerability in DataImportHandler of Apache Solr allows an attacker to provide a Windows UNC path resulting in an SMB n…EPSS 5.1%9.8CVE-2020-13957Apache Solr ConfigSet upload authorization bypass enabling RCEApache Solr versions 6.6.0 to 6.6.6, 7.0.0 to 7.7.3 and 8.0.0 to 8.6.2 block dangerous ConfigSet features that could lead to remote code execution wh…EPSS 79%analysed9.8CVE-2019-12409Apache solr unrestricted file upload vulnerabilityThe 8.1.1 and 8.2.0 releases of Apache Solr contain an insecure setting for the ENABLE_REMOTE_JMX_OPTS configuration option in the default solr.in.sh…EPSS 21%

Source: NIST National Vulnerability Database (record CVE-2021-27905), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.