CVE Explorer
CVE-2026-62663
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"banks","vendor":"masci","versions":[{"status":"affected","version":"< 2.4.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:b5c3ab3792191e4538ab2c1880e1eddeba4cbc7beef52bedbdf4472443c77d35 · sha256:eca3dcd9ccfed7c6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:b5c3ab3792191e4538ab2c1880e1eddeba4cbc7beef52bedbdf4472443c77d35 · sha256:eca3dcd9ccfed7c6… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:b5c3ab3792191e4538ab2c1880e1eddeba4cbc7beef52bedbdf4472443c77d35 · sha256:eca3dcd9ccfed7c6… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/masci/banks/security/advisories/GHSA-98rr-gvc9-3cjh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/masci/banks/security/advisories/GHSA-98rr-gvc9-3cjh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b5c3ab3792191e4538ab2c1880e1eddeba4cbc7beef52bedbdf4472443c77d35 · sha256:eca3dcd9ccfed7c6… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/masci/banks/security/advisories/GHSA-98rr-gvc9-3cjh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:b5c3ab3792191e4538ab2c1880e1eddeba4cbc7beef52bedbdf4472443c77d35 · sha256:eca3dcd9ccfed7c6… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.