THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-64vx-6h2c-rjh7 (high) — Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE

[GHSA] GHSA-64vx-6h2c-rjh7 (high) — Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE

medgithub_advisoriesPublished 2026-11-05

GHSA-64vx-6h2c-rjh7 Severity: high CVE: CVE-2026-61536

Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE

## Summary

`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

Indicators of compromise

Original source: https://github.com/advisories/GHSA-64vx-6h2c-rjh7