Remote code executionin the org.apache.solr:solr-core package.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade org.apache.solr:solr-core (Maven) to 5.5.5, 6.6.2, 7.1.0 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Aug 2017CVE ID reserved by apache.
- 14 Oct 2017Published in the CVE List.
- 5 Aug 2024CVE record last updated.
- 1 Aug 2025First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- s.apache.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- www.securityfocus.com vdb-entry, x_refsource_BID
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.debian.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- mail-archives.us.apache.org mailing-list, x_refsource_MLIST
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- usn.ubuntu.com vendor-advisory, x_refsource_UBUNTU
- twitter.com x_refsource_MISC
- twitter.com x_refsource_MISC
- openwall.com x_refsource_MISC
- twitter.com x_refsource_MISC
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
Patchminder. CVE-2017-12629: Remote code execution in the org.apache.solr:solr-core package. https://patchminder.com/cve/cve-2017-12629/ (accessed 5 December 2026).