PYSEC-2026-1799

Vulnerability from pysec - Published: 2026-07-07 11:45 - Updated: 2026-07-07 17:25
VLAI
Details

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

Impacted products
Name purl
prefect pkg:pypi/prefect

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "prefect",
        "purl": "pkg:pypi/prefect"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.0.0"
            },
            {
              "fixed": "2.16.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "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"
      ]
    }
  ],
  "aliases": [
    "CVE-2023-6022",
    "GHSA-4hh5-2678-83fx"
  ],
  "details": "An attacker is able to steal secrets and potentially gain remote code execution via CSRF using a self-hosted, open source Prefect API.",
  "id": "PYSEC-2026-1799",
  "modified": "2026-07-07T17:25:07.917729Z",
  "published": "2026-07-07T11:45:27.154429Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-6022"
    },
    {
      "type": "WEB",
      "url": "https://github.com/prefecthq/prefect/commit/227dfcc7e3374c212a4bcd68b14e090b1c02d9d3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md#release-2165"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/prefecthq/prefect"
    },
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/dab47d99-551c-4355-9ab1-c99cb90235af"
    },
    {
      "type": "PACKAGE",
      "url": "https://pypi.org/project/prefect"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-4hh5-2678-83fx"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross-Site Request Forgery vulnerability in Prefect"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…