CVE Explorer
CVE-2026-40256
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"weblate","vendor":"WeblateOrg","versions":[{"status":"affected","version":"< 5.17"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:33228eee03056052412dfe22d3394d4c10911abc5d9a2d57a6fa6d1e03c35f5b · sha256:4f7e9983e4af8faf… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:33228eee03056052412dfe22d3394d4c10911abc5d9a2d57a6fa6d1e03c35f5b · sha256:4f7e9983e4af8faf… · /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:33228eee03056052412dfe22d3394d4c10911abc5d9a2d57a6fa6d1e03c35f5b · sha256:4f7e9983e4af8faf… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/WeblateOrg/weblate/commit/e30dbcb33ae78e754ecef192d54f996b89cb4e15","tags":["x_refsource_MISC"],"url":"https://github.com/WeblateOrg/weblate/commit/e30dbcb33ae78e754ecef192d54f996b89cb4e15"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33228eee03056052412dfe22d3394d4c10911abc5d9a2d57a6fa6d1e03c35f5b · sha256:4f7e9983e4af8faf… · /containers/cna/references/1
{"name":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-ffgh-3jrf-8wvh","tags":["x_refsource_CONFIRM"],"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-ffgh-3jrf-8wvh"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:33228eee03056052412dfe22d3394d4c10911abc5d9a2d57a6fa6d1e03c35f5b · sha256:4f7e9983e4af8faf… · /containers/cna/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.