# Elasticsearch directory traversal vulnerability CVE-2015-5531

**URL:** <https://discuss.elastic.co/t/elasticsearch-directory-traversal-vulnerability-cve-2015-5531/25737>\
**Category:** Security Announcements\
**Created:** [July 16, 2015, 5:31pm UTC](https://discuss.elastic.co/t/elasticsearch-directory-traversal-vulnerability-cve-2015-5531/25737 "2015-07-16T17:31:51Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![KevinKluge](https://avatars.discourse-cdn.com/v4/letter/k/dfb087/32.png) [@KevinKluge](https://discuss.elastic.co/u/KevinKluge)\
**Post date:** [July 16, 2015, 5:31pm UTC](https://discuss.elastic.co/t/elasticsearch-directory-traversal-vulnerability-cve-2015-5531/25737/1 "2015-07-16T17:31:51Z")

</div>

**Summary**  
Elasticsearch versions from 1.0.0 to 1.6.0 are vulnerable to a directory traversal attack that allows an attacker to retrieve files that are readable by the Elasticsearch JVM process.

We have been assigned CVE-2015-5531 for this issue.

**Fixed versions**  
Versions 1.6.1 and 1.7.0 address the vulnerability.

**Remediation**  
Users should upgrade to the 1.6.1 or 1.7.0 releases. Users that do not wish to upgrade can use a firewall, reverse proxy, or Shield to prevent snapshot API calls from untrusted sources.

**CVSS**  
Overall CVSS score: 2.6

**Credits**  
Benjamin Smith reported the issue.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-directory-traversal-vulnerability-cve-2015-5531/25737)._
