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
“—” beside the score: it is equal to NVD's CVSS score.
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2018-10-17. NVD baseline CVSS 9.8; sources differ by 0.0.
Also known asEUVD-2018-0640 (ENISA EUVD) · GHSA-mh7g-99w9-xpjm (GitHub Security Advisories)Source: ENISA EUVD
- High exploitation likelihood — EPSS 92%
- Public exploit code is available (Exploit-DB, marked verified by Exploit-DB)
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 9.8CRITICALmedium confidence
- EG Risk
- 81EG Risk 81/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity98% × 45%Impact severity (EG Severity): CVSS 9.8 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation92% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability0% × 15%CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.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
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (9.8): severity, escalated by confirmed exploitation. This CVE's 9.8 is its impact severity (EG Severity), not escalated.
- EG Severity
- 9.8 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- 92% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track* at medium mission impactTrack at low, Track* at medium and Attend at high mission impact.CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track 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 (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
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(14)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | solr-tomcat (3.6.2+dfsg-8ubuntu0.1) @ xenial | 2026-11-01 | 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.el6 | 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 | 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 |
| maven | org.apache.solr:solr-core @ 6.6.2 (fixes >= 6.0.0, < 6.6.2) | — | ghsa |
| maven | org.apache.solr:solr-core @ 5.5.5 (fixes >= 5.5.0, < 5.5.5) | — | ghsa |
| maven | org.apache.solr:solr-core @ 7.1.0 (fixes >= 7.0.0, < 7.1.0) | — | ghsa |
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 16× in last 7d / 49× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. 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. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 94 of 96 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 6 repeat rows among the latest 100 are merged into the row they repeat. The 2 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-01 21:49 UTCEG score recompute
- 2026-11-01 21:49 UTCVendor advisory
- 2026-11-01 21:49 UTCGHSA enrichmentGHSA-mh7g-99w9-xpjm · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 08:46 UTCGHSA enrichmentGHSA-mh7g-99w9-xpjm · GitHub severity CRITICAL · GitHub CVSS 9.8
- 2026-11-01 08:46 UTCEG score recompute
- 2026-10-31 19:47 UTCEG score recompute
- 2026-10-31 19:47 UTCVendor advisory
- 2026-10-30 17:45 UTCEG score recompute
- 2026-10-30 17:45 UTCVendor advisory
- 2026-10-30 16:27 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-10-29 15:44 UTCEG score recompute
- 2026-10-29 15:44 UTCVendor advisory
- 2026-10-28 13:32 UTCEG score recompute
- 2026-10-28 13:32 UTCVendor advisory
- 2026-10-27 11:19 UTCEG score recompute
- 2026-10-27 11:19 UTCVendor advisory
- 2026-10-26 09:17 UTCVendor advisory
- 2026-10-25 19:39 UTCEG score recompute
- 2026-10-25 16:27 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-10-25 07:15 UTCEG score recompute
- 2026-10-25 07:15 UTCVendor advisory
- 2026-10-24 05:12 UTCEG score recompute
- 2026-10-24 05:12 UTCVendor advisory
- 2026-10-23 03:10 UTCEG score recompute
- 2026-10-23 03:10 UTCVendor advisory
Show 69 moreShow fewer
- 2026-10-22 01:06 UTCEG score recompute
- 2026-10-22 01:06 UTCVendor advisory
- 2026-10-21 16:27 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-10-20 23:00 UTCEG score recompute
- 2026-10-20 23:00 UTCVendor advisory
- 2026-10-19 20:57 UTCEG score recompute
- 2026-10-19 20:57 UTCVendor advisory
- 2026-10-18 18:51 UTCEG score recompute
- 2026-10-18 18:51 UTCVendor advisory
- 2026-10-18 10:40 UTCEG score recompute
- 2026-10-17 16:47 UTCEG score recompute
- 2026-10-17 16:47 UTCVendor advisory
- 2026-10-16 14:42 UTCEG score recompute
- 2026-10-16 14:42 UTCVendor advisory
- 2026-10-15 12:39 UTCEG score recompute
- 2026-10-15 12:39 UTCVendor advisory
- 2026-10-14 16:27 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-10-14 07:59 UTCEG score recompute
- 2026-10-14 07:59 UTCVendor advisory
- 2026-10-13 03:11 UTCVendor advisory
- 2026-10-12 20:35 UTCEG score recompute
- 2026-10-12 00:58 UTCEG score recompute
- 2026-10-08 16:35 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-10-04 02:14 UTCOSV refresh
- 2026-09-30 14:58 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-09-30 09:24 UTCEG score recompute
- 2026-09-24 13:59 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-09-19 15:36 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-09-17 19:22 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-09-14 16:14 UTCOSV refresh
- 2026-09-12 14:55 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-09-10 09:26 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-08-30 19:13 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-08-28 21:36 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-08-26 16:13 UTCOSV refresh
- 2026-08-24 14:10 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-08-10 06:09 UTCOSV refresh
- 2026-08-05 19:12 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-30 16:24 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-25 06:41 UTCOSV refresh
- 2026-07-23 14:15 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-23 01:26 UTCEG score recompute
- 2026-07-22 22:05 UTCEG score recompute
- 2026-07-19 14:28 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-13 06:09 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-12 05:43 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-11 08:24 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-07-08 01:05 UTCOSV refresh
- 2026-07-01 15:02 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-06-25 13:47 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-06-23 21:30 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-06-19 12:55 UTCOSV refresh
- 2026-06-16 17:50 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-06-15 17:45 UTCEPSS rescoreEPSS 92% · 99th percentile
- 2026-06-04 13:10 UTCEPSS rescoreEPSS 94% · 99th percentile
- 2026-05-31 00:14 UTCEPSS rescoreEPSS 94% · 99th percentile
- 2026-05-30 20:53 UTCOSV refresh
- 2026-05-28 13:42 UTCEPSS rescoreEPSS 94% · 99th percentile
- 2026-05-26 13:42 UTCEPSS rescoreEPSS 94% · 99th percentile
- 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
Publicly available exploits
(2 references)Public exploit code is referenced for this CVE (1 Exploit-DB entry), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.
- Exploit-DBEDB-43009✓ verifiedPublished Oct 17, 2017
Apache Solr 7.0.1 - XML External Entity Expansion / Remote Code Execution
Open source ↗ - Nucleihttp/cves/2017/CVE-2017-12629.yamlPublished May 4, 2021
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 p98HIGH
- 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
- CVE-2017-12189EG 7.8HIGH
- CVE-2017-12165NVD 2.6EG 7.5HIGH
- CVE-2017-7561EG 7.5HIGH
- CVE-2016-6346EG 7.5EPSS p93HIGH
- CVE-2017-7559EG 6.1MEDIUM
- CVE-2017-12167EG 5.5MEDIUM
- CVE-2021-23383EG 9.8EPSS p92CRITICAL
- CVE-2021-23369EG 9.8EPSS p94CRITICAL
- CVE-2019-19919EG 9.8EPSS p94CRITICAL
- CVE-2019-17571EG 9.8EPSS p99CRITICAL
Frequently asked(5)
What is CVE-2017-12629?
When was CVE-2017-12629 made public?
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.