Intel

AIKIDO-2026-10696

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

Server-Side Request Forgery (SSRF) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published May 4, 2026

81

High Risk

This Affects:

PYTHONmailjet-rest
1.0.2 - 1.5.1
Fixed in 1.6.0
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.

Who does this affect?

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

Background info

mailjet-rest is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.0.2 - 1.5.1.

How to fix this

Upgrade the mailjet-rest library to the patch version.