Intel

AIKIDO-2026-721295

braintree is vulnerable to Path Traversal

Path Traversal Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Today

71

High Risk

This Affects:

JSbraintree
2.0.0 - 3.37.0
Fixed in 3.38.0
Are you affected? Scan for Free

TL;DR

The package previously let user-controlled identifiers flow into request URL path construction without sufficient validation, which could enable path traversal or malformed endpoint access. The fix now centrally rejects unsafe path segments such as /, \, %, ., and .., and fails early with a NotFoundError instead of issuing the request. An attacker might exploit this by supplying a crafted identifier containing traversal sequences or encoded path characters to alter the intended request path, potentially reaching unauthorized resources or triggering unintended backend operations.

Who does this affect?

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

Background info

braintree is vulnerable to Path Traversal in versions 2.0.0 - 3.37.0.

How to fix this

Upgrade the braintree library to the patch version.