What’s Vulnerable › Vulnerabilities
CVE-2021-23428: Directory Traversal
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-09-01 · updated 2026-06-17
- Weakness: CWE-22
Description
This affects all versions of package elFinder.NetCore. The Path.Combine(...) method is used to create an absolute file path. Due to missing sanitation of the user input and a missing check of the generated path its possible to escape the Files directory via path traversal
Affected products
- elFinder.NetCore: all versions
References
- https://github.com/gordon-matt/elFinder.NetCore
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387
- https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838
- https://github.com/gordon-matt/elFinder.NetCore
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387
- https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838
Get alerted when CVE-2021-23428 or the next vulnerability affects your stack