CVE-2017-12629: Remote code execution occurs in Apache Solr before 7.1 with Apache Lucene before 7.1 by exploiting XXE in conj
CVE-2017-12629 is a critical-severity flaw (CVSS 9.8) affecting solr, jboss enterprise application platform, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 91.9% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-611 |
| Published | 2017-10-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: captain-woof/cve-2017-12629 (0 stars)
- GitHub PoC: CyberCTF/vulhub-solr-cve-2017-12629-rce (0 stars)
- GitHub PoC: googlesky/CVE-2017-12629 (0 stars)
- Write-up: www.exploit-db.com/exploits/43009/
- Exploit-DB: Apache Solr 7.0.1 - XML External Entity (XXE) Expansion / Remote Code Execution (RCE)
- Nuclei scan template: Apache Solr <= 7.1 - XML Entity Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-12629?
solr: upgrade to newer than 7.0.1; jboss enterprise application platform: downgrade or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-12629 being exploited?
CVE-2017-12629 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-12629 affect?
CVE-2017-12629 affects solr, jboss enterprise application platform, debian linux. Severity is critical (CVSS 9.8). 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 Lu
How urgent is CVE-2017-12629?
Priority 74/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Elasticsearch vulnerabilities · Ubuntu vulnerabilities · Debian vulnerabilities · Apache Solr vulnerabilities · JBoss and WildFly vulnerabilities
Related CVEs
- CVE-2026-44825 HIGH 8.1 UPGRADE Hardcoded credentials in the Basic Authentication setup tool (bin/solr auth enable) in Apache Solr versions 9.
- CVE-2026-22444 HIGH 7.1 UPGRADE The "create core" API of Apache Solr 8.6 through 9.10.0 lacks sufficient input validation on some API paramete
- CVE-2026-22022 HIGH 8.2 UPGRADE Deployments of Apache Solr 5.3.0 through 9.10.0 that rely on Solr's "Rule Based Authorization Plugin" are vuln
- CVE-2025-24814 MEDIUM 5.5 UPGRADE Core creation allows users to replace "trusted" configset files with arbitrary configuration Solr instances t
- CVE-2024-52012 MEDIUM 5.4 UPGRADE Relative Path Traversal vulnerability in Apache Solr. Solr instances running on Windows are vulnerable to arb