Intel

AIKIDO-2026-10530

dd-trace is vulnerable to Prototype Pollution

Prototype Pollution Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 24, 2026

41

Medium Risk

This Affects:

JSdd-trace
2.11.0 - 5.96.0
Fixed in 5.97.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain a prototype pollution flaw in GraphQL instrumentation where a crafted query using __proto__ as a field name can mutate Object.prototype through resolver-span tracking, and may also trigger tracing/serialisation failures that disrupt normal execution. An attacker able to send malicious GraphQL queries could exploit this by injecting __proto__ fields to poison shared object state across the process, causing unpredictable behavior, application errors, or denial of service through instrumentation crashes and trace submission failures.

Who does this affect?

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

Background info

dd-trace is vulnerable to Prototype Pollution in versions 2.11.0 - 5.96.0.

How to fix this

Upgrade the dd-trace library to the patch version.