Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-40256 EUVD-2026-23019GHSA-ffgh-3jrf-8wvhPYSEC-2026-2315

Weblate: Prefix-Based Repository Boundary Check Bypass via Symlink/Junction Path Prefix Collision

Published Apr 15, 2026 · Updated Apr 16, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
WeblateOrg weblate < 5.17 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI weblate < 5.17 5.17 GHSA-ffgh-3jrf-8wvh

References