{"id":82747,"date":"2026-07-30T20:46:33","date_gmt":"2026-07-30T17:16:33","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-62663-banks-arbitrary-file-read-via-path-traversal-in-media-filters-image-audio-video-document\/"},"modified":"2026-07-30T20:46:33","modified_gmt":"2026-07-30T17:16:33","slug":"cve-2026-62663-banks-arbitrary-file-read-via-path-traversal-in-media-filters-image-audio-video-document","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-62663-banks-arbitrary-file-read-via-path-traversal-in-media-filters-image-audio-video-document\/","title":{"rendered":"CVE-2026-62663 &#8211; Banks: Arbitrary File Read via Path Traversal in Media Filters (image\/audio\/video\/document)"},"content":{"rendered":"<p>CVE ID :CVE-2026-62663<\/p>\n<p>  Published : July 30, 2026, 5:16 p.m. | 28\u00a0minutes ago<\/p>\n<p>  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, &#8220;rb&#8221;) 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\u2014including .env files, SSH keys, cloud credentials, source code, \/etc\/passwd, and \/etc\/shadow\u2014with 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.<\/p>\n<p>  Severity: 7.5 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-62663 Published : July 30, 2026, 5:16 p.m. | 28\u00a0minutes ago 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, &#8220;rb&#8221;) &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-82747","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=82747"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/82747\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=82747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=82747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=82747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}