WeblateOrg Weblate
Weblate: Mercurial argument injection via repository filenames allows authenticated command execution
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.11.1, < 2026.8
Fixed in 2026.8
Mitigation
Upgrade weblate to 2026.8 or later.
References
- Vendor advisory github.com/WeblateOrg/weblate/security/advisor…
- Patch github.com/WeblateOrg/weblate/pull/20768
- Patch github.com/WeblateOrg/weblate/commit/f60a9759a…
1 more
- Release notes github.com/WeblateOrg/weblate/releases/tag/web…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.