{"id":"CVE-2026-81889","published":"2026-08-31T20:25:27Z","modified":"2026-09-03T18:04:09Z","title":"elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback","vendor":"Studio-42","product":"elFinder","tier":"tail","description":{"text":"elFinder is an open-source file manager for web, written in JavaScript using jQuery UI. Prior to 2.1.70, elFinder URL uploads in php/elFinder.class.php can bypass server-side request forgery protections when PHP cURL is unavailable because validate_address() validates $info['ip'], but get_remote_contents() selects fsock_get_contents(), which connects to $arr['host'] and performs a second DNS resolution. An attacker able to submit a URL upload can use DNS rebinding to have the first resolution return a public address and the connection resolution return a loopback or private address, causing the internal HTTP response body to be stored as an uploaded file and made readable through elFinder. After a successful fetch, get_headers($url, true) separately requests the original hostname without reusing the validated and pinned connection, creating an additional blind server-side request forgery path even when curl_get_contents() is selected. This issue is fixed in version 2.1.70.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0055,"percentile":0.39654,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/Studio-42/elFinder/security/advisories/GHSA-8x3q-jpjh-qh5c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/Studio-42/elFinder/commit/6d997386cd0f1abab4706c220b46b0aea0ecff51","tags":["x_refsource_MISC"]},{"url":"https://github.com/Studio-42/elFinder/releases/tag/2.1.70","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":7.93},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"studio-42","affectedVersions":[{"vendor":"Studio-42","product":"elFinder","versions":["< 2.1.70"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-03T18:04:00.867870Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"studio-42/elfinder","vulnerableRanges":["<2.1.70"],"patched":["2.1.70"],"from":["GHSA-8x3q-jpjh-qh5c"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-68768","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-studio-42-elfinder-cve-2019-5884","parents":[{"from":"CVE-2019-5884","to":"CVE-2026-81889","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["php/elFinder.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/f133163f2d754584de65d718b2fde96191557316","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","https://github.com/Studio-42/elFinder/commit/6d997386cd0f1abab4706c220b46b0aea0ecff51"],"basis":"shared function","functions":["upload"]}]},{"from":"CVE-2019-6257","to":"CVE-2026-81889","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["php/elFinder.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/2f522db8f037a66ce9040ee0b216aa4a0359286c","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","https://github.com/Studio-42/elFinder/commit/6d997386cd0f1abab4706c220b46b0aea0ecff51"],"basis":"shared function","functions":["fsock_get_contents","get_remote_contents"]}]},{"from":"CVE-2021-32682","to":"CVE-2026-81889","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["php/elFinderVolumeDriver.class.php"],"commits":["https://github.com/Studio-42/elFinder/commit/a106c350b7dfe666a81d6b576816db9fe0899b17","https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","https://github.com/Studio-42/elFinder/commit/6d997386cd0f1abab4706c220b46b0aea0ecff51"],"basis":"shared function","functions":["curl_get_contents","elFinder","fsock_get_contents","get_remote_contents"]}]}],"children":[{"from":"CVE-2026-81889","to":"CVE-2026-81890","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["css/elfinder.full.css","css/elfinder.min.css","js/elfinder.full.js","js/elfinder.min.js"],"commits":["https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff","https://github.com/Studio-42/elFinder/commit/6d997386cd0f1abab4706c220b46b0aea0ecff51","https://github.com/Studio-42/elFinder/commit/31284facd033e081b2b69c08873b39c8a413b762","https://github.com/Studio-42/elFinder/commit/36d40fff12222ad4c229d8889d8ed3fd3dbf0415"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2023-35840","published":"2023-06-19","fixed":"2.1.62","kev":false},{"cve":"CVE-2026-41247","published":"2026-04-23","fixed":"2.1.67","kev":false},{"cve":"CVE-2026-44521","published":"2026-05-27","fixed":"2.1.68","kev":false,"link":{"from":"CVE-2026-44521","to":"CVE-2026-81889","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:studio-42/elfinder","fromFixed":"2.1.68","toFixed":"2.1.70","daysApart":96}]}},{"cve":"CVE-2026-81889","published":"2026-08-31","fixed":"2.1.70","kev":false},{"cve":"CVE-2026-81890","published":"2026-08-31","fixed":"2.1.70","kev":false}],"package":"Packagist:studio-42/elfinder"}}