PatchSiren cyber security CVE debrief
CVE-2026-107716 masci CVE debrief
PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-10-08T22:10:07.000Z and has not been modified since then. The 'DirectoryPromptRegistry' class in the 'banks' package does not properly handle symbolic links, allowing for arbitrary file disclosure and overwrite via the '_scan()', 'get()', 'set()', and '_save()' methods. This vulnerability, CVE-2026-107716, allows defenders to assess exposure and prioritize remediation, especially in systems using the 'banks' package with untrusted files in the prompt directory.
- Vendor
- masci
- Product
- banks
- CVSS
- HIGH 7.3
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-08
- Original CVE updated
- 2026-10-15
- Advisory published
- 2026-10-08
- Advisory updated
- 2026-10-15
Who should care
Defenders responsible for systems using the 'banks' package, especially those with untrusted files in the prompt directory, should assess exposure and prioritize remediation. This includes reviewing and restricting write access to the registry root directory, implementing additional monitoring and logging, and verifying the version of the 'banks' package in use.
Why it matters
Defenders should care about CVE-2026-107716 because it allows for arbitrary file disclosure and overwrite in the 'banks' package, potentially leading to sensitive file exposure, data modification, or deletion. Affected versions require verification and remediation.
- Potential for arbitrary file disclosure and overwrite.
- Possible exposure of sensitive files outside the registry root.
- Risk of unauthorized data modification or deletion.
- Need for verification of affected versions and remediation.
Technical summary
The 'DirectoryPromptRegistry' class in the 'banks' package does not properly handle symbolic links, allowing for arbitrary file disclosure and overwrite via the '_scan()', 'get()', 'set()', and '_save()' methods. This vulnerability can lead to sensitive file exposure, data modification, or deletion. Affected versions require verification and remediation. The issue arises from the lack of validation for symbolic links in prompt file paths and the index file ('index.json'). When a prompt directory contains or accepts untrusted files, symbolic links pointing outside the registry root can be used to disclose arbitrary files or overwrite arbitrary files.
Defensive priority
Defenders should prioritize verifying and remediating this vulnerability in their systems, especially those using the affected versions of the 'banks' package.
Recommended defensive actions
- Verify the version of the 'banks' package in use and upgrade to version 2.5.1 or later if necessary.
- Review and restrict write access to the registry root directory to prevent exploitation.
- Implement additional monitoring and logging to detect potential exploitation attempts.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
Evidence notes
The source corpus provides details on the vulnerability in the 'banks' package, specifically in the 'DirectoryPromptRegistry' class, which does not properly handle symbolic links, leading to arbitrary file disclosure and overwrite.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-107716 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-107716
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-107716 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-107716
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Banks: Symlink traversal and arbitrary file disclosure/overwrite in DirectoryPromptRegistry
Unverified legacy reference
URL: https://storage.googleapis.com/osv-vulnerabilities/PyPI/GHSA-556j-vv39-8rqv.json
osv_dev
-
Source reference
Unverified legacy reference
URL: https://github.com/masci/banks/security/advisories/GHSA-556j-vv39-8rqv
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/masci/banks/pull/79
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/masci/banks/commit/23ed13e50b4e217693fa5f9c30943fac8a41582f
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/masci/banks
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/masci/banks/releases/tag/v2.5.1
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.