Home / Apache Solr before 7.1 with Apache Lucene before 7.1 / Apache Solr before 7.1 with Apache Lucene before 7.1 / CVE-2017-12629
CVE-2017-12629: is it exploited, and which versions of Apache Solr before 7.1 with Apache Lucene before 7.1 are affected and fixed?
CVE-2017-12629 is a XML external entity (XXE) vulnerability in Apache Solr before 7.1 with Apache Lucene before 7.1. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:38 UTC). Affected: org.apache.solr:solr-core from 7.0.0 before 7.1.0, org.apache.solr:solr-core from 6.0.0 before 6.6.2 and org.apache.solr:solr-core from 5.5.0 before 5.5.5 (GitHub advisory GHSA-mh7g-99w9-xpjm). Fixed in 7.1.0, 6.6.2 and 5.5.5 (GitHub advisory GHSA-mh7g-99w9-xpjm). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:37 UTC.
What is CVE-2017-12629?
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.
From the CVE record by apache, last updated August 5, 2024, 18:43 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Solr before 7.1 with Apache Lucene before 7.1 | Apache Solr before 7.1 with Apache Lucene before 7.1 from lucene-solr before 7.1.0 | lucene-solr 7.2.0, lucene-solr 8.0.0, 7.1.0, 6.6.2, 5.5.5 | |
| Apache Solr before 7.1 with Apache Lucene before 7.1 redhat | from lucene-solr before 5.3.1-redhat-2 | 5.3.1-redhat-2 |
As the CVE record by apache states it, last updated August 5, 2024. 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 | >= 7.0.0, < 7.1.0 | 7.1.0 | GHSA-mh7g-99w9-xpjm |
| Maven | org.apache.solr:solr-core | >= 6.0.0, < 6.6.2 | 6.6.2 | GHSA-mh7g-99w9-xpjm |
| Maven | org.apache.solr:solr-core | >= 5.5.0, < 5.5.5 | 5.5.5 | GHSA-mh7g-99w9-xpjm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 12, 2024. Summary: Remote code execution occurs in Apache Solr.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | solr | from 5.5.0 through 5.5.4 | application |
| apache | solr | from 6.0.0 through 6.6.1 | application |
| apache | solr | from 7.0.0 through 7.0.1 | application |
| redhat | jboss enterprise application platform | 7.0.0 | application |
| redhat | jboss enterprise application platform | 7.1.0 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
| debian | debian linux | 9.0 | operating system |
| canonical | ubuntu linux | 16.04 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:03 UTC.
How severe is CVE-2017-12629?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/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-2017-12629 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 92.5% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-611 Improper Restriction of XML External Entity Reference
Where are the vendor advisories and references?
- RHSA-2017:3451 vendor-advisory, x_refsource_REDHAT
- [lucene-dev] 20171012 Re: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE) mailing-list, x_refsource_MLIST
- RHSA-2018:0002 vendor-advisory, x_refsource_REDHAT
- 101261 vdb-entry, x_refsource_BID
- RHSA-2018:0004 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:3452 vendor-advisory, x_refsource_REDHAT
- [debian-lts-announce] 20180121 [SECURITY] [DLA 1254-1] lucene-solr security update mailing-list, x_refsource_MLIST
- 43009 exploit, x_refsource_EXPLOIT-DB
- RHSA-2018:0003 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:3123 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:0005 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:3244 vendor-advisory, x_refsource_REDHAT
- RHSA-2017:3124 vendor-advisory, x_refsource_REDHAT
- [www-announce] 20171019 [SECURITY] CVE-2017-12629: Several critical vulnerabilities discovered in Apache Solr (XXE & RCE) mailing-list, x_refsource_MLIST
- DSA-4124 vendor-advisory, x_refsource_DEBIAN
- USN-4259-1 vendor-advisory, x_refsource_UBUNTU
- https://twitter.com/ApacheSolr/status/918731485611401216 x_refsource_MISC
- https://twitter.com/searchtools_avi/status/918904813613543424 x_refsource_MISC
- http://openwall.com/lists/oss-security/2017/10/13/1 x_refsource_MISC
- https://twitter.com/joshbressers/status/919258716297420802 x_refsource_MISC
- [solr-users] 20210618 CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability mailing-list, x_refsource_MLIST
- [solr-users] 20210618 Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability mailing-list, x_refsource_MLIST
- [solr-users] 20210728 Re: CVE-2021-27905 Apache Solr ReplicationHandler/SSRF vulnerability mailing-list, x_refsource_MLIST
- [jackrabbit-oak-issues] 20210817 [jira] [Created] (OAK-9537) Security vulnerability in org/apache/lucene/queryparser/xml/CoreParser.java mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- August 7, 2017
- Published
- October 14, 2017, 21:00 UTC
- CVE record updated
- August 5, 2024, 18:43 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 01:03 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:37 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2017-12629
Is CVE-2017-12629 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:38 UTC. FIRST's EPSS gives it a 92.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Solr before 7.1 with Apache Lucene before 7.1 are affected by CVE-2017-12629?
org.apache.solr:solr-core from 7.0.0 before 7.1.0, org.apache.solr:solr-core from 6.0.0 before 6.6.2 and org.apache.solr:solr-core from 5.5.0 before 5.5.5, per the GitHub advisory GHSA-mh7g-99w9-xpjm. The tables above give every range the sources list.
Which version fixes CVE-2017-12629?
7.1.0, 6.6.2 and 5.5.5, per the GitHub advisory GHSA-mh7g-99w9-xpjm. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-12629?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-12629?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.