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 Confi…

CVE-2017-12629 affects 22 listed versions of Apache Solr, Red Hat JBoss EAP in the Dawnsentry catalogue.

9.8CVSS critical
Proof of concept publicexploitation
92%EPSS (next 30 days)
14 October 2017published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache Solr

20 of 128 listed versions are affected. No fixed release is named. The newest release, 10.1.0, is not affected.

7.0.1 7.0.0 6.6.1 6.6.0 6.5.1 6.5.0 6.4.2 6.4.1 6.4.0 6.3.0 6.2.1 6.2.0 6.1.0 6.0.1 6.0.0 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0

Red Hat JBoss EAP

2 of 104 listed versions are affected. No fixed release is named. The newest release, 8.1.9.1, is not affected.

7.1.0 7.0.0

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Apache Software Foundation on 14 October 2017. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2017-12629 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.