Home / masci / banks / CVE-2026-107717
CVE-2026-107717: is it exploited, and which versions of masci banks are affected and fixed?
CVE-2026-107717 is an improper input validation vulnerability in masci banks. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: banks before 2.5.0 (GitHub advisory GHSA-hmq2-7hp6-7crh). Fixed in 2.5.0 (GitHub advisory GHSA-hmq2-7hp6-7crh). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-107717?
Banks: User-controlled prompt input can be parsed as privileged chat messages
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.
From the CVE record by GitHub_M, last updated October 13, 2026, 16:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| masci | banks | < 2.5.0 |
As the CVE record by GitHub_M states it, last updated October 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | banks | < 2.5.0 | 2.5.0 | GHSA-hmq2-7hp6-7crh |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 8, 2026. Summary: Banks: User-controlled prompt input can be parsed as privileged chat messages.
How severe is CVE-2026-107717?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-107717 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, October 13, 2026)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 28.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/masci/banks/security/advisories/GHSA-hmq2-7hp6-7crh x_refsource_CONFIRM
- https://github.com/masci/banks/pull/78 x_refsource_MISC
- https://github.com/masci/banks/commit/02172b816fb84f6a824cc09a8aca7416f53c12cb x_refsource_MISC
- https://github.com/masci/banks/releases/tag/v2.5.0 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 8, 2026
- Published
- October 8, 2026, 21:38 UTC
- CVE record updated
- October 13, 2026, 16:16 UTC by GitHub_M
- NVD
- Deferred, last modified October 13, 2026, 17:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect banks?
- Oct 8, 2026CVE-2026-107716 masci banks: path traversal (reading or writing files outside the intended folder)
- Aug 20, 2026CVE-2026-71492 masci banks: path traversal (reading or writing files outside the intended folder)
- Jul 30, 2026CVE-2026-61536 masci banks: code injection (remote code execution)
- Jul 30, 2026CVE-2026-62663 masci banks: path traversal (reading or writing files outside the intended folder)
- May 26, 2026CVE-2026-44209 masci banks: template injection
Questions about CVE-2026-107717
Is CVE-2026-107717 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of masci banks are affected by CVE-2026-107717?
banks before 2.5.0, per the GitHub advisory GHSA-hmq2-7hp6-7crh. The tables above give every range the sources list.
Which version fixes CVE-2026-107717?
2.5.0, per the GitHub advisory GHSA-hmq2-7hp6-7crh. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-107717?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-107717?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.