# CVE-2021-23428: Directory Traversal

- Severity: High 8.6 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:F/RL:U/RC:C`
- 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): 1.67%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-09-01T14:30:12.041Z
- Modified: 2026-06-17T03:38:44.723Z
- Also known as: GHSA-9rjp-r58j-fxgq
- Weaknesses: CWE-20, CWE-22
- Assigned by: snyk

## 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

(As written by CVE List.)

## Affected

- elFinder.NetCore: before unspecified
- elFinder.NetCore (NuGet): up to 1.3.5
- elfinder.netcore_project elfinder.netcore: no versions given

## Every score

- snyk: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:F/RL:U/RC:C`
- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838> (third-party-advisory, web)
- <https://github.com/gordon-matt/elFinder.NetCore> (package, product, third-party-advisory)
- <https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23428> (advisory)
- <https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs#L387> (web)

## Sources

- CVE List: [CVE-2021-23428](https://www.cve.org/CVERecord?id=CVE-2021-23428), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-9rjp-r58j-fxgq](https://github.com/advisories/GHSA-9rjp-r58j-fxgq), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2021-23428](https://nvd.nist.gov/vuln/detail/CVE-2021-23428), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23428 · Whole record: https://cve.day/CVE-2021-23428.json · Rebuilt by cve.day 2026-11-25T22:58:03.594Z
