CVE-2026-40256
Published:April 15, 2026
Updated:April 23, 2026
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.
Affected Packages
https://github.com/WeblateOrg/weblate.git (GITHUB):
Affected version(s) >=weblate-0.1 <weblate-5.17Fix Suggestion:
Update to version weblate-5.17weblate (PYTHON):
Affected version(s) >=1.9 <5.17Fix Suggestion:
Update to version 5.17weblate (PYTHON):
Affected version(s) >=1.9 <5.17Fix Suggestion:
Update to version 5.17Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.04