CVE-2021-23428
CRITICAL 9.8CVSS 3.1Path traversal in elFinder.NetCore
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
- Published
- 1 Sep 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-20CWE-22
- Also known as
- GHSA-9rjp-r58j-fxgq
- Sources
- NVDJSONOSV GHSA-9rjp-r58j-fxgqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | elfinder.netcore_project | elfinder.netcorecpe:2.3:a:elfinder.netcore_project:elfinder.netcore:*:*:*:*:*:*:*:* |
all versions | |
| OSV | NuGet | elFinder.NetCore | <= 1.3.5 |
References
- https://github.com/gordon-matt/elFinder.NetCore · Product, Third Party Advisory, PACKAGE
- https://github.com/gordon-matt/elFinder.NetCore/blob/633da9a4d7d5c9baefd1730ee51bf7af54889600/elFinder.NetCore/Drivers/FileSystem/FileSystemDriver.cs%23L387 · Broken Link, WEB
- https://snyk.io/vuln/SNYK-DOTNET-ELFINDERNETCORE-1313838 · Third Party Advisory, 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
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Sep 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Sep 2021)