{"id":"CVE-2022-24727","aliases":["CVE-2022-24727","GHSA-3872-f48p-pxqj","BIT-WEBLATE-2022-23915","GHSA-h2g5-2rhx-ffgj","PYSEC-2022-162","PYSEC-2022-31","SNYK-PYTHON-WEBLATE-2414088"],"related":["CVE-2022-23915"],"kind":"vulnerability","state":"rejected","title":"CVE-2022-24727 (rejected)","summary":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2022-23915. Reason: This candidate is a reservation duplicate of CVE-2022-23915. Notes: All CVE users should reference CVE-2022-23915 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage","summarySource":"cvelist","descriptions":[{"lang":"en","text":"DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2022-23915. Reason: This candidate is a reservation duplicate of CVE-2022-23915. Notes: All CVE users should reference CVE-2022-23915 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage","source":"cvelist"},{"lang":"en","text":"### Impact\nWeblate didn't correctly sanitize some arguments passed to Git and Mercurial, which allowed changing their behavior in an unintended way.\n\n### Patches\n\nThe issues were fixed in the 4.11.1 release. The following commits are addressing it:\n\n* 35d59f1f040541c358cece0a8d4a63183ca919b8\n* d83672a3e7415da1490334e2c9431e5da1966842\n\n### Workarounds\n\nInstances in which untrusted users cannot create new components are not affected.\n\n### References\n* [SNYK-PYTHON-WEBLATE-2414088](https://security.snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a topic in [discussions](https://github.com/WeblateOrg/weblate/discussions)\n* Email us at [care@weblate.org](mailto:care@weblate.org)","format":"markdown","source":"ghsa"},{"lang":"en","text":"## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-3872-f48p-pxqj. This link is maintained to preserve external references.\n\n## Original Description\nWeblate is a web based localization tool with tight version control integration. Prior to version 4.11.1, Weblate didn't properly sanitize some arguments passed to Git and Mercurial, allowing them to change their behavior in an unintended way. Instances where untrusted users cannot create new components are not affected. The issues were fixed in the 4.11.1 release.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2022-23915. Reason: This candidate is a reservation duplicate of CVE-2022-23915. Notes: All CVE users should reference CVE-2022-23915 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage","source":"nvd"},{"lang":"en","text":"Weblate is a web based localization tool with tight version control integration. Prior to version 4.11.1, Weblate didn't properly sanitize some arguments passed to Git and Mercurial, allowing them to change their behavior in an unintended way. Instances where untrusted users cannot create new components are not affected. The issues were fixed in the 4.11.1 release.","format":"markdown","source":"pysec"},{"lang":"en","text":"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.","format":"markdown","source":"pysec"}],"published":"2022-03-04T16:45:12.000Z","modified":"2026-02-03T03:08:28.202Z","severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N","rating":"HIGH"},{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-77","CWE-88"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.1"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.1"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"ghsa"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"35d59f1f040541c358cece0a8d4a63183ca919b8"},{"type":"git","status":"affected","fixed":"d83672a3e7415da1490334e2c9431e5da1966842"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.1"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","repo":"https://github.com/WeblateOrg/weblate","source":"pysec"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.11.1"}],"ecosystem":"PyPI","package":"weblate","purl":"pkg:pypi/weblate","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.11.1"}],"ecosystem":"Bitnami","package":"weblate","purl":"pkg:bitnami/weblate","source":"bitnami"}],"references":[{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-3872-f48p-pxqj","tags":["advisory","web"],"sources":["ghsa","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23915","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/WeblateOrg/weblate/pull/7337","tags":["web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/WeblateOrg/weblate/pull/7338","tags":["web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/WeblateOrg/weblate/commit/35d59f1f040541c358cece0a8d4a63183ca919b8","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/WeblateOrg/weblate/commit/d83672a3e7415da1490334e2c9431e5da1966842","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/WeblateOrg/weblate","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/WeblateOrg/weblate/releases/tag/weblate-4.11.1","tags":["web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-162.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-31.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24727","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-h2g5-2rhx-ffgj","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24727","url":"https://www.cve.org/CVERecord?id=CVE-2022-24727","licence":"CVE Terms of Use","modified":"2022-03-14T14:52:24.000Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3872-f48p-pxqj","url":"https://github.com/advisories/GHSA-3872-f48p-pxqj","licence":"CC-BY-4.0","modified":"2024-11-19T19:04:45.831Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h2g5-2rhx-ffgj","url":"https://github.com/advisories/GHSA-h2g5-2rhx-ffgj","licence":"CC-BY-4.0","modified":"2026-02-03T03:08:28.202Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24727","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24727","licence":"Public domain","modified":"2023-11-07T03:44:34.700Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-162","url":"https://osv.dev/vulnerability/PYSEC-2022-162","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:02.756Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-31","url":"https://osv.dev/vulnerability/PYSEC-2022-31","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:02.756Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-WEBLATE-2022-23915","url":"https://osv.dev/vulnerability/BIT-WEBLATE-2022-23915","licence":"Apache-2.0","modified":"2024-03-06T11:25:28.861Z"}],"updatedAt":"2026-11-25T22:58:09.914Z"}