CVE-2026-71492
Last modified
CVE-2026-71492 is a medium-severity vulnerability rated 6/10 on the CVSS scale. 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 Prompt.name and Prompt.version values into a Path without canonicalization or containment validation. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
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 Prompt.name and Prompt.version values into a Path without canonicalization or containment validation. Relative traversal such as ../victim/foo and an absolute Prompt.name can escape or discard the configured registry root, while overwrite=True permits replacement of existing target files. The poisoned name is persisted in index.json and reconstructed by _load(), allowing the out-of-root path to survive later registry loads. An application that forwards request data into these fields can therefore write Prompt.raw bytes to attacker-chosen paths writable by the application process. This issue is fixed in version 2.4.5.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| masci | banks | < 2.4.5 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-71492?
How severe is CVE-2026-71492?
How do I fix CVE-2026-71492?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7148A flaw has been found in CodeAstro Online Classroom 1.0. Thi…6.3
- CVE-2026-71485Centrifugo is an open-source scalable real-time messaging se…9.1
- CVE-2026-71486vLLM is an inference and serving engine for large language m…4.3
- CVE-2026-71488league/commonmark is a PHP library for parsing and rendering…7.5
- CVE-2026-7149A vulnerability has been found in dexhunter kaggle-mcp up to…7.3
- CVE-2026-71491sqlparse is a non-validating SQL parser module for Python. P…8.7
- CVE-2026-71493Infracost provides cloud cost intelligence for engineers, AI…5.9
- CVE-2026-71494Infracost provides cloud cost intelligence for engineers, AI…5.9
- CVE-2026-71497jsoup is a Java library for working with real-world HTML. Fr…4.7
- CVE-2026-71498node-re2 provides RE2 regular expression bindings for Node.j…5.1
- CVE-2026-7150A vulnerability was found in dh1011 auto-favicon up to f1891…6.3
- CVE-2026-71502CTI-Transmute contains a stored cross-site scripting vulnera…5.1
Are you affected by CVE-2026-71492?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
