home / blog

2026-11-27 · high

CVE-2019-17558: Critical RCE Vulnerability in Apache Solr

Apache Solr vulnerable to RCE via VelocityResponseWriter. Patches available in versions 8.4+.

CVE-2019-17558: Critical RCE Vulnerability in Apache Solr

CVE-2019-17558 concerns a Remote Code Execution (RCE) vulnerability in Apache Solr versions 5.0.0 to 8.3.1. The flaw resides in the VelocityResponseWriter, which can execute user-provided Velocity templates as code. A malicious user can provide malicious templates through the directory of a configset or as a configuration parameter.

The severity of this vulnerability is rated as High with a CVSS score of 7.5. Apache Solr released a patch in version 8.4, which completely removed the params resource loader and enabled configset-provided template rendering only for trusted configsets (uploaded by authenticated users). Indications exist of public exploits in GitHub repositories.

To defend against this vulnerability, it is crucial to update Apache Solr to version 8.4 or later. If updating immediately is not possible, disable access to the VelocityResponseWriter through configuration API and ensure that only authenticated users can upload configsets. Monitor for suspicious activity and restrict access to Solr instance configuration to authorized personnel only.

At a glance

What
Remote Code Execution vulnerability in Solr's VelocityResponseWriter
Severity
High (CVSS 7.5)
Affected versions
Apache Solr 5.0.0 to 8.3.1
Fix
Apache Solr 8.4 and later
Status
Patched
Action
Update to version 8.4 or later

Sources: NVD, CVE-2019-17558

← All articles