Weblate: Prefix-Based Repository Boundary Check Bypass via Symlink/Junction Path Prefix Collision
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| WeblateOrg | weblate | before 5.17 | 5.17 | Patch available | CNA |
| — | weblate (PyPI) | before 5.17 | 5.17 | Patch available | GHSA-ffgh-3jrf-8wvh |
- weblate VendorWeblateOrg Affected before 5.17 Fixed in 5.17 Patch available CNA
- weblate (PyPI) Vendor— Affected before 5.17 Fixed in 5.17 Patch available GHSA-ffgh-3jrf-8wvh
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:* | before 5.17 | Vulnerable | WeblateOrg |
- cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:* Versions before 5.17 Vulnerable ·WeblateOrg
Remediation
- Fix · CNA weblate (WeblateOrg) Fixed in 5.17
- Fix · GHSA-ffgh-3jrf-8wvh weblate (PyPI) Fixed in 5.17 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40256
- 2026-10-03 Alias added: GHSA-ffgh-3jrf-8wvh
References
Patch 2
More WeblateOrg Weblate vulnerabilities
- TI-2025-23145 Weblate VCS credentials included in URL parameters are potentially logged and saved into browser history as plaintext CVSS 3.1HIGH 7.5
- TI-2025-38033 Weblate integration with Anubis can lead to Open Redirect via redir parameter CVSS 4.0LOW 2.1
- TI-2022-07893 Remote code execution (RCE) in Weblate CVSS 3.1HIGH 8.8
- TI-2025-41967 Weblate has git config file overwrite vulnerability that leads to remote code execution CVSS 3.1CRITICAL 9.1
- TI-2026-26679 Weblate: Privilege escalation in the user API endpoint CVSS 3.1HIGH 8.8
- TI-2026-19444 Weblate has an argument injection in management console CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-40256 · CVE Program
- CVE-2026-40256 · NVD
- FIRST EPSS
- GHSA-ffgh-3jrf-8wvh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences