{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40256","id":"CVE-2026-40256","title":"Weblate: Prefix-Based Repository Boundary Check Bypass via Symlink/Junction Path Prefix Collision","description":"Weblate is a web based localization tool. In versions prior to 5.17, repository-boundary validation relies on string prefix checks on resolved absolute paths. In multiple code paths, the check uses startswith against the repository root path. This is not path-segment aware and can be bypassed when the external path shares the same string prefix as the repository path (for example, repo and repo_ou","descriptionLong":"Weblate is a web based localization tool. In versions prior to 5.17, repository-boundary validation relies on string prefix checks on resolved absolute paths. In multiple code paths, the check uses startswith against the repository root path. This is not path-segment aware and can be bypassed when the external path shares the same string prefix as the repository path (for example, repo and repo_outside). This issue has been fixed in version 5.17.","published":"2026-04-15T18:36:44.975Z","updated":"2026-11-11T10:30:24.135151116Z","reserved":"2026-04-10T17:31:45.787Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["WeblateOrg weblate"],"affectedProducts":[{"vendor":"WeblateOrg","product":"weblate","defaultStatus":null,"versions":[{"version":"< 5.17","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"weblate","purl":"pkg:pypi/weblate","ranges":["<5.17"],"fixed":["5.17"],"advisory":"GHSA-ffgh-3jrf-8wvh"}],"cwes":["CWE-22"],"aliases":["GHSA-ffgh-3jrf-8wvh","PYSEC-2026-2315"],"references":[{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-ffgh-3jrf-8wvh","tags":["x_refsource_CONFIRM","Patch","Vendor Advisory","advisory","web","fix"]},{"url":"https://github.com/WeblateOrg/weblate/commit/e30dbcb33ae78e754ecef192d54f996b89cb4e15","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40256.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40256","tags":["advisory"]},{"url":"https://github.com/WeblateOrg/weblate/pull/18847","tags":["web"]},{"url":"https://github.com/WeblateOrg/weblate","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00337,"epssPercentile":0.27624,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40256","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40256","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40256","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ffgh-3jrf-8wvh","ok":true,"note":"GHSA-ffgh-3jrf-8wvh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40256","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}