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
This critical-severity CVE scores 9.8 under NVD CVSS v3. EPSS exploit probability: 92% (99th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 92%
- Public exploit code is available (Exploit-DB (verified), epss top5pct, epss high, public exploit)
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALmedium confidence
- EG Risk
- 85EG Risk 85/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity98% × 45%Exploitation92% × 40%Automatability30% × 15%CISA SSVC: Track at low, Track* at medium and Attend at high mission impact.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 92%
- EPSS %ILE
- 99th
- KEV
- Not listed
CISA SSVCTrack at low, Track* at medium and Attend at high mission impact.
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (EG-KEV: weaponized) · Automatable unknown (not published for this CVE) · Technical impact total (CVSS ≥ 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
October 14, 2017
Last Modified
June 17, 2026
Advisory Details (9)
Auto-updated Oct 6, 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(7)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:1334Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat Process Automation Manager 7.13.2 security update
- 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 | Fix (by version range) / 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
(8 across 8 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | — |
| — |
Debian:7(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | 3.6.0+dfsg-1, 3.6.0+dfsg-1+deb7u1, 3.6.0+dfsg-1+deb7u2 |
| — |
Debian:8(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | 3.6.2+dfsg-5 |
| — |
Debian:9(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| lucene-solr | 3.6.2+dfsg-10 |
| — |
Maven(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| org.apache.solr:solr-core | 5.5.0, 5.5.1, 5.5.2, 5.5.3, 5.5.4 |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(5)
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
- UbuntuUSN-4259-1HIGH
Apache Solr vulnerability
Data Freshness Timeline
(refreshed 2× in last 7d / 9× 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-10-08 16:35 UTCEPSS rescore
- 2026-10-04 02:14 UTCOSV refresh
- 2026-09-30 14:58 UTCEPSS rescore
- 2026-09-30 09:24 UTCEG score recompute
- 2026-09-24 13:59 UTCEPSS rescore
- 2026-09-19 15:36 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-14 16:14 UTCOSV refresh
- 2026-09-12 14:55 UTCEPSS rescore
- 2026-09-10 09:26 UTCEPSS rescore
- 2026-08-30 19:13 UTCEPSS rescore
- 2026-08-28 21:36 UTCEPSS rescore
- 2026-08-26 16:13 UTCOSV refresh
- 2026-08-24 14:10 UTCEPSS rescore
- 2026-08-10 06:09 UTCOSV refresh
- 2026-08-05 19:12 UTCEPSS rescore
- 2026-07-30 16:24 UTCEPSS rescore
- 2026-07-25 06:41 UTCOSV refresh
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:26 UTCEG score recompute
- 2026-07-22 22:05 UTCEG score recompute
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-13 06:09 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
Show 30 moreShow fewer
- 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 UTCVendor advisory
- 2026-05-20 04:12 UTCVendor advisory
- 2026-05-20 00:03 UTCVendor advisory
- 2026-05-19 19:55 UTCVendor advisory
- 2026-05-19 15:46 UTCVendor advisory
- 2026-05-19 11:38 UTCVendor advisory
- 2026-05-19 07:22 UTCVendor advisory
- 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 product + same vendor + same CWE)
Same product
10 shownDebian:8:lucene-solr · Debian:7:lucene-solr · Debian:11:lucene-solr
- CVE-2018-1308EG 7.5EPSS p97HIGH
- CVE-2017-3163EG 7.5EPSS p94HIGH
- CVE-2019-0193NVD 7.2EG 9.0 KEVEPSS p100CRITICAL
- CVE-2012-6612EG 7.5EPSS p96HIGH
- CVE-2013-6408EG 6.4EPSS p96MEDIUM
- CVE-2013-6407EG 6.4EPSS p96MEDIUM
- CVE-2013-6397EG 4.3EPSS p99MEDIUM
- CVE-2023-50386NVD 8.8EG 9.0EPSS p100CRITICAL
- CVE-2019-17558NVD 7.5EG 9.0 KEVEPSS p100CRITICAL
- CVE-2023-50292EG 7.5HIGH
Same vendor
10 shownredhat:RHSA-2018:0002 · redhat:RHSA-2023:1334 · redhat:RHSA-2017:3244
Same CWE
10 shownCWE-611
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.