CVE-2026-107717
Last modified
CVE-2026-107717 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-107717?
How severe is CVE-2026-107717?
How do I fix CVE-2026-107717?
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-107708MIT krb5 through 1.22.2 contains a NULL pointer dereference …4.9
- CVE-2026-107709A path traversal vulnerability exists in Bower decompress-zi…7.8
- CVE-2026-10771A vulnerability was found in crmeb crmeb_java 1.4. Affected …7.3
- CVE-2026-107714The Mechanize library is used for automating interaction wit…5.9
- CVE-2026-107715The Mechanize library is used for automating interaction wit…6.8
- CVE-2026-107716Banks generates meaningful LLM prompts using a simple templa…7.3
- CVE-2026-107718AdonisJS HTTP Server is a package for handling HTTP requests…6.1
- CVE-2026-107719fast-jwt provides fast JSON Web Token (JWT) implementation. …4.2
- CVE-2026-10772Rejected reason: ** DUPLICATE ** This CVE Record has been re…
- CVE-2026-107720fast-jwt provides fast JSON Web Token (JWT) implementation. …7.4
- CVE-2026-107721fast-jwt provides fast JSON Web Token (JWT) implementation. …5.9
- CVE-2026-107722fast-jwt provides fast JSON Web Token (JWT) implementation. …9.8
Are you affected by CVE-2026-107717?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
