CVE-2026-40256Weblate
Medium 5.0
Follow: this CVE · Weblate · Weblate We alert you by email or Slack (account required).
- Priority
- 30
- CVSS 3.1
- 5.0
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 15, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Weblate.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | weblate |
< 5.17 |
5.17 |
pip install "weblate>=5.17" |
| PyPI | weblate |
< 5.17 |
5.17 |
pip install "weblate>=5.17" |
Per OSV / GitHub Advisories (GHSA-ffgh-3jrf-8wvh, PYSEC-2026-2315). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| weblate | weblate | < 5.17 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch Vendor Advisory