Banks: Unsafe importlib.import_module of attacker-controlled Tool.import_path in CompletionExtension allows RCE — GHSA-64VX-6H2C-RJH7
GitHub · GitHub · GHSA-64VX-6H2C-RJH7
ID
GHSA-64VX-6H2C-RJH7
GHSA-64VX-6H2C-RJH7
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
hoch
hoch
CVSS
7.5
7.5
EPSS
0.00377
0.00377
Zusammenfassung
## 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 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…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-11-05
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: hoch.
- Gemeldeter CVSS-Wert: 7.5 von 10.
- Gemeldeter EPSS-Wert: 0.00377.
- Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: banks.
Produkt
pip: banks
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.
Offizielles Advisory
Nachweise und Herkunft
- Kanonische Advisory-ID
- GHSA-64VX-6H2C-RJH7
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-11-05
- Letzte Quellenaktivität
- 2026-11-05
- Weitere Kennungen
- CVE-2026-61536
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.