Weblate: Mercurial argument injection via repository filenames allows authenticated command execution
What fixes it
- 2026.8Weblate, pipGitHub
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Weblate is a web-based continuous localization platform used to manage software translations. Weblate 4.11.1 through 2026.7.1 contains an argument-injection vulnerability in its Mercurial backend. Repository filenames beginning with - could be interpreted as Mercurial options instead of literal paths. An authenticated user with project-scoped component.edit permission could exploit this through a Mercurial-backed RESX component using the Update RESX files add-on. A later repository update could execute arbitrary commands with the privileges of the Weblate service account. This is a residual incomplete fix for CVE-2022-23915. This issue has been patched in version 2026.8.
Text from CVE List
Affected versions 2
- weblateaffected: >= 4.11.1, < 2026.8CVE List
- Weblate, pip<2026.8,>4.11.1GitHub
References 4
- github.com/WeblateOrg/weblate/commit/f60a9759a6d851bd10ccdefe9b1b7f0cdb9e9bbdFixvia CVE List
- github.com/WeblateOrg/weblate/releases/tag/weblate-2026.8Fixvia CVE List
- github.com/WeblateOrg/weblate/security/advisories/GHSA-327h-qqgm-qv55Advisoryvia CVE List
- github.com/WeblateOrg/weblate/pull/20768Referencevia CVE List