Executive brief
Weblate, a web-based translation tool, contains a vulnerability in its JavaScript localization CDN add-on. This flaw allows an attacker to read sensitive files from the server's local storage that should be restricted. If exploited, this could lead to the exposure of configuration files, credentials, or other private data, potentially compromising the entire translation platform.
Technical details
A path traversal vulnerability (CWE-22) exists in Weblate's JavaScript localization CDN add-on. The root cause is located in the translation memory API, which exposed unintended endpoints and failed to implement proper access control. An authenticated attacker with low privileges can exploit this by providing crafted input to construct pathnames that resolve to locations outside the intended repository directory. This allows for the unauthorized reading of arbitrary local files (CWE-200) on the host system. The vulnerability is patched in version 5.17. The CDN add-on is not enabled by default.
Affected products
- WeblateOrg Weblate < 5.17
Timeline
- 2026-04-15: disclosed
- 2026-04-15: patched: Fixed in version 5.17
- 2026-04-16: advisory