CVE-2026-81889: elFinder SSRF Protection Bypass via DNS Rebinding

studio-42/elfinder Updated 01 Sep 2026

Summary

31/08/2026
Yes i
High
8.6

CVE-2026-81889: elFinder: SSRF protection bypass via DNS rebinding in the fsock_get_contents() fallback. Affects studio-42/elfinder versions < 2.1.70. Fixed in 2.1.70. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

elFinder is an open-source file manager for web applications that allows users to manage files and directories on a server. It provides a user-friendly interface and supports various file operations, including uploads, downloads, and file editing. The vulnerability in question affects elFinder version 2.1.69, where a Server-Side Request Forgery (SSRF) protection bypass can occur when PHP cURL is unavailable, allowing attackers to exploit the URL upload functionality.

Vulnerability Detail

The vulnerability arises from a flaw in the way elFinder validates URLs for server-side uploads. When the cURL extension is not available, elFinder uses the 'fsock_get_contents()' function as a fallback. An attacker can submit a URL that initially resolves to an allowed public IP address but later resolves to a loopback or private IP address due to DNS rebinding. The validation checks only the first resolved IP, allowing the connection to reach an unauthorized address. This results in a non-blind SSRF, where sensitive internal information may be disclosed through the uploaded file.

How To Fix

Minimum fixed version

2.1.70

This is the first release that contains the fix.

composer require studio-42/elfinder:2.1.70

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can reject URL uploads when the cURL extension is unavailable. Additionally, you can configure the 'urlUploadFilter' to restrict URL uploads until the package is updated.

Conclusion

In summary, CVE-2026-81889 is a critical vulnerability in elFinder that allows for SSRF protection bypass through DNS rebinding. It is essential to update to the patched version 2.1.70 or later to secure your application. Additionally, implementing the suggested workarounds can help mitigate risks until an update can be performed.

See every vulnerability recorded for studio-42/elfinder →

Share this vulnerability

FAQ

Server-Side Request Forgery (SSRF) is a security vulnerability that allows an attacker to send crafted requests from a vulnerable server to internal or external resources, potentially exposing sensitive data.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to analyze your composer.lock file without any signup.

If exploited, this vulnerability can lead to the disclosure of sensitive internal information, as the attacker can make the server request internal services that should not be accessible.

Yes, you can temporarily mitigate the issue by rejecting URL uploads when cURL is unavailable and configuring the 'urlUploadFilter' to restrict URL uploads.

The CVSS score for this vulnerability is 8.6, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for studio-42/elfinder.

How To Fix

Minimum fixed version

2.1.70

This is the first release that contains the fix.

composer require studio-42/elfinder:2.1.70

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback