Intel

AIKIDO-2026-663412

prefect is vulnerable to Server-Side Request Forgery (SSRF)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jun 22, 2026
June 22, 2026

60

CVE Score

Medium

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

Prefect validates user-supplied JSON schemas with the jsonschema library, which resolves $ref references through a default registry that fetches external URLs over HTTP during instance validation. A schema containing a remote $ref that points at an internal host or a link-local cloud metadata address causes the server to issue a blind outbound request while validating, and the failure surfaces as an uncaught referencing error rather than a clean validation error. This lets a caller probe internal services and metadata endpoints reachable from the server. The fix adds a non-fetching registry that resolves only in-document references and raises a controlled error for external refs without performing any network request.

How do I fix this?

Upgrade the prefect and/or the prefect-client library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

3.0.0 - 3.7.4

Fixed in 3.7.5

Background info

prefect is vulnerable to Server-Side Request Forgery (SSRF) in versions 3.0.0 - 3.7.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea