CVE-2026-77433: Kiwi TCMS account confirmation open redirect through protocol-relative URLs
Published 2026-11-09 · Updated 2026-11-09 · Also known as GHSA-gcwf-c25f-p9rv
Summary
Kiwi TCMS contains an open redirect vulnerability in the account confirmation endpoint because it uses an incomplete `startswith("/")` check that fails to block protocol-relative URLs. Engineering and security teams managing Kiwi TCMS deployments must update their software.
Who is affected
An attacker can craft a malicious confirmation link containing a protocol-relative URL (such as `//evil.com`) via the `next` parameter, which redirects users to an external domain after confirming their account. This requires the attacker to send a crafted activation link to a user who is registering or to predict/intercept the activation key. The impact includes credential phishing, malware delivery, and social engineering against authenticated users.
Exploitability
The vulnerability has a CVSS 3.1 base score of 6.1 (Medium) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating network accessibility, low attack complexity, no privileges required, user interaction required, and a changed scope. The EPSS score is 0.003 (percentile 0.233), and CISA KEV status is no.
Remediation
- Upgrade Kiwi TCMS to version 16.2 or later.
- Replace the custom `startswith("/")` check in `tcms/kiwi_auth/views.py` with Django's `url_has_allowed_host_and_scheme()` utility.
How to check your project
- Check the installed package version of PyPI kiwitcms to see if it falls within the range introduced at 0 and last affected up to 12.4 (or version 16.1 as referenced in the text).
- Inspect `tcms/kiwi_auth/views.py` for the `get_redirect_url` method to check if it relies on a simple `startswith("/")` string check instead of `url_has_allowed_host_and_scheme()`.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| PyPI | kiwitcms |
>= 0, <= 12.4 | not published | - |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Changed |
| Confidentiality | Low |
| Integrity | Low |
| Availability | None |
FAQ
What causes the open redirect vulnerability in Kiwi TCMS?
The vulnerability is caused by using `startswith("/")` to validate the `next` parameter in the account confirmation view, which allows protocol-relative URLs like `//evil.com` to bypass the validation check.
What is the recommended fix for this issue?
The recommended fix is to use Django's `url_has_allowed_host_and_scheme()` utility function to strictly validate the redirect target against allowed hosts and schemes.
Which versions of Kiwi TCMS are affected?
The vulnerability affects Kiwi TCMS versions introduced from 0 up to 12.4, as well as an incomplete mitigation present in version 16.1.
Original advisory description
References
- WEB https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-gcwf-c25f-p9rv
- WEB https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-hmj5-jm8h-h9fh
- WEB https://github.com/kiwitcms/Kiwi/pull/4458
- WEB https://github.com/kiwitcms/Kiwi/commit/65d8f7c2743d7f06a4fca77c060b9d561f02f948
- PACKAGE https://github.com/kiwitcms/Kiwi
- WEB https://github.com/kiwitcms/Kiwi/releases/tag/v16.2
Source records: GHSA-gcwf-c25f-p9rv (OSV.dev) · EPSS by FIRST, 2026-11-26.