Intel

AIKIDO-2026-833597

solspace/craft-freeform is vulnerable to Server-Side Request Forgery (SSRF)

GHSA-5r6p-f282-rc8gPublished Oct 5, 2026
October 5, 2026

82

CVE Score

High

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

Freeform's GraphQL submission mutation accepts a remote URL for a File Upload field and fetches it on the server without restricting the destination or checking the resolved IP address. A GraphQL client with permission to submit the affected form can make the server request internal services or cloud metadata endpoints, and can supply a filename whose extension bypasses the field's allowed extension configuration. The fix validates the URL scheme, resolves it to a public IP address, pins the outbound connection to that address, disables redirects, checks the file extension before and after filename normalization, and caps the downloaded size.

How do I fix this?

Upgrade the solspace/craft-freeform 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 your GraphQL schema grants permission to submit a form containing a File Upload field that accepts a remote URL.

Versions

5.0.0 - 5.16.1

Fixed in 5.16.2

Background info

solspace/craft-freeform is vulnerable to Server-Side Request Forgery (SSRF) in versions 5.0.0 - 5.16.1.

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