Vulnerability 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_outside). This issue has been fixed in version 5.17.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Weblate | Weblate | < 5.17 |
Related Weaknesses (CWE)
References
- https://github.com/WeblateOrg/weblate/commit/e30dbcb33ae78e754ecef192d54f996b89cPatch
- https://github.com/WeblateOrg/weblate/security/advisories/GHSA-ffgh-3jrf-8wvhPatchVendor Advisory
FAQ
What is CVE-2026-40256?
CVE-2026-40256 is a vulnerability with a CVSS score of 5.0 (MEDIUM). 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 st...
How severe is CVE-2026-40256?
CVE-2026-40256 has been rated MEDIUM with a CVSS base score of 5.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-40256?
Check the references section above for vendor advisories and patch information. Affected products include: Weblate Weblate.