Advisory

GHSA-4hh5-2678-83fx

Also known as: CVE-2023-6022, PYSEC-2026-1799

Summary

Cross-Site Request Forgery vulnerability in Prefect

Details

An attacker is able to steal secrets and potentially gain remote code execution via CSRF using a self-hosted, open source Prefect API.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-11-16 18:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

prefect

PyPI · All systems

Affected

  • introduced 2.0.0, fixed 2.16.5 (ecosystem)

Fixed versions

2.16.5

Fix

  • Fixed version 2.16.5
    pip install --upgrade prefect==2.16.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences