{"id":"CVE-2020-15230","aliases":["CVE-2020-15230","GHSA-vcvg-xgr8-p5gq"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary file read un Vapor","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vapor es un framework web para Swift.&#xa0;En Vapor versiones anteriores a 4.29.4, los atacantes pueden acceder a datos en rutas arbitrarias del sistema de archivos en el mismo host como una aplicación.&#xa0;Solo las aplicaciones que usan FileMiddleware están afectadas.&#xa0;Esto es corregido en la versión 4.29.4","source":"nvd"}],"published":"2020-10-02T18:55:14.000Z","modified":"2026-07-08T06:00:43.200Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 4.29.4","status":"affected"}],"vendor":"vapor","product":"vapor","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.0.0-rc.2.5","status":"affected","fixed":"4.29.4"}],"ecosystem":"SwiftURL","package":"github.com/vapor/vapor","purl":"pkg:swift/github.com/vapor/vapor","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.29.4"}],"vendor":"vapor_project","product":"vapor","cpe":"cpe:2.3:a:vapor_project:vapor:*:*:*:*:*:swift:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vapor/vapor/security/advisories/GHSA-vcvg-xgr8-p5gq","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vapor/vapor/pull/2500","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/vapor/vapor/commit/cf1651f7ff76515593f4d8ca6e6e15d2247fe255","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15230","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vapor/vapor","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-15230","url":"https://www.cve.org/CVERecord?id=CVE-2020-15230","licence":"CVE Terms of Use","modified":"2024-08-04T13:08:22.827Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vcvg-xgr8-p5gq","url":"https://github.com/advisories/GHSA-vcvg-xgr8-p5gq","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:43.200Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-15230","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-15230","licence":"Public domain","modified":"2026-06-17T02:56:19.147Z"}],"updatedAt":"2026-11-25T22:57:55.027Z","epss":{"score":0.0153,"percentile":0.75486,"date":"2026-12-01T12:00:22.000Z"}}