Security mailing lists by PureSourceCode

CVE-2026-40256

MEDIUM 5.0CVSS 3.1

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

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.

Published
15 Apr 2026
Last modified
26 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-ffgh-3jrf-8wvhPYSEC-2026-2315
Sources
NVDJSONOSV GHSA-ffgh-3jrf-8wvhJSONOSV PYSEC-2026-2315JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD weblate weblate
cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:*
< 5.17 5.17
OSV PyPI weblate < 5.17 5.17

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 15 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Apr 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.