{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-107716",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-10-08T17:21:52.975Z",
        "datePublished": "2026-10-08T21:33:13.391Z",
        "dateUpdated": "2026-10-09T15:13:19.781Z"
    },
    "containers": {
        "cna": {
            "title": "Banks: Symlink traversal and arbitrary file disclosure/overwrite in DirectoryPromptRegistry",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "lang": "en",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-59",
                            "lang": "en",
                            "description": "CWE-59: Improper Link Resolution Before File Access ('Link Following')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.3,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/masci/banks/security/advisories/GHSA-556j-vv39-8rqv",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/masci/banks/security/advisories/GHSA-556j-vv39-8rqv"
                },
                {
                    "name": "https://github.com/masci/banks/pull/79",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/masci/banks/pull/79"
                },
                {
                    "name": "https://github.com/masci/banks/commit/23ed13e50b4e217693fa5f9c30943fac8a41582f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/masci/banks/commit/23ed13e50b4e217693fa5f9c30943fac8a41582f"
                },
                {
                    "name": "https://github.com/masci/banks/releases/tag/v2.5.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/masci/banks/releases/tag/v2.5.1"
                }
            ],
            "affected": [
                {
                    "vendor": "masci",
                    "product": "banks",
                    "versions": [
                        {
                            "version": "< 2.5.1",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-10-08T21:33:13.391Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Banks generates meaningful LLM prompts using a simple template language. Prior to 2.5.1, Banks DirectoryPromptRegistry does not reject symbolic links for index.json or discovered and existing .jinja prompt files. In an application where untrusted users can influence a prompt directory, DirectoryPromptRegistry._scan() and DirectoryPromptRegistry.get() can follow a link outside the registry root and disclose a file, while DirectoryPromptRegistry.set(), DirectoryPromptRegistry._save(), and DirectoryPromptRegistry._load() can read or overwrite an external link target. The issue requires attacker influence over the registry directory or its extracted contents. This issue is fixed in version 2.5.1."
                }
            ],
            "source": {
                "advisory": "GHSA-556j-vv39-8rqv",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-10-09T14:54:57.852402Z",
                                "id": "CVE-2026-107716",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-10-09T15:13:19.781Z"
                }
            }
        ]
    }
}