# CVE-2026-81889: elFinder: SSRF protection bypass via DNS rebinding in the `fsock_get_contents()` fallback

- Severity: High 8.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-31T20:25:27.456Z
- Modified: 2026-09-09T21:09:13.080Z
- Also known as: GHSA-8x3q-jpjh-qh5c
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Studio-42 elFinder: < 2.1.70
- studio-42/elfinder (Packagist): before 2.1.70

## Every score

- GitHub_M: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/Studio-42/elFinder/security/advisories/GHSA-8x3q-jpjh-qh5c> (exploit, web)
- <https://github.com/Studio-42/elFinder/commit/191372c1bbebbd36fb55af79a84b9984861390ff> (web)
- <https://github.com/Studio-42/elFinder/commit/6d997386cd0f1abab4706c220b46b0aea0ecff51> (web)
- <https://github.com/Studio-42/elFinder/releases/tag/2.1.70> (web)
- <https://github.com/Studio-42/elFinder> (package)

## Sources

- CVE List: [CVE-2026-81889](https://www.cve.org/CVERecord?id=CVE-2026-81889), CVE Terms of Use, modified 2026-09-03
- GitHub Advisory Database: [GHSA-8x3q-jpjh-qh5c](https://github.com/advisories/GHSA-8x3q-jpjh-qh5c), CC-BY-4.0, modified 2026-08-31
- NVD: [CVE-2026-81889](https://nvd.nist.gov/vuln/detail/CVE-2026-81889), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-81889 · Whole record: https://cve.day/CVE-2026-81889.json · Rebuilt by cve.day 2026-11-25T22:59:35.882Z
