{"id":"CVE-2022-23915","aliases":["CVE-2022-23915","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-24727"],"kind":"vulnerability","state":"published","title":"Remote Code Execution (RCE)","summary":"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.","summarySource":"cvelist","descriptions":[{"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.","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":"es","text":"El paquete weblate desde la versión 0 y anteriores a 4.11.1 son vulnerables a una Ejecución de Código Remota (RCE) por medio de una inyección de argumentos cuando son usados repositorios git o mercurial. Los usuarios autenticados, pueden cambiar el comportamiento de la aplicación de una manera no intencionada, conllevando a una ejecución de comandos","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"}],"published":"2022-03-04T17:15:00.000Z","modified":"2026-06-17T04:30:57.837Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"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":"NVD","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":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-77","CWE-88"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","fixed":"4.11.1","status":"affected"}],"product":"Weblate","source":"cvelist"},{"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":[{"status":"affected","fixed":"4.11.1"}],"vendor":"weblate","product":"weblate","cpe":"cpe:2.3:a:weblate:weblate:*:*:*:*:*:*:*:*","source":"nvd"},{"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://snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/WeblateOrg/weblate/pull/7338","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/WeblateOrg/weblate/pull/7337","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/WeblateOrg/weblate/releases/tag/weblate-4.11.1","tags":["patch","release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"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/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/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://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":["Alessio Della Libera of Snyk Research Team"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-23915","url":"https://www.cve.org/CVERecord?id=CVE-2022-23915","licence":"CVE Terms of Use","modified":"2024-09-17T00:10:54.741Z"},{"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-23915","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23915","licence":"Public domain","modified":"2026-06-17T04:30:57.837Z"},{"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.917Z","epss":{"score":0.03099,"percentile":0.88113,"date":"2026-12-02T12:00:21.000Z"}}