{"apiVersion":"1.0","identifier":"CVE-2026-71492","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.","publishedAt":"2026-08-20T17:19:40","lastModifiedAt":"2026-08-20T17:19:40","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-71492","cvssScore":6,"cvssVector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","epssProbability":0.00323,"riskScore":0.62,"affectedProduct":"Banks","affectedVersions":"<2.4.5","vulnerabilityType":"Library","operatingSystems":[],"links":{"self":"https://www.redsauce.net/api/cves/CVE-2026-71492","webPages":{"es":"https://www.redsauce.net/es/cves/CVE-2026-71492","en":"https://www.redsauce.net/en/cves/CVE-2026-71492","fr":"https://www.redsauce.net/fr/cves/CVE-2026-71492","pt":"https://www.redsauce.net/pt/cves/CVE-2026-71492","de":"https://www.redsauce.net/de/cves/CVE-2026-71492","sk":"https://www.redsauce.net/sk/cves/CVE-2026-71492","el":"https://www.redsauce.net/el/cves/CVE-2026-71492"},"source":"https://nvd.nist.gov/vuln/detail/CVE-2026-71492"}}