Home / Apache / Solr / CVE-2013-6397
CVE-2013-6397: is it exploited, and which versions of Apache Solr are affected and fixed?
CVE-2013-6397 is a path traversal (reading or writing files outside the intended folder) vulnerability in Apache Solr. 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 before 4.6.0 (GitHub advisory GHSA-j8qw-mwmv-28cg). Fixed in 4.6.0 (GitHub advisory GHSA-j8qw-mwmv-28cg). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:38 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2013-6397?
Directory traversal vulnerability in SolrResourceLoader in Apache Solr before 4.6 allows remote attackers to read arbitrary files via a .. (dot dot) or full pathname in the tr parameter to solr/select/, when the response writer (wt parameter) is set to XSLT. NOTE: this can be leveraged using a separate XXE (XML eXternal Entity) vulnerability to allow access to files across restricted network boundaries.
From the CVE record by redhat, last updated August 6, 2024, 17:39 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.solr:solr-core | < 4.6.0 | 4.6.0 | GHSA-j8qw-mwmv-28cg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 5, 2024. Summary: Improper Limitation of a Pathname to a Restricted Directory in Apache Solr.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | solr | through 4.5.1 | application |
| apache | solr | 4.0.0 | application |
| apache | solr | 4.1.0 | application |
| apache | solr | 4.2.0 | application |
| apache | solr | 4.2.1 | application |
| apache | solr | 4.3.0 | application |
| apache | solr | 4.3.1 | application |
| apache | solr | 4.4.0 | application |
| apache | solr | 4.5.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 00:00 UTC.
How severe is CVE-2013-6397?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N | 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-2013-6397 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 56.5% probability of exploitation activity in the next 30 days, percentile 99.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- 63935 vdb-entry, x_refsource_BID
- RHSA-2014:0029 vendor-advisory, x_refsource_REDHAT
- https://issues.apache.org/jira/browse/SOLR-4882 x_refsource_CONFIRM
- [oss-security] 20131126 Re: CVE request: Apache Solr 4.6.0 mailing-list, x_refsource_MLIST
- 55730 third-party-advisory, x_refsource_SECUNIA
- RHSA-2013:1844 vendor-advisory, x_refsource_REDHAT
- http://lucene.apache.org/solr/4_6_0/changes/Changes.html x_refsource_CONFIRM
- 59372 third-party-advisory, x_refsource_SECUNIA
- http://www.agarri.fr/kom/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 4, 2013
- Published
- December 7, 2013, 20:00 UTC
- CVE record updated
- August 6, 2024, 17:39 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:00 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 08:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Solr?
- Jun 16, 2021CVE-2021-33813 Jdom: XML external entity (XXE)
- Nov 18, 2019CVE-2019-12409 Apache Solr: unrestricted file upload
- Sep 10, 2019CVE-2019-12401 Apache Solr: XML entity expansion (billion laughs)
- Nov 17, 2017CVE-2017-1000190 Apache Solr: XML external entity (XXE)
- Feb 15, 2016CVE-2015-8797 Apache Solr: cross-site scripting (XSS)
- Feb 15, 2016CVE-2015-8796 Apache Solr: cross-site scripting (XSS)
- Feb 15, 2016CVE-2015-8795 Apache Solr: cross-site scripting (XSS)
- Jan 6, 2015CVE-2014-3628 Apache Solr: cross-site scripting (XSS)
Questions about CVE-2013-6397
Is CVE-2013-6397 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 56.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Solr are affected by CVE-2013-6397?
org.apache.solr:solr-core before 4.6.0, per the GitHub advisory GHSA-j8qw-mwmv-28cg. The tables above give every range the sources list.
Which version fixes CVE-2013-6397?
4.6.0, per the GitHub advisory GHSA-j8qw-mwmv-28cg. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-6397?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-6397?
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.