Intel

AIKIDO-2026-600505

banks is vulnerable to Path Traversal

Path TraversalCVE-2026-62663 Published 4 days ago

75

High Risk

This Affects:

PYTHONbanks
1.5.0 - 2.4.3
Fixed in 2.4.4
Are you affected? Scan for Free

TL;DR

The image, audio, video, and document filters pass user controlled template values straight into the from_path methods on ImageUrl, InputAudio, InputVideo, and InputDocument, which call open() on the supplied path without resolving or restricting it. A template variable holding a traversal sequence or absolute path such as ../../../etc/passwd causes that file to be read, base64 encoded, and embedded in the rendered output where it can be exfiltrated, exposing any file readable by the running process. The fix passes every path through a resolver that rejects locations outside the allowed media root.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you pass untrusted data into the image, audio, video, or document filters as a file path.

Background info

banks is vulnerable to Path Traversal in versions 1.5.0 - 2.4.3.

How to fix this

Upgrade the banks library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform