{"id":"CVE-2023-6022","aliases":["EUVD-2023-2878","GHSA-4hh5-2678-83fx","PYSEC-2026-1799","ROOT-APP-PYPI-CVE-2023-6022"],"status":"published","title":"Cross-Site Request Forgery (CSRF) in prefecthq/prefect","description":"Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5.","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00392,"percentile":0.33581,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-352"],"published":"2023-11-16T16:07:33Z","modified":"2026-10-28T02:31:08Z","fixes":[{"ecosystem":"PyPI","package":"prefect","fixed_in":["2.16.5"],"sources":["ghsa","osv"]},{"ecosystem":"Root:PyPI","package":"prefect","fixed_in":["2.10.4+aikido.4","2.11.5+aikido.3","2.14.13+aikido.2","2.10.4+aikido.5","2.11.5+aikido.4","2.14.13+aikido.3","2.14.13+aikido.4","2.11.5+aikido.5","2.14.13+aikido.5","2.11.5+aikido.6","2.10.4+aikido.6","2.11.5+aikido.7"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"rootio-prefect","fixed_in":["2.10.4+root.io.2","2.10.4+root.io.3","2.11.5+root.io.2","2.10.4+root.io.4","2.11.5+root.io.3","2.14.13+root.io.2","2.10.4+root.io.5","2.11.5+root.io.4","2.14.13+root.io.3","2.14.13+root.io.4","2.11.5+root.io.5","2.14.13+root.io.5","2.11.5+root.io.6","2.10.4+root.io.6","2.11.5+root.io.7"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"prefect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.16.5"}]}]},{"source":"osv","ecosystem":"PyPI","package":"prefect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.16.5"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.1.1","2.10.0","2.10.1","2.10.10","2.10.11","2.10.12","2.10.13","2.10.14","2.10.15","2.10.16","2.10.17","2.10.18","2.10.19","2.10.2","2.10.20","2.10.21","2.10.3","2.10.4","2.10.5","2.10.6","2.10.7","2.10.8","2.10.9","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5","2.12.0","2.12.1","2.13.0","2.13.1","2.13.2","2.13.3","2.13.4","2.13.5","2.13.6","2.13.7","2.13.8","2.14.0","2.14.1","2.14.10","2.14.11","2.14.12","2.14.13","2.14.14","2.14.15","2.14.16","2.14.17","2.14.18","2.14.19","2.14.2","2.14.20","2.14.21","2.14.3","2.14.4","2.14.5","2.14.6","2.14.8","2.14.9","2.15.0","2.16.0","2.16.1","2.16.2","2.16.3","2.16.4","2.2.0","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.5.0","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9","2.7.0","2.7.1","2.7.10","2.7.11","2.7.12","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.9.0"]},{"source":"osv","ecosystem":"PyPI","package":"prefect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.16.5"}]}],"versions":["2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.1.1","2.10.0","2.10.1","2.10.10","2.10.11","2.10.12","2.10.13","2.10.14","2.10.15","2.10.16","2.10.17","2.10.18","2.10.19","2.10.2","2.10.20","2.10.21","2.10.3","2.10.4","2.10.5","2.10.6","2.10.7","2.10.8","2.10.9","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5","2.12.0","2.12.1","2.13.0","2.13.1","2.13.2","2.13.3","2.13.4","2.13.5","2.13.6","2.13.7","2.13.8","2.14.0","2.14.1","2.14.10","2.14.11","2.14.12","2.14.13","2.14.14","2.14.15","2.14.16","2.14.17","2.14.18","2.14.19","2.14.2","2.14.20","2.14.21","2.14.3","2.14.4","2.14.5","2.14.6","2.14.8","2.14.9","2.15.0","2.16.0","2.16.1","2.16.2","2.16.3","2.16.4","2.2.0","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.5.0","2.6.0","2.6.1","2.6.2","2.6.3","2.6.4","2.6.5","2.6.6","2.6.7","2.6.8","2.6.9","2.7.0","2.7.1","2.7.10","2.7.11","2.7.12","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.9.0"]},{"source":"osv","ecosystem":"Root:PyPI","package":"prefect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.4+aikido.4"},{"fixed":"2.11.5+aikido.3"},{"fixed":"2.14.13+aikido.2"},{"fixed":"2.10.4+aikido.5"},{"fixed":"2.11.5+aikido.4"},{"fixed":"2.14.13+aikido.3"},{"fixed":"2.14.13+aikido.4"},{"fixed":"2.11.5+aikido.5"},{"fixed":"2.14.13+aikido.5"},{"fixed":"2.11.5+aikido.6"},{"fixed":"2.10.4+aikido.6"},{"fixed":"2.11.5+aikido.7"}]}]},{"source":"osv","ecosystem":"Root:PyPI","package":"rootio-prefect","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.4+root.io.2"},{"fixed":"2.10.4+root.io.3"},{"fixed":"2.11.5+root.io.2"},{"fixed":"2.10.4+root.io.4"},{"fixed":"2.11.5+root.io.3"},{"fixed":"2.14.13+root.io.2"},{"fixed":"2.10.4+root.io.5"},{"fixed":"2.11.5+root.io.4"},{"fixed":"2.14.13+root.io.3"},{"fixed":"2.14.13+root.io.4"},{"fixed":"2.11.5+root.io.5"},{"fixed":"2.14.13+root.io.5"},{"fixed":"2.11.5+root.io.6"},{"fixed":"2.10.4+root.io.6"},{"fixed":"2.11.5+root.io.7"}]}]}],"products":[{"vendor":"prefect","product":"prefect"},{"vendor":"prefecthq","product":"prefecthq/prefect"}],"references":[{"url":"https://huntr.com/bounties/dab47d99-551c-4355-9ab1-c99cb90235af","tags":["x_transferred","Exploit","web"]},{"url":"https://github.com/prefecthq/prefect/commit/227dfcc7e3374c212a4bcd68b14e090b1c02d9d3","tags":["x_transferred","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6022","tags":["advisory"]},{"url":"https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2165","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4hh5-2678-83fx","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6022.json","tags":["advisory"]},{"url":"https://github.com/prefecthq/prefect","tags":["package"]},{"url":"https://pypi.org/project/prefect","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-6022","title":"Cross-Site Request Forgery (CSRF) in prefecthq/prefect","description":"Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5.","status":"published","published":"2023-11-16T16:07:33.744Z","modified":"2024-08-02T08:21:17.081Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:35:25.095989Z"}],"euvd":[{"id":"EUVD-2023-2878","description":"Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5.","status":"published","published":"2023-11-16T16:07:33Z","modified":"2024-08-02T08:21:17Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:50:11.066935Z"}],"ghsa":[{"id":"GHSA-4hh5-2678-83fx","title":"Cross-Site Request Forgery vulnerability in Prefect","description":"An attacker is able to steal secrets and potentially gain remote code execution via CSRF using a self-hosted, open source Prefect API.","status":"published","published":"2023-11-16T18:30:31Z","modified":"2024-05-15T14:24:51Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:37:49.48194Z"}],"nvd":[{"id":"CVE-2023-6022","description":"Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5.","status":"published","published":"2023-11-16T17:15:09.2Z","modified":"2026-06-17T06:49:52.157Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T14:08:47.966245Z"}],"osv":[{"id":"CVE-2023-6022","title":"Cross-Site Request Forgery (CSRF) in prefecthq/prefect","description":"Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5.","status":"published","published":"2023-11-16T16:07:33.744Z","modified":"2026-10-28T02:31:08.597281167Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:44:36.851042Z"},{"id":"GHSA-4hh5-2678-83fx","title":"Cross-Site Request Forgery vulnerability in Prefect","description":"An attacker is able to steal secrets and potentially gain remote code execution via CSRF using a self-hosted, open source Prefect API.","status":"published","published":"2023-11-16T18:30:31Z","modified":"2026-09-10T03:50:03.999929474Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-352"],"updated_at":"2026-11-02T15:46:37.148947Z"},{"id":"PYSEC-2026-1799","title":"Cross-Site Request Forgery vulnerability in Prefect","description":"An attacker is able to steal secrets and potentially gain remote code execution via CSRF using a self-hosted, open source Prefect API.","status":"published","published":"2026-07-07T11:45:27.154429Z","modified":"2026-07-07T17:48:06.320684877Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:55.06457Z"},{"id":"ROOT-APP-PYPI-CVE-2023-6022","title":"CVE-2023-6022 in prefect - Patched by Root","description":"Root has patched CVE-2023-6022 in the prefect package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-06-03T18:36:53Z","modified":"2026-08-09T23:00:04.551826681Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:27.940619Z"}]}}
