braintree is vulnerable to Path Traversal
71
High Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
braintree is vulnerable to Path Traversal in versions 2.0.0 - 3.37.0.
Upgrade the braintree library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant