Intel

AIKIDO-2025-10611

pinterest-api-sdk is vulnerable to Deserialization of Untrusted Data

Deserialization of Untrusted Data Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 9, 2025

70

High Risk

This Affects:

Pythonpinterest-api-sdk
0.2.0 - 0.2.5
Fixed in 0.2.6
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to Arbitrary Code Execution via Unsafe YAML Deserialization because they use the yaml.load() API to process untrusted YAML input. An attacker can exploit this by providing a maliciously crafted YAML file that contains embedded Python commands, which are then automatically executed during the deserialization process, potentially leading to a complete system compromise.

Who does this affect?

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

Background info

pinterest-api-sdk is vulnerable to Deserialization of Untrusted Data in versions 0.2.0 - 0.2.5.

How to fix this

Upgrade the pinterest-api-sdk library to the patch version.