Intel

AIKIDO-2026-656434

laravel/ai is vulnerable to Server-Side Request Forgery (SSRF)

GHSA-6qhr-3g93-pxhwPublished Oct 6, 2026
October 6, 2026

53

CVE Score

Medium

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

The Vercel AI SDK adapter and the AG-UI adapter accept a client supplied file URL and fetch it from the server without validating the target host. A chat request with a URL that points at an internal address, such as a cloud metadata endpoint, localhost, or a private network, makes the server send that request and return the response body to the model as a file attachment, leaking internal service responses into the model's reply through server-side request forgery. The fix restricts remote file URLs to http/https, blocks loopback, private, link-local, and reserved addresses, and pins the connection across redirects to stop DNS rebinding.

How do I fix this?

Upgrade the laravel/ai library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose the Vercel AI SDK adapter or the AG-UI adapter to untrusted clients.

Package

Versions

1.0.0 - 1.0.0

Fixed in 1.0.1

Background info

laravel/ai is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.0 - 1.0.0.

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