{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-71492","published":"2026-08-20T17:19:40.930000Z","last_modified":"2026-10-18T20:10:00.110000Z","status":"Deferred","cvss":{"version":"4.0","score":6.0,"severity":"MEDIUM","vector":"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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22"],"cpes":[],"cpes_truncated":false,"vendors":["masci"],"products":["masci/banks"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-x8wg-4xgc-vr54","ecosystem":"PyPI","name":"banks","purl":"pkg:pypi/banks","ranges":[{"introduced":"0","fixed":"2.4.5"}],"versions":["0.0.1","0.0.2","0.0.3","0.1.0","0.1.1","0.2.0","0.3.0","0.3.1","0.4.1","0.5.0","0.6.0","1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.7.0","1.7.1","1.8.0","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4"],"versions_truncated":false},{"advisory":"PYSEC-2026-3810","ecosystem":"PyPI","name":"banks","purl":"pkg:pypi/banks","ranges":[{"introduced":"0","fixed":"2.4.5"}],"versions":["0.0.1","0.0.2","0.0.3","0.1.0","0.1.1","0.2.0","0.3.0","0.3.1","0.4.1","0.5.0","0.6.0","1.0.0","1.1.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.6.0","1.6.1","1.7.0","1.7.1","1.8.0","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.2.0","2.3.0","2.4.0","2.4.1","2.4.2","2.4.3","2.4.4"],"versions_truncated":false}],"severity":"medium","priority_score":36,"links":{"html_es":"/es/cve/CVE-2026-71492/","html_en":"/en/cve/CVE-2026-71492/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-71492","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-71492"},"untrusted":{"vendor_name":"masci","product_name":"banks","desc_en":"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.","affected":[{"untrusted_vendor":"masci","untrusted_product":"banks","versions":[]}],"references":[{"url":"https://github.com/masci/banks/commit/a215f6d779966945c56e0af5abed1ae5916fd9d3","tags":[]},{"url":"https://github.com/masci/banks/pull/77","tags":[]},{"url":"https://github.com/masci/banks/releases/tag/v2.4.5","tags":[]},{"url":"https://github.com/masci/banks/security/advisories/GHSA-x8wg-4xgc-vr54","tags":[]}]}}