CVE 5 MEDIUM

Weblate: Prefix-Based Repository Boundary Check Bypass via Symlink/Junction Path Prefix Collision_CVE-2026-40256

5 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

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.

Basic Information

ID CVE-2026-40256
Source GitHub_M
Published Apr 15, 2026 at 18:36

Affected Product

Vendor WeblateOrg
Product weblate
Version < 5.17
Affected Versions WeblateOrg weblate < 5.17

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.