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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
ElasticSearch Snapshot API Directory Traversal
auxiliary/scanner/http/elasticsearch_traversal
Exploit-DB 1
- ElasticSearch 1.6.0 - Arbitrary File Download EDB-38383 · webapps · Oct 2, 2015
GitHub 2 repositories
-
MoCh3n/CVE-2015-5531-POC ★ 2 · Sep 21, 2022
-
xpgdgit/CVE-2015-5531 ★ 0 · Aug 1, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- ElasticSearch <1.6.1 - Local File Inclusion http/cves/2015/CVE-2015-5531.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | < 1.6.1 | 1.6.1 | GHSA-jjq8-vfjq-j6v4 |
Advisories 1
- WID-SEC-2025-2234 Elasticsearch: Mehrere Schwachstellen ermöglichen Codeausführung und die Offenlegung von Informationen BSI CERT-Bund (WID) · Oct 8, 2025
References
- 20150716 Elasticsearch CVE-2015-5531 mailing-list
- http://packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html
- http://packetstormsecurity.com/files/133964/ElasticSearch-Snapshot-API-Directory-Traversal.html
- 75935 vdb-entry
- http://packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html
- https://www.elastic.co/community/security/
- 38383 exploit