CVE-2019-17558: Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability
CVE-2019-17558 is a high-severity flaw (CVSS 7.5) affecting solr, primavera unifier, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 98.6% (top 1%) |
| CISA exploited list | Yes, fix due 2022-05-03 |
| Weakness | CWE-74 |
| Published | 2019-12-30 |
| 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
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- 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: zhzyker/exphub (4297 stars)
- GitHub PoC: Ma1Dong/Solr_CVE-2019-17558 (2 stars)
- GitHub PoC: thelostworldFree/CVE-2019-17558_Solr_Vul_Tool (1 stars)
- Write-up: www.oracle.com/security-alerts/cpuoct2020.html
- Exploit-DB: Apache Solr 8.2.0 - Remote Code Execution (RCE)
- Exploit-DB: Apache Solr - Remote Code Execution (RCE) via Velocity Template (Metasploit)
- Metasploit: Apache Solr Remote Code Execution via Velocity Template
- Nuclei scan template: Apache Solr <=8.3.1 - Remote Code Execution
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-2019-17558?
solr: upgrade to 7.7.3, 8.4.0; primavera unifier: upgrade to newer than 17.12. Exact commands for each OS are on this page.
Is CVE-2019-17558 being exploited?
Yes. CVE-2019-17558 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2019-17558 affect?
CVE-2019-17558 affects solr, primavera unifier. Severity is high (CVSS 7.5). 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 us
How urgent is CVE-2019-17558?
Priority 86/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; 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