CVE-2020-15230
MEDIUM 6.5CVSS 3.1Arbitrary file read using percent-encoded relative paths in FileMiddleware
Vapor is a web framework for Swift. In Vapor before version 4.29.4, Attackers can access data at arbitrary filesystem paths on the same host as an application. Only applications using FileMiddleware are affected. This is fixed in version 4.29.4.
- Published
- 2 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-vcvg-xgr8-p5gq
- Sources
- NVDJSONOSV GHSA-vcvg-xgr8-p5gqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vapor_project | vaporcpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:* |
< 4.29.4 | 4.29.4 |
| OSV | SwiftURL | github.com/vapor/vapor | >= 4.0.0-rc.2.5, < 4.29.4 | 4.29.4 |
References
- https://github.com/vapor/vapor/commit/cf1651f7ff76515593f4d8ca6e6e15d2247fe255 · Patch, Third Party Advisory, WEB
- https://github.com/vapor/vapor/pull/2500 · Third Party Advisory, WEB
- https://github.com/vapor/vapor/security/advisories/GHSA-vcvg-xgr8-p5gq · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15230 · ADVISORY
- https://github.com/vapor/vapor · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Oct 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Jun 2023)