CVE-2018-8026: Apache Solr XML External Entity Expansion (XXE) Vulnerability

org.apache.solr:solr-core Updated 02 Oct 2025

Summary

17/10/2018
Yes i
Moderate
5.5

CVE-2018-8026: XML external entity expansion in org.apache.solr:solr-core. Affects org.apache.solr:solr-core across 2 version ranges.

>= 6.0.0, < 6.6.5 >= 7.0.0, < 7.4.0

Fixed in 6.6.5 or 7.4.0, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Solr is an open-source search platform built on Apache Lucene. It provides full-text search, hit highlighting, faceted search, real-time indexing, and more. Solr config files, such as currency.xml, enumsConfig.xml, and TIKA parsecontext config file, are used to configure various aspects of Solr's functionality. These config files can be manipulated to exploit an XML external entity expansion (XXE) vulnerability in Solr versions 6.0.0 to 6.6.4 and 7.0.0 to 7.3.1. The vulnerability allows an attacker to read arbitrary local files from the Solr server or the internal network by using file/ftp/http protocols. The manipulated files can be uploaded as configsets using Solr's API, providing an avenue for exploitation.

Vulnerability Detail

The XML external entity expansion (XXE) vulnerability in Apache Solr allows an attacker to read arbitrary local files from the Solr server or the internal network. This vulnerability affects Solr versions 6.0.0 to 6.6.4 and 7.0.0 to 7.3.1. The vulnerability is present in Solr config files, such as currency.xml, enumsConfig.xml, and TIKA parsecontext config file. These files can be manipulated to include external entities or exploit the Xinclude functionality. By using file/ftp/http protocols, an attacker can retrieve sensitive information from the server or internal network. This can lead to unauthorized access, data leakage, and potential compromise of the Solr server.

How To Fix

Latest published version: 10.0.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 6.0.0, < 6.6.5 6.6.5
  • >= 7.0.0, < 7.4.0 7.4.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, it is possible to disable the Xinclude functionality in Solr config files. This can be done by removing or commenting out the Xinclude-related configurations in currency.xml, enumsConfig.xml, and TIKA parsecontext config file. However, this workaround may impact certain functionalities that rely on Xinclude. It is recommended to apply the official patches or upgrade to the latest version as soon as possible.

Conclusion

The XML external entity expansion (XXE) vulnerability in Apache Solr can be exploited to read arbitrary local files from the server or internal network. It is crucial to upgrade to the latest patched version or apply the official patches to mitigate this vulnerability. Regularly updating Solr to the latest stable release is recommended to ensure the latest security fixes are applied. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.solr:solr-core →

Share this vulnerability

FAQ

Apache Solr is an open-source search platform built on Apache Lucene. It provides full-text search, hit highlighting, faceted search, real-time indexing, and more.

This vulnerability affects Apache Solr versions 6.0.0 to 6.6.4 and 7.0.0 to 7.3.1.

An attacker can exploit this vulnerability by manipulating Solr config files to include external entities or exploit the Xinclude functionality. By using file/ftp/http protocols, the attacker can read arbitrary local files from the Solr server or the internal network.

This vulnerability can lead to unauthorized access, data leakage, and potential compromise of the Solr server. An attacker can retrieve sensitive information from the server or internal network.

To fix this vulnerability, it is recommended to upgrade to Apache Solr version 7.4.0 or later for versions 7.x.x, and version 6.6.5 or later for versions 6.x.x. Regularly updating Solr to the latest stable release is important to ensure the latest security fixes are applied.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.solr:solr-core.

How To Fix

Latest published version: 10.0.0 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 6.0.0, < 6.6.5 6.6.5
  • >= 7.0.0, < 7.4.0 7.4.0

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback