
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
- Severity
- Medium · CVSS 6.5
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| PyPI | banks | Not reported | 2.4.5 | fixed |
| PyPI | banks | Not reported | 2.4.5 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| PyPI | banks | PyPI | Not reported | 2.4.5 | Not reported | PYSEC-2026-3810 | Not reported |
| PyPI | banks | PyPI | Not reported | 2.4.5 | Not reported | GHSA-X8WG-4XGC-VR54 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-71492]
- [https://osv.dev/vulnerability/PYSEC-2026-3810]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-71492.json]
[FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]