Intel

AIKIDO-2026-10696

mailjet-rest is vulnerable to Server-Side Request Forgery (SSRF)

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 4, 2026
May 4, 2026

81

CVE Score

High

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

The SDK issued HTTP requests without centralized checks on endpoint construction, transport policy, and header composition. Configurable base URLs and dynamic path segments could diverge from HTTPS-only Mailjet hosts, automatic redirects stayed enabled, and header values were not screened for newline characters. Representation and telemetry paths could also surface attacker-shaped strings without sanitization. The update introduces a dedicated guardrails layer that enforces TLS URLs and hostname expectations, disables redirects, validates headers for CRLF sequences, strictly encodes injected path pieces, and hardens logging and string surfaces against misleading content.

How do I fix this?

Upgrade the mailjet-rest library to the patch version.

Who does this affect?

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

Versions

1.0.2 - 1.5.1

Fixed in 1.6.0

Background info

mailjet-rest is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.2 - 1.5.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