{"success":true,"data":{"threats":[{"id":"4f90df58-77c3-482e-ae97-dd5de2356237","slug":"cve-2026-107717","externalId":"CVE-2026-107717","source":"NVD","sourceType":"cve-db","type":"vulnerability","title":"CVE-2026-107717 — Banks generates meaningful LLM prompts using a simple template language.","description":"Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.0, Banks Prompt.chat_messages() attempts to parse every line of rendered template output as ChatMessage JSON. When an application renders untrusted data and passes the returned ChatMessage objects to an LLM provider, attacker-controlled JSON can cross the prompt boundary and become a system, assistant, or tool message because ChatMessage.role accepts arbitrary strings. This can override application instructions, alter the intended prompt structure, or confuse downstream tool and message handling. This issue is fixed in version 2.5.0.","cveId":"CVE-2026-107717","cvssScore":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","severity":"medium","vendor":null,"product":null,"affectedVersions":[],"cwes":["CWE-20"],"tags":["nvd","status:deferred"],"relatedCves":[],"titleFingerprint":null,"countryCodes":[],"knownExploited":false,"patchAvailable":false,"patchLinks":[],"references":[{"url":"https://github.com/masci/banks/commit/02172b816fb84f6a824cc09a8aca7416f53c12cb","type":"advisory","title":"security-advisories@github.com"},{"url":"https://github.com/masci/banks/pull/78","type":"advisory","title":"security-advisories@github.com"},{"url":"https://github.com/masci/banks/releases/tag/v2.5.0","type":"advisory","title":"security-advisories@github.com"},{"url":"https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh","type":"advisory","title":"security-advisories@github.com"}],"epssScore":null,"epssPercentile":null,"nucleiTemplatePath":null,"nucleiSeverity":null,"enrichment":null,"publishedAt":"2026-10-08T22:17:27.560Z","addedAt":"2026-10-08T23:06:40.085Z","updatedAt":"2026-10-08T23:06:40.085Z","epssUpdatedAt":null,"nucleiUpdatedAt":null,"links":[{"label":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107717","note":"ingested from NVD"},{"label":"CVE Program","url":"https://www.cve.org/CVERecord?id=CVE-2026-107717","note":"authoritative record"}],"raw":{"id":"CVE-2026-107717","cveTags":[],"metrics":{"cvssMetricV31":[{"type":"Secondary","source":"security-advisories@github.com","cvssData":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"},"impactScore":2.5,"exploitabilityScore":3.9}]},"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"masci","product":"banks","versions":[{"status":"affected","version":"< 2.5.0"}]}]}],"published":"2026-10-08T22:17:27.560","references":[{"url":"https://github.com/masci/banks/commit/02172b816fb84f6a824cc09a8aca7416f53c12cb","source":"security-advisories@github.com"},{"url":"https://github.com/masci/banks/pull/78","source":"security-advisories@github.com"},{"url":"https://github.com/masci/banks/releases/tag/v2.5.0","source":"security-advisories@github.com"},{"url":"https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh","source":"security-advisories@github.com"}],"vulnStatus":"Deferred","weaknesses":[{"type":"Primary","source":"security-advisories@github.com","description":[{"lang":"en","value":"CWE-20"}]}],"descriptions":[{"lang":"en","value":"Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.0, Banks Prompt.chat_messages() attempts to parse every line of rendered template output as ChatMessage JSON. When an application renders untrusted data and passes the returned ChatMessage objects to an LLM provider, attacker-controlled JSON can cross the prompt boundary and become a system, assistant, or tool message because ChatMessage.role accepts arbitrary strings. This can override application instructions, alter the intended prompt structure, or confuse downstream tool and message handling. This issue is fixed in version 2.5.0."}],"lastModified":"2026-10-08T22:17:27.710","sourceIdentifier":"security-advisories@github.com"}}],"pagination":{"page":1,"limit":20,"total":1,"totalPages":1,"hasNext":false,"hasPrev":false}},"meta":{"apiVersion":"v1","requestedAt":"2026-10-09T00:27:36.547Z","durationMs":6,"filters":{"search":null,"severity":[],"type":[],"country":[],"tag":[],"cwe":[],"vendor":null,"product":null,"cve":"CVE-2026-107717","source":[],"days":null,"publishedAfter":null,"publishedBefore":null,"minCvss":null,"maxCvss":null,"minEpss":null,"knownExploited":null,"hasPatch":null,"hasNucleiTemplate":null},"sort":"newest","unknownParams":["include"],"warnings":[]}}