{"id":"CVE-2023-30628","aliases":["CVE-2023-30628","PYSEC-2023-273","GHSA-cw6r-6ccx-5hwx"],"related":[],"kind":"vulnerability","state":"published","title":"Kiwi TCMS has command injection vulnerability in changelog.yml CI workflow","summary":"Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior,\nthe `changelog.yml` workflow is vulnerable to command injection attacks because of using an untrusted `github.head_ref` field. The `github.head_ref` value is an attacker-controlled value. Assigning the value to `zzz\";echo${IFS}\"hello\";#` can lead to command injection. Since the permission is not restricted, the attacker has a write-access to the repository. Commit 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 of the kiwitcms/Kiwi repository and commit e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 of the kiwitcms/enterprise repository contain a fix for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior,\nthe `changelog.yml` workflow is vulnerable to command injection attacks because of using an untrusted `github.head_ref` field. The `github.head_ref` value is an attacker-controlled value. Assigning the value to `zzz\";echo${IFS}\"hello\";#` can lead to command injection. Since the permission is not restricted, the attacker has a write-access to the repository. Commit 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 of the kiwitcms/Kiwi repository and commit e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 of the kiwitcms/enterprise repository contain a fix for this issue.","source":"cvelist"}],"published":"2023-04-24T21:17:32.896Z","modified":"2026-06-17T05:55:11.487Z","severity":{"scorer":"GitHub_M","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"},"severities":[{"scorer":"GitHub_M","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: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":"PyPA Advisory Database","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"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"<= 12.2","status":"affected"}],"vendor":"kiwitcms","product":"Kiwi","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"12.2"}],"vendor":"kiwitcms","product":"kiwi_tcms","cpe":"cpe:2.3:a:kiwitcms:kiwi_tcms:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751"},{"type":"git","introduced":"0","status":"affected","fixed":"834c86dfd1b2492ccad7ebbfd6304bfec895fed2"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"12.3"}],"ecosystem":"PyPI","package":"kiwitcms","purl":"pkg:pypi/kiwitcms","repo":"https://github.com/kiwitcms/enterprise","source":"pysec"}],"references":[{"url":"https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-cw6r-6ccx-5hwx","tags":["advisory","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/kiwitcms/Kiwi/commit/834c86dfd1b2492ccad7ebbfd6304bfec895fed2","tags":["fix","patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/kiwitcms/enterprise/commit/e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751","tags":["fix","patch","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://github.com/kiwitcms/Kiwi/blob/37bfb87696093ce0393160e2725949185cc0651d/.github/workflows/changelog.yml#L18","tags":["product","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"https://securitylab.github.com/research/github-actions-untrusted-input/","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-02-03T20:56:03.570Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-30628","url":"https://www.cve.org/CVERecord?id=CVE-2023-30628","licence":"CVE Terms of Use","modified":"2025-02-12T16:35:13.434Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-30628","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30628","licence":"Public domain","modified":"2026-06-17T05:55:11.487Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-273","url":"https://osv.dev/vulnerability/PYSEC-2023-273","licence":"CC-BY-4.0","modified":"2024-11-21T14:57:02.609Z"}],"updatedAt":"2026-11-25T22:58:23.735Z","epss":{"score":0.03596,"percentile":0.89741,"date":"2026-12-01T12:00:22.000Z"}}