CVE-2022-23915: Command Injection in Weblate
Summary
CVE-2022-23915: Improper Neutralization of Special Elements used in a Command ('Command Injection') in Weblate. Affects weblate versions < 4.11.1. Fixed in 4.11.1. How to fix ↓
Also tracked for
- weblate · Bitnami
The same CVE-2022-23915 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Weblate is an open-source translation management system that allows collaborative translation of software projects. It provides a web-based interface for managing translations and supports various version control systems like Git and Mercurial. Weblate enables organizations to streamline the translation process and improve localization efforts.
Vulnerability Detail
The vulnerability identified as CVE-2022-23915 is an instance of Command Injection in Weblate. It arises from improper neutralization of special elements used in a command. Weblate fails to adequately sanitize certain arguments passed to Git and Mercurial, which can lead to unintended changes in their behavior. This vulnerability can be exploited by an attacker to execute arbitrary commands on the underlying system, potentially resulting in unauthorized access, data manipulation, or denial of service.
How To Fix
Latest published version: 2026.10.1 as of 22 Oct 2026
pip install --upgrade "weblate==2026.10.1"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
4.11.1
This is the first release that contains the fix.
pip install --upgrade "weblate==4.11.1"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If untrusted users cannot create new components, the vulnerability does not affect those instances. However, it is strongly recommended to apply the available patches or update Weblate to the latest version to ensure comprehensive security.
Conclusion
The Command Injection vulnerability in Weblate (CVE-2022-23915) can be mitigated by updating to version 4.11.1 or later. It is crucial to promptly address this vulnerability to prevent potential unauthorized access or data manipulation. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for weblate →
FAQ
Weblate is an open-source translation management system used for collaborative software translation.
Command Injection is a vulnerability that allows an attacker to execute arbitrary commands on a system by manipulating input data.
This vulnerability can lead to unauthorized access, data manipulation, or denial of service on systems running Weblate.
To fix this vulnerability, update Weblate to version 4.11.1 or later, or apply the provided patches.
Instances where untrusted users cannot create new components are not affected. However, it is still recommended to apply the patches or update Weblate.
References
Related vulnerabilities
Recent vulnerabilities recorded for weblate.