{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-107716","published":"2026-10-08T22:17:27.323000Z","last_modified":"2026-10-09T16:17:23.310000Z","status":"Deferred","cvss":{"version":"4.0","score":7.3,"severity":"HIGH","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/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","CWE-59"],"cpes":[],"cpes_truncated":false,"vendors":["masci"],"products":["masci/banks"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-556j-vv39-8rqv","ecosystem":"PyPI","name":"banks","purl":"pkg:pypi/banks","ranges":[{"introduced":"0","fixed":"2.5.1"}],"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","2.4.5","2.5.0"],"versions_truncated":false},{"advisory":"PYSEC-2026-4201","ecosystem":"PyPI","name":"banks","purl":"pkg:pypi/banks","ranges":[{"introduced":"0","fixed":"2.5.1"}],"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","2.4.5","2.5.0"],"versions_truncated":false}],"severity":"high","priority_score":44,"links":{"html_es":"/es/cve/CVE-2026-107716/","html_en":"/en/cve/CVE-2026-107716/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-107716","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-107716"},"untrusted":{"vendor_name":"masci","product_name":"banks","desc_en":"Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.1, Banks DirectoryPromptRegistry does not reject symbolic links for index.json or discovered and existing .jinja prompt files. In an application where untrusted users can influence a prompt directory, DirectoryPromptRegistry._scan() and DirectoryPromptRegistry.get() can follow a link outside the registry root and disclose a file, while DirectoryPromptRegistry.set(), DirectoryPromptRegistry._save(), and DirectoryPromptRegistry._load() can read or overwrite an external link target. The issue requires attacker influence over the registry directory or its extracted contents. This issue is fixed in version 2.5.1.","affected":[{"untrusted_vendor":"masci","untrusted_product":"banks","versions":[]}],"references":[{"url":"https://github.com/masci/banks/commit/23ed13e50b4e217693fa5f9c30943fac8a41582f","tags":[]},{"url":"https://github.com/masci/banks/pull/79","tags":[]},{"url":"https://github.com/masci/banks/releases/tag/v2.5.1","tags":[]},{"url":"https://github.com/masci/banks/security/advisories/GHSA-556j-vv39-8rqv","tags":[]}]}}