Red Hat Lightwell has released banks 2.5.0+rhlw.1 with a backported security fix.
CVE-2026-107716: Banks: Symlink traversal and arbitrary file disclosure/overwrite in DirectoryPromptRegistry
This patched artifact is a drop-in replacement for banks 2.5.0 from PyPI.