CVE-2022-23915: Remote Code Execution (RCE)

Published Mar 4, 2022
·
Updated

Impact Weblate didn't correctly sanitize some arguments passed to Git and Mercurial, which allowed changing their behavior in an unintended way.

Patches

The issues were fixed in the 4.11.1 release. The following commits are addressing it:

35d59f1f040541c358cece0a8d4a63183ca919b8 d83672a3e7415da1490334e2c9431e5da1966842

Workarounds

Instances in which untrusted users cannot create new components are not affected.

References SNYK-PYTHON-WEBLATE-2414088

For more information If you have any questions or comments about this advisory: Open a topic in discussions Email us at care@weblate.org

Other sources

The package weblate from 0 and before 4.11.1 are vulnerable to Remote Code Execution (RCE) via argument injection when using git or mercurial repositories. Authenticated users, can change the behavior of the application in an unintended way, leading to command execution.

MITRE

Affected Software

2 affected componentsFixes available
pip/Weblate<4.11.1
4.11.1
Weblate weblate<4.11.1

Event History

Mar 4, 2022
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:15 PM

Frequently Asked Questions

1

What is the severity of CVE-2022-23915?

CVE-2022-23915 has been classified with a moderate severity due to improper sanitization of parameters.

2

How do I fix CVE-2022-23915?

To fix CVE-2022-23915, update Weblate to version 4.11.1 or later.

3

Which versions of Weblate are affected by CVE-2022-23915?

Weblate versions prior to 4.11.1 are affected by CVE-2022-23915.

4

What type of vulnerability is CVE-2022-23915?

CVE-2022-23915 is a security vulnerability related to improper input sanitization.

5

Can CVE-2022-23915 lead to security risks?

Yes, CVE-2022-23915 could allow attackers to alter the behavior of Git and Mercurial in unintended ways.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203