{"id":"CVE-2020-15230","aliases":["GHSA-vcvg-xgr8-p5gq"],"url":"https://o3.security/vulnerability/CVE-2020-15230","summary":"Arbitrary file read using percent-encoded relative paths in FileMiddleware","details":"### Impact\n\nAttackers can access data at arbitrary filesystem paths on the same host as an application using `FileMiddleware`.\n\n### Patches\n\nVersion [4.29.4](https://github.com/vapor/vapor/releases/tag/4.29.4)\n\n### Workarounds\n\nUpgrade to 4.24.4 or later, or disable `FileMiddleware`.\n\n### References\n\n* Introduced in https://github.com/vapor/vapor/pull/2223\n* Fixed by https://github.com/vapor/vapor/pull/2500\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open [an issue](https://github.com/vapor/vapor/issues)\n* Email us at [security@vapor.codes](mailto:security@vapor.codes)","published":"2020-10-02T19:15:12.963Z","modified":"2026-10-20T10:51:56.330019607Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"SwiftURL","name":"github.com/vapor/vapor","fixedVersion":"4.29.4"}],"fix":{"url":"https://github.com/vapor/vapor/commit/cf1651f7ff76515593f4d8ca6e6e15d2247fe255","label":"vapor/vapor@cf1651f"},"references":[{"type":"ADVISORY","url":"https://github.com/vapor/vapor/pull/2500"},{"type":"ADVISORY","url":"https://github.com/vapor/vapor/security/advisories/GHSA-vcvg-xgr8-p5gq"},{"type":"FIX","url":"https://github.com/vapor/vapor/commit/cf1651f7ff76515593f4d8ca6e6e15d2247fe255"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15230"},{"type":"PACKAGE","url":"https://github.com/vapor/vapor"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:51:56.330019607Z"}}