{"id":"CVE-2022-23915","aliases":["BIT-weblate-2022-23915","EUVD-2022-0361","GHSA-3872-f48p-pxqj","GHSA-h2g5-2rhx-ffgj","PYSEC-2022-162","PYSEC-2022-31","SNYK-PYTHON-WEBLATE-2414088"],"status":"published","title":"Remote Code Execution (RCE)","description":"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.","severity":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.03099,"percentile":0.87845,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77","CWE-88"],"published":"2022-03-04T17:15:00Z","modified":"2026-10-28T02:30:52Z","fixes":[{"ecosystem":"PyPI","package":"weblate","fixed_in":["4.11.1"],"sources":["ghsa"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"weblate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1"}]}]},{"source":"osv","ecosystem":"Bitnami","package":"weblate","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.11.1"}]}],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"weblate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1"}]}],"versions":["1.9","2.0","2.1","2.10","2.10.1","2.11","2.12","2.13","2.13.1","2.14","2.14.1","2.15","2.16","2.17","2.17.1","2.18","2.19","2.19.1","2.2","2.20","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.0.1","3.1","3.1.1","3.10","3.10.1","3.10.2","3.10.3","3.11","3.11.1","3.11.2","3.11.3","3.2","3.2.1","3.2.2","3.3","3.4","3.5","3.5.1","3.6","3.6.1","3.7","3.7.1","3.8","3.9","3.9.1","4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1","4.1.1","4.10","4.10.1","4.11","4.2","4.2.1","4.2.2","4.3","4.3.1","4.3.2","4.4","4.4.1","4.4.2","4.5","4.5.1","4.5.2","4.5.3","4.6","4.6.1","4.6.2","4.7","4.7.1","4.7.2","4.8","4.8.1","4.9","4.9.1"],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"weblate","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"35d59f1f040541c358cece0a8d4a63183ca919b8"},{"fixed":"d83672a3e7415da1490334e2c9431e5da1966842"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1"}]}],"versions":["1.9","2.0","2.1","2.10","2.10.1","2.11","2.12","2.13","2.13.1","2.14","2.14.1","2.15","2.16","2.17","2.17.1","2.18","2.19","2.19.1","2.2","2.20","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.0.1","3.1","3.1.1","3.10","3.10.1","3.10.2","3.10.3","3.11","3.11.1","3.11.2","3.11.3","3.2","3.2.1","3.2.2","3.3","3.4","3.5","3.5.1","3.6","3.6.1","3.7","3.7.1","3.8","3.9","3.9.1","4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1","4.1.1","4.10","4.10.1","4.11","4.2","4.2.1","4.2.2","4.3","4.3.1","4.3.2","4.4","4.4.1","4.4.2","4.5","4.5.1","4.5.2","4.5.3","4.6","4.6.1","4.6.2","4.7","4.7.1","4.7.2","4.8","4.8.1","4.9","4.9.1"],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"weblate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.1"}]}],"versions":["1.9","2.0","2.1","2.10","2.10.1","2.11","2.12","2.13","2.13.1","2.14","2.14.1","2.15","2.16","2.17","2.17.1","2.18","2.19","2.19.1","2.2","2.20","2.3","2.4","2.5","2.6","2.7","2.8","2.9","3.0","3.0.1","3.1","3.1.1","3.10","3.10.1","3.10.2","3.10.3","3.11","3.11.1","3.11.2","3.11.3","3.2","3.2.1","3.2.2","3.3","3.4","3.5","3.5.1","3.6","3.6.1","3.7","3.7.1","3.8","3.9","3.9.1","4.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1","4.1.1","4.10","4.10.1","4.11","4.2","4.2.1","4.2.2","4.3","4.3.1","4.3.2","4.4","4.4.1","4.4.2","4.5","4.5.1","4.5.2","4.5.3","4.6","4.6.1","4.6.2","4.7","4.7.1","4.7.2","4.8","4.8.1","4.9","4.9.1"],"bundled":2}],"products":[{"vendor":"weblate","product":"weblate"},{"vendor":"weblateorg","product":"weblate"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","advisory"]},{"url":"https://github.com/WeblateOrg/weblate/pull/7338","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"https://github.com/WeblateOrg/weblate/pull/7337","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web","fix"]},{"url":"https://github.com/WeblateOrg/weblate/releases/tag/weblate-4.11.1","tags":["x_refsource_MISC","x_transferred","Patch","Release Notes","Third Party Advisory","web"]},{"url":"https://github.com/WeblateOrg/weblate/security/advisories/GHSA-3872-f48p-pxqj","tags":["web","advisory"]},{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-WEBLATE-2414088","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23915","tags":["advisory"]},{"url":"https://github.com/WeblateOrg/weblate/commit/35d59f1f040541c358cece0a8d4a63183ca919b8","tags":["web","fix"]},{"url":"https://github.com/WeblateOrg/weblate/commit/d83672a3e7415da1490334e2c9431e5da1966842","tags":["web","fix"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-162.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/weblate/PYSEC-2022-31.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3872-f48p-pxqj"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23915.json","tags":["advisory"]},{"url":"https://github.com/WeblateOrg/weblate","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24727","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-h2g5-2rhx-ffgj","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-23915","title":"Remote Code Execution (RCE)","description":"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.","status":"published","published":"2022-03-04T20:00:13.383Z","modified":"2024-09-17T00:10:54.741Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:34:29.842547Z"}],"euvd":[{"id":"EUVD-2022-0361","description":"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.","status":"published","published":"2022-03-04T20:00:13Z","modified":"2024-09-17T00:10:54Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:29:01.573177Z"}],"ghsa":[{"id":"GHSA-3872-f48p-pxqj","title":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in Weblate","description":"### 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)\n","status":"published","published":"2022-03-04T21:15:31Z","modified":"2024-11-19T18:28:55Z","cvss":[{"version":"4.0","score":8.7,"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","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77","CWE-88"],"updated_at":"2026-11-02T14:38:21.777721Z"}],"nvd":[{"id":"CVE-2022-23915","description":"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.","status":"published","published":"2022-03-04T20:15:07.757Z","modified":"2026-06-17T04:30:57.837Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-88"],"updated_at":"2026-11-02T14:07:12.711288Z"}],"osv":[{"id":"CVE-2022-23915","title":"Remote Code Execution (RCE)","description":"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.","status":"published","published":"2022-03-04T20:00:13.383Z","modified":"2026-10-28T02:30:52.505183366Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"GHSA-3872-f48p-pxqj","title":"Improper Neutralization of Special Elements used in a Command ('Command Injection') in Weblate","description":"### 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)\n","status":"published","published":"2022-03-04T21:15:31Z","modified":"2024-11-19T19:04:45.831782Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"4.0","score":8.7,"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","level":"high"}],"cwes":["CWE-77","CWE-88"],"updated_at":"2026-11-02T15:46:35.406455Z"},{"id":"BIT-weblate-2022-23915","description":"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.","status":"published","published":"2024-03-06T11:08:26.993Z","modified":"2024-03-06T11:25:28.861Z","updated_at":"2026-11-02T15:28:36.104787Z"},{"id":"GHSA-h2g5-2rhx-ffgj","title":"Duplicate Advisory: Command injection in Weblate","description":"## 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.","status":"withdrawn","published":"2022-03-05T00:00:44Z","modified":"2026-02-03T03:08:28.202751Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:48.546324Z"},{"id":"PYSEC-2022-162","description":"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.","status":"published","published":"2022-03-04T17:15:00Z","modified":"2023-12-06T01:02:02.756846Z","updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"PYSEC-2022-31","description":"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.\n","status":"published","published":"2022-03-04T20:15:00Z","modified":"2023-12-06T01:02:02.756846Z","updated_at":"2026-11-02T15:52:53.449407Z"}]}}
