Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conjunction with use of a Config API add-listener command to reach the RunExecutableListener class. Elasticsearch, although it uses Lucene, is NOT vulnerable to this. Note that the XML external entity expansion vulnerability occurs in the XML Query Parser which is available, by default, for any query request with parameters deftype=xmlparser and can be exploited to upload malicious data to the /upload request handler or as Blind XXE using ftp wrapper in order to read arbitrary local files from the Solr server. Note also that the second vulnerability relates to remote code execution using the RunExecutableListener available on all affected versions of Solr.
CVE-2017-12629
Score elevated to 9.8 because EPSS predicts 94% probability of exploitation within the next 30 days (top 0.1% of all CVEs). NVD baseline CVSS 9.8 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 92%
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EPSS
- 99.8%
- KEV
- Not listed
Published
October 14, 2017
Last Modified
May 13, 2026
Advisory Details (9)
Auto-updated May 15, 2026Affected: Red Hat Enterprise Linux 6.
https://access.redhat.com/errata/RHSA-2018:0002Affected: Red Hat Enterprise Linux 6 and 7.
https://access.redhat.com/errata/RHSA-2017:3123oss-security - CVE-2017-12629 Solr: Code execution via entity expansion
http://openwall.com/lists/oss-security/2017/10/13/1Vendor Advisories for CVE-2017-12629(6)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2020:2561Red Hat Product SecurityCritical
Red Hat Security Advisory: EAP Continuous Delivery Technical Preview Release 12 security update
- RHSA-2018:0005Red Hat Product SecurityHigh
Red Hat Security Advisory: eap7-jboss-ec2-eap security update
- RHSA-2018:0004Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.0.9 security update on RHEL 7
- RHSA-2018:0002Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.0.9 security update on RHEL 6
- RHSA-2018:0003Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.0.9 security update
- RHSA-2017:3244Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Data Grid 7.1.1 security update
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | solr-tomcat (3.6.2+dfsg-8ubuntu0.1) @ xenial | 2026-05-20 | ubuntu |
| redhat | lucene | 2023-03-20 | redhat |
| redhat | eap7-jboss-ec2-eap-0:7.0.9-2.GA_redhat_2.ep7.el7 | 2018-01-03 | redhat |
| redhat | eap7-wildfly-javadocs-0:7.0.9-2.GA_redhat_3.1.ep7.el7 | 2018-01-03 | redhat |
| redhat | lucene-core | 2018-01-03 | redhat |
| redhat | eap7-wildfly-javadocs-0:7.0.9-2.GA_redhat_3.1.ep7.el6 | 2018-01-03 | redhat |
| redhat | rh-java-common-lucene-0:4.8.0-6.9.el7 | 2017-12-12 | redhat |
| redhat | rh-java-common-lucene5-0:5.4.1-2.4.el7 | 2017-12-12 | redhat |
| redhat | patch | 2017-11-16 | redhat |
| redhat | patch | 2017-11-06 | redhat |
| redhat | eap7-lucene-solr-0:5.3.1-4.redhat_2.1.ep7.el7 | 2017-11-06 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.solr:solr-core | 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4 | 5.5.5 | — |
Additional Vendor Advisories
(6)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2017:3123CRITICAL2017-10-12
RHSA-2017:3123 — Critical
- Red HatRHSA-2017:3124CRITICAL2017-10-12
RHSA-2017:3124 — Critical
- Red HatRHSA-2017:3451CRITICAL2017-10-12
RHSA-2017:3451 — Critical
- Red HatRHSA-2017:3452CRITICAL2017-10-12
RHSA-2017:3452 — Critical
- Red HatRHSA-2023:1334CRITICAL2017-10-12
RHSA-2023:1334 — Critical
- UbuntuUSN-4259-1HIGH
Apache Solr vulnerability
Data Freshness Timeline
(refreshed 2× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-08 01:05 UTCOSV refresh
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-19 12:55 UTCOSV refresh
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-30 20:53 UTCOSV refresh
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-20 08:21 UTCEG score recompute
- 2026-05-20 08:21 UTCVendor advisory
- 2026-05-20 04:12 UTCEG score recompute
- 2026-05-20 04:12 UTCVendor advisory
- 2026-05-20 00:03 UTCEG score recompute
- 2026-05-20 00:03 UTCVendor advisory
- 2026-05-19 19:55 UTCEG score recompute
Show 13 moreShow fewer
- 2026-05-19 19:55 UTCVendor advisory
- 2026-05-19 15:46 UTCEG score recompute
- 2026-05-19 15:46 UTCVendor advisory
- 2026-05-19 11:38 UTCEG score recompute
- 2026-05-19 11:38 UTCVendor advisory
- 2026-05-19 07:22 UTCEG score recompute
- 2026-05-19 07:22 UTCVendor advisory
- 2026-05-19 03:12 UTCEG score recompute
- 2026-05-19 03:12 UTCVendor advisory
- 2026-05-18 23:04 UTCEG score recompute
- 2026-05-18 23:04 UTCVendor advisory
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(2 references)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-43009✓ verifiedFirst seen Oct 17, 2017
Apache Solr 7.0.1 - XML External Entity Expansion / Remote Code Execution
Open source ↗ - Nucleihttp/cves/2017/CVE-2017-12629.yamlFirst seen Jan 1, 2017
Apache Solr <= 7.1 - XML Entity Injection
Open source ↗
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2017-12629?
When was CVE-2017-12629 disclosed?
Is CVE-2017-12629 actively exploited?
What is the CVSS score of CVE-2017-12629?
How do I remediate CVE-2017-12629?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2017-12629
Is Your Infrastructure Affected by CVE-2017-12629?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.