CVE-2026-62663
Last modified
CVE-2026-62663 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.4, all four media filters (image, audio, video, document) in banks accept untrusted user input as file paths via Path(value) and pass them directly to open(file_path, "rb") without any path sanitization, canonicalization, or directory restriction.
Description
Banks generates meaningful LLM prompts using a simple template language. In versions prior to 2.4.4, all four media filters (image, audio, video, document) in banks accept untrusted user input as file paths via Path(value) and pass them directly to open(file_path, "rb") without any path sanitization, canonicalization, or directory restriction. An attacker who controls template variables passed to a banks Prompt can use path traversal (../) to read arbitrary files accessible to the Python process—including .env files, SSH keys, cloud credentials, source code, /etc/passwd, and /etc/shadow—with the content returned base64-encoded in the rendered prompt output, making exfiltration trivial. This is particularly dangerous for applications that use banks to process user-provided template variables before sending prompts to an LLM. This issue has been fixed in version 2.4.4.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| masci | banks | < 2.4.4 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-62663?
How severe is CVE-2026-62663?
How do I fix CVE-2026-62663?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-62655A security flaw was found in certain NETGEAR Orbi models tha…5.7
- CVE-2026-62656A security flaw was found in certain NETGEAR RAX models that…5.4
- CVE-2026-62657A security flaw in the router's certificate validation proce…4.9
- CVE-2026-62658A security flaw was discovered in certain NETGEAR Nighthawk …4.7
- CVE-2026-62659A security flaw was discovered in the NETGEAR WAX333 Access …4.3
- CVE-2026-6266A flaw was found in the AAP gateway. The user auto-link stra…8.3
- CVE-2026-6267GitLab has remediated an issue in GitLab CE/EE affecting all…5.3
- CVE-2026-6268The EventPress WordPress theme before 22.2 does not sanitize…7.1
- CVE-2026-62683File Browser is a file managing interface for uploading, del…3.1
- CVE-2026-62685File Browser is a file managing interface for uploading, del…8.1
- CVE-2026-62688Heap-based buffer overflow in Windows MIDI Service Module al…7.8
- CVE-2026-6269GitLab has remediated an issue in GitLab CE/EE affecting all…5.4
Are you affected by CVE-2026-62663?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
