# CVE-2023-30628: PYSEC-2023-273 - Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and…

Source: https://junglewise.ai/threats/cve-2023-30628-pysec-2023-273-kiwi-tcms-is-an-open-source-test-management-system  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-24  
License: CC BY 4.0 with a link back

CVE-2023-30628 · Severity: low · CVSS 3.1 · Published 2023-04-24

Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior,
the `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.

Technologies: [kiwitcms (PyPI)](https://junglewise.ai/threats/technologies/kiwitcms). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-30628 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-30628 being exploited in the wild.

**How severe is CVE-2023-30628?** Low severity, with a CVSS score of 3.1, published 24 April 2023.

**Which products and versions are affected?** kiwitcms (PyPI) GIT:introduced=0,fixed=e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751|GIT:introduced=0,fixed=834c86dfd1b2492ccad7ebbfd6304bfec895fed2|ECOSYSTEM:introduced=0,fixed=12.3.

**Is there a fix for CVE-2023-30628?** Yes. kiwitcms (PyPI): upgrade to 12.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-30628?** Check whether you run kiwitcms (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- kiwitcms (PyPI): upgrade to 12.3 or later

  ```sh
  pip install "kiwitcms>=12.3"
  ```


## Affected products

- kiwitcms (PyPI) GIT:introduced=0,fixed=e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751|GIT:introduced=0,fixed=834c86dfd1b2492ccad7ebbfd6304bfec895fed2|ECOSYSTEM:introduced=0,fixed=12.3

## Identifiers

- CVE-2023-30628
- PYSEC-2023-273

## Related threats

- [Kiwi TCMS account confirmation open redirect via protocol-relative URLs](https://junglewise.ai/threats/cve-2026-77433-kiwi-tcms-account-confirmation-open-redirect-through-protocol)
- [Kiwi TCMS missing authorization in database initialization page](https://junglewise.ai/threats/cve-2026-49292-kiwi-tcms-missing-authorization-in-database-initialization-page)
- [Kiwi TCMS stored XSS in TestPlan and TestCase extra_link fields](https://junglewise.ai/threats/cve-2026-55630-kiwi-tcms-stored-xss-in-testplan-and-testcase-extra-link-fields)
- [Kiwi TCMS open redirect in account confirmation endpoint](https://junglewise.ai/threats/cve-2026-54724-kiwi-tcms-open-redirect-in-account-confirmation-endpoint)
- [PYSEC-2026-1499 - Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox](https://junglewise.ai/threats/cve-2023-36809-kiwi-tcms-s-misconfigured-http-headers-allow-stored-xss-execution)
