CVE catalog

CVE-2026-71492

Banks generates meaningful LLM prompts using a simple template language. Prior to version 2.4.5, DirectoryPromptRegistry.set() in src/banks/registries/directory.py interpolates attacker-controlled Pro

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.47% · Oct 25, 2026

A flaw was found in Banks. The `DirectoryPromptRegistry.set()` function improperly handles attacker-controlled `Prompt.name` and `Prompt.version` values. This allows for path traversal, enabling an attacker to write arbitrary files outside the intended registry root. This vulnerability could lead to unauthorized modification of files on the system where Banks is running. banks: Banks: Arbitrary file write via path traversal The 'banks' library is vulnerable to arbitrary file write via path traversal when an application processes attacker-controlled input for prompt names or versions. This flaw allows an attacker to write arbitrary files to locations writable by the application process, potentially leading to system compromise. The impact is dependent on the application's exposure of these fields to untrusted data and the privileges under which the application runs. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
PyPIbanksNot reported2.4.5fixed
PyPIbanksNot reported2.4.5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
PyPIbanksPyPINot reported2.4.5Not reportedPYSEC-2026-3810Not reported
PyPIbanksPyPINot reported2.4.5Not reportedGHSA-X8WG-4XGC-VR54Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References