Intel

AIKIDO-2026-10388

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Mar 18, 2026
March 18, 2026

75

CVE Score

High

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

Webhook delivery (spree_api) and image download from URL (spree_core SaveFromUrlJob) send HTTP requests to URLs that can be controlled or influenced by configuration or job arguments. The previous custom SSRF checks did not fully prevent requests to private or internal addresses (e.g. RFC 1918, loopback, link-local, cloud metadata), so an attacker who can set a webhook endpoint URL or trigger image-from-URL with a malicious URL could probe or access internal services. The fix replaces the custom logic with the ssrf_filter gem for webhook delivery and image download, adds WebhookEndpoint validation that rejects URLs resolving to private IPs, enforces a 20MB download size limit for images, and stops passing secret_key in job arguments to prevent leakage.

How do I fix this?

Upgrade the spree_core and spree 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

5.0.0 - 5.3.4

Fixed in 5.3.5

Background info

spree_core is vulnerable to Server-Side Request Forgery (SSRF) in versions 5.0.0 - 5.3.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