CVE Explorer
CVE-2026-61536
Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.3, banks parses Tool JSON objects from the rendered body of {% completion %} blocks and later resolves their import_path field through importlib.import_module(...) + getattr(...) to obtain the callable that handles a tool call. There is no allowlist or sanitization on import_path, so any importable Python attribute (e.g. os.system, subprocess.getoutput) can be selected. When the LLM emits a tool_cal
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-470","description":"CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"banks","vendor":"masci","versions":[{"status":"affected","version":"< 2.4.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-470","description":"CWE-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/masci/banks/security/advisories/GHSA-64vx-6h2c-rjh7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/adp/0/references/0
{"name":"https://github.com/masci/banks/security/advisories/GHSA-64vx-6h2c-rjh7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/masci/banks/security/advisories/GHSA-64vx-6h2c-rjh7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3f46af1a8486097918281e6045c5eb85f381c99953519853c863c20f4f3d0282 · sha256:ad2f60046902b3b6… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.