Home / Apache Solr / Apache Solr / CVE-2019-17558
CVE-2019-17558: is it exploited, and which versions of Apache Solr are affected and fixed?
CVE-2019-17558 is an injection vulnerability in Apache Solr, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: org.apache.solr:solr-core from 5.0.0 before 8.4.0, org.apache.solr:solr-core from 6.0.0 before 8.4.0, org.apache.solr:solr-core from 7.0.0 before 8.4.0 and 1 more (GitHub advisory GHSA-ww97-9w65-2crx). Fixed in 8.4.0 (GitHub advisory GHSA-ww97-9w65-2crx). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:17 UTC.
What is CVE-2019-17558?
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).
From the CVE record by apache, last updated October 21, 2025, 23:35 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Solr | Apache Solr 5.0.0 to Apache Solr 8.3.1 |
As the CVE record by apache states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.solr:solr-core | >= 5.0.0, < 8.4.0 | 8.4.0 | GHSA-ww97-9w65-2crx |
| Maven | org.apache.solr:solr-core | >= 6.0.0, < 8.4.0 | 8.4.0 | GHSA-ww97-9w65-2crx |
| Maven | org.apache.solr:solr-core | >= 7.0.0, < 8.4.0 | 8.4.0 | GHSA-ww97-9w65-2crx |
| Maven | org.apache.solr:solr-core | >= 8.0.0, < 8.4.0 | 8.4.0 | GHSA-ww97-9w65-2crx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Improper Input Validation in Apache Solr.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | solr | from 5.0.0 before 7.7.3 | application |
| apache | solr | from 8.0.0 before 8.4.0 | application |
| oracle | primavera unifier | from 17.7 through 17.12 | application |
| oracle | primavera unifier | 16.1 | application |
| oracle | primavera unifier | 16.2 | application |
| oracle | primavera unifier | 18.8 | application |
| oracle | primavera unifier | 19.12 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 02:24 UTC.
How severe is CVE-2019-17558?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 4.6 | CVSS 2.0 | AV:N/AC:H/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-17558 exploited in the wild?
- CISA KEV
- Listed as Apache Solr VelocityResponseWriter Plug-In Remote Code Execution Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- The Apache Solr VelocityResponseWriter plug-in contains an unspecified vulnerability which can allow for remote code execution.
- CISA SSVC
- Exploitation: active; automatable: no; technical impact: total (CISA ADP, February 6, 2025)
- EPSS
- 98.6% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-20 Improper Input Validation
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- [lucene-issues] 20200107 [jira] [Commented] (SOLR-13971) CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-issues] 20200108 [jira] [Commented] (SOLR-13971) CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-issues] 20200108 [jira] [Updated] (SOLR-14025) CVE-2019-17558: Velocity response writer RCE vulnerability persists after 8.3.1 mailing-list, x_refsource_MLIST
- [lucene-issues] 20200108 [GitHub] [lucene-solr] Sachpat opened a new pull request #1156: SOLR-13971 mailing-list, x_refsource_MLIST
- [lucene-issues] 20200108 [GitHub] [lucene-solr] Sachpat commented on a change in pull request #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vu mailing-list, x_refsource_MLIST
- [lucene-issues] 20200108 [GitHub] [lucene-solr] artem-smotrakov commented on a change in pull request #1156: SOLR-13971: CVE-2019-17558: Velocity custom templat mailing-list, x_refsource_MLIST
- [lucene-issues] 20200108 [GitHub] [lucene-solr] Sachpat commented on issue #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-issues] 20200113 [GitHub] [lucene-solr] Sachpat closed pull request #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-issues] 20200113 [jira] [Commented] (SOLR-14025) CVE-2019-17558: Velocity response writer RCE vulnerability persists after 8.3.1 mailing-list, x_refsource_MLIST
- [lucene-issues] 20200113 [GitHub] [lucene-solr] chatman commented on issue #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-issues] 20200113 [GitHub] [lucene-solr] Sachpat commented on issue #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-dev] 20200213 Re: 7.7.3 bugfix release mailing-list, x_refsource_MLIST
- [lucene-dev] 20200214 Re: 7.7.3 bugfix release mailing-list, x_refsource_MLIST
- [lucene-issues] 20200219 [jira] [Updated] (SOLR-14025) CVE-2019-17558: Velocity response writer RCE vulnerability persists after 8.3.1 mailing-list, x_refsource_MLIST
- [ambari-issues] 20200220 [jira] [Created] (AMBARI-25482) solr dependence CVE-2019-17558 mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20200320 CVEs (vulnerabilities) that apply to Solr 8.4.1 mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20200320 Re: CVEs (vulnerabilities) that apply to Solr 8.4.1 mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
- https://issues.apache.org/jira/browse/SOLR-13971 x_refsource_MISC
- http://packetstormsecurity.com/files/157078/Apache-Solr-8.3.0-Velocity-Template-Remote-Code-Execution.html x_refsource_MISC
- [submarine-commits] 20201209 [GitHub] [submarine] QiAnXinCodeSafe opened a new issue #474: There is a vulnerability in Apache Solr 5.5.4,upgrade recommended mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20210203 Re: SolrCloud keeps crashing mailing-list, x_refsource_MLIST
- [lucene-issues] 20210210 [GitHub] [lucene-solr] rhtham edited a comment on pull request #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerab mailing-list, x_refsource_MLIST
- [lucene-issues] 20210210 [GitHub] [lucene-solr] rhtham commented on pull request #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerability mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20210212 CVE-2019-17558 on SOLR 6.1 mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20210212 Re: CVE-2019-17558 on SOLR 6.1 mailing-list, x_refsource_MLIST
- [lucene-solr-user] 20210213 Re: CVE-2019-17558 on SOLR 6.1 mailing-list, x_refsource_MLIST
- [lucene-issues] 20210315 [GitHub] [lucene-solr] erikhatcher commented on pull request #1156: SOLR-13971: CVE-2019-17558: Velocity custom template RCE vulnerabil mailing-list, x_refsource_MLIST
- [druid-commits] 20210324 [GitHub] [druid] jihoonson opened a new pull request #11030: Suppress cves mailing-list, x_refsource_MLIST
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-17558 government-resource
When was it published, and where is the official record?
- Reserved
- October 14, 2019
- Published
- December 30, 2019, 16:36 UTC
- CVE record updated
- October 21, 2025, 23:35 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 02:24 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:17 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache Solr?
- Oct 13, 2020CVE-2020-13957 Apache Solr: incorrect authorization
- Aug 17, 2020CVE-2020-13941 Apache Solr: improper input validation
Questions about CVE-2019-17558
Is CVE-2019-17558 exploited in the wild?
Yes. CISA added CVE-2019-17558 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. FIRST's EPSS gives it a 98.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Solr are affected by CVE-2019-17558?
org.apache.solr:solr-core from 5.0.0 before 8.4.0, org.apache.solr:solr-core from 6.0.0 before 8.4.0, org.apache.solr:solr-core from 7.0.0 before 8.4.0 and org.apache.solr:solr-core from 8.0.0 before 8.4.0, per the GitHub advisory GHSA-ww97-9w65-2crx. The tables above give every range the sources list.
Which version fixes CVE-2019-17558?
8.4.0, per the GitHub advisory GHSA-ww97-9w65-2crx. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-17558?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2019-17558?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.