{"schemaVersion":3,"id":"CVE-2015-5531","aliases":["UBUNTU-CVE-2015-5531","GHSA-jjq8-vfjq-j6v4"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2015-08-17T15:00:00.000Z","modified":"2024-08-06T06:50:02.923Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.94788,"percentile":0.9986,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.94788},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.94788,"percentile":0.9986}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.94788,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.94788,"percentile":0.9986}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"38383","name":"ElasticSearch 1.6.0 - Arbitrary File Download","source":"exploit-database","url":"https://www.exploit-db.com/exploits/38383","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["linux"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"linux","file":"exploits/linux/webapps/38383.py","codes":["CVE-2015-5531","OSVDB-124882"]},"metasploit":null},{"id":"MSF_AUXILIARY_SCANNER_HTTP_ELASTICSEARCH_TRAVERSAL","name":"ElasticSearch Snapshot API Directory Traversal","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/elasticsearch_traversal.rb","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"auxiliary/scanner/http/elasticsearch_traversal","rank":"300","rankName":"normal","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"ubuntu","product":"elasticsearch","name":"elasticsearch","label":"elasticsearch","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/elasticsearch","purlType":"deb","versions":[{"text":"< 1.7.3+dfsg-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.7.3+dfsg-3","eol":null,"hubHref":null},{"vendor":"elasticsearch","product":"elasticsearch","name":"elasticsearch","label":"elasticsearch","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.6.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"elasticsearch","label":"Elasticsearch","category":"database"}},"hubHref":"/vendor/elasticsearch/elasticsearch"},{"vendor":"org.elasticsearch","product":"elasticsearch","name":"org.elasticsearch:elasticsearch","label":"elasticsearch","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.elasticsearch/elasticsearch","purlType":"maven","versions":[{"text":"< 1.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.6.1","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securityfocus.com/archive/1/536017/100/0/threaded","label":"www.securityfocus.com/archive/1/536017/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html","label":"packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","WEB"]},{"url":"http://packetstormsecurity.com/files/133964/ElasticSearch-Snapshot-API-Directory-Traversal.html","label":"packetstormsecurity.com/files/133964/ElasticSearch-Snapshot-API-Directory-Traversal.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","WEB"]},{"url":"http://www.securityfocus.com/bid/75935","label":"www.securityfocus.com/bid/75935","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html","label":"packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","WEB"]},{"url":"https://www.elastic.co/community/security/","label":"www.elastic.co/community/security/","hostname":"www.elastic.co","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://www.exploit-db.com/exploits/38383/","label":"www.exploit-db.com/exploits/38383/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB"]},{"url":"https://ubuntu.com/security/CVE-2015-5531","label":"ubuntu.com/security/CVE-2015-5531","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.elastic.co/blog/elasticsearch-1-7-0-and-1-6-1-released#security","label":"www.elastic.co/blog/elasticsearch-1-7-0-and-1-6-1-released","hostname":"www.elastic.co","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5531","label":"www.cve.org/CVERecord?id=CVE-2015-5531","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5531","label":"nvd.nist.gov/vuln/detail/CVE-2015-5531","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://www.elastic.co/community/security","label":"www.elastic.co/community/security","hostname":"www.elastic.co","tags":["WEB"]},{"url":"https://www.exploit-db.com/exploits/38383","label":"www.exploit-db.com/exploits/38383","hostname":"www.exploit-db.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2015-08-17T15:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T06:50:02.923Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":49,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:21:38.015Z","stale":false,"partial":false}}