patchminder
Exploited in the wild · CISA KEV CVE-2019-17558

Remote code executionin Apache Solr.

Published 30 Dec 2019 · Updated 21 Oct 2025 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 3 Nov 2021.

On CISA's listAttack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 98.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 8.4.0 or later
In plain words

Apache Solr 5.0.0 to Apache Solr 8.3.1 are vulnerable to a Remote Code Execution through the VelocityResponseWriter. A Velocity template can be provided through Velocity templates in a configset `velocity/` directory or as a parameter. A user defined configset could contain renderable, potentially malicious, templates. Parameter provided templates are disabled by default, but can be enabled by setting `params.resource.loader.enabled` by defining a response writer with that setting set to `true`. Defining a response writer requires configuration API access. Solr 8.4 removed the params resource loader entirely, and only enables the configset-provided template rendering when the configset is `trusted` (has been uploaded by an authenticated user).

CISA: The Apache Solr VelocityResponseWriter plug-in contains an unspecified vulnerability which can allow for remote code execution.

What to do now
  • Upgrade org.apache.solr:solr-core (Maven) to 8.4.0 or later.
  • CISA requires US federal agencies to fix it by 3 May 2022.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Apache Solr
Not confirmed
Not confirmed
CVE record
org.apache.solr:solr-core (Maven)
5.0.0 to before 8.4.0
8.4.0
GitHub advisory
org.apache.solr:solr-core (Maven)
6.0.0 to before 8.4.0
8.4.0
GitHub advisory
org.apache.solr:solr-core (Maven)
7.0.0 to before 8.4.0
8.4.0
GitHub advisory
org.apache.solr:solr-core (Maven)
8.0.0 to before 8.4.0
8.4.0
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 14 Oct 2019
    CVE ID reserved by apache.
  2. 29 Oct 2019
    Metasploit module: Apache Solr Remote Code Execution via Velocity Template.
  3. 30 Dec 2019
    Published in the CVE List.
  4. 27 Mar 2020
    First public proof of concept on GitHub.
  5. 3 Nov 2021
    Added to CISA's Known Exploited Vulnerabilities list.
  6. 21 Oct 2025
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
1 module
Nuclei scan template
Available
Exploit-DB
2 entries
GitHub proof of concepts
7 repositories
Exploit-DBEDB-ID 47572web application exploit for java, published 1 Nov 2019
Exploit-DBEDB-ID 48338remote exploit for multiple, published 16 Apr 2020, verified by Exploit-DB
GitHubno warning signs foundzhzyker/exphub4294 stars · created 1 Apr 2020Exphub[漏洞利用脚本库] 包括Webloigc、Struts2、Tomcat、Nexus、Solr、Jboss、Drupal的漏洞利用脚本,最新添加CVE-2020-14882、CVE-2020-11444、CVE-2020-10204、CVE-2020-10199、C
GitHubno warning signs foundMa1Dong/Solr_CVE-2019-175582 stars · created 4 Aug 2020Solr_CVE-2019-17558
GitHubno warning signs foundthelostworldFree/CVE-2019-17558_Solr_Vul_Tool1 stars · created 27 Mar 2020CVE-2019-17558 Solr模板注入漏洞图形化一键检测工具。CVE-2019-17558 Solr Velocity Template Vul POC Tool.
GitHubno warning signs foundrogerzeferino/cve-2019-17558-apache-solr-rce1 stars · created 16 Feb 2026
GitHubno warning signs foundxkyrage/Exploit_CVE-2019-17558-RCE0 stars · created 15 Dec 2020Apache Solr 1.4 Injection to get a shell
GitHubno warning signs foundCyberCTF/vulhub-solr-cve-2019-175580 stars · created 8 Oct 2026Vulhub solr/CVE-2019-17558: Apache Solr Velocity Template RCE (CVE-2019-17558), run with Isoloom
GitHubno warning signs foundgooglesky/CVE-2019-175580 stars · created 26 Nov 2026Apache Solr VelocityResponseWriter renders a user-provided template as code. Fixed in 8.3.1. Differential: directive executed on vuln, refused on fixed

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Solr vulnerabilities

Same weakness: Injection

All CWE-74 vulnerabilities

References
Cite this page

Patchminder. CVE-2019-17558: Remote code execution in Apache Solr. https://patchminder.com/cve/cve-2019-17558/ (accessed 5 December 2026).