Kiwi TCMS's /init-db/ page renders and responds to requests after first use
Kiwi TCMS provides the /init-db/ page as part of its setup mechanism for administrators who prefer a browser instead of the command line. In previous versions of Kiwi TCMS this page still renders and responds to requests even after first use.
Impact
The /init-db/ page does not require any user authentication because it is the first setup operation that needs to be executed in order for Kiwi TCMS to function. Database initialization happens before there are any user accounts available!
While that looks serious at first the /init-db/ page is merely a proxy behind the /Kiwi/manage.py migrate command, which itself is designed to be reentrant. In the case of repeated access to the /init-db/ page after first use the output is:
Running migrations:
No migrations to apply.
as shown on the screenshots below:
<img width="1911" height="992" alt="2222" src="https://github.com/user-attachments/assets/9f661c71-b305-4380-aadf-0732321b3666" /> <img width="1913" height="1020" alt="3333" src="https://github.com/user-attachments/assets/10f8553e-675d-42be-9adc-cd5613df015c" />- There is no data loss because migrations result in a no-op if they are already applied!
- No application state is altered because all state changes have already been applied!
- No confidential information revealed because database migrations only report status on migrations which are clearly visible in source code!
Remediation
The /init-db/ page has been modified to short-circuit itself if migrations have already been applied, resulting in a no-op on the webUI layer as well.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | kiwitcms | <= 12.4 | no fix |
References
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U- Weakness (CWE)
CWE-862- Platform
- Python (PyPI)
- Package
kiwitcms- Disclosed
- 02.07.2026
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2553 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-v8rp-6xcv-fwgh - CC BY 4.0
Vulnerability history: kiwitcms
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 11.2022 07.2026
- Without a fix
- 3
- Exploited in attacks
- 0
Severity breakdown
- High 7
- Medium 3
- Low 3
Disclosures per year
- 2022: 1
- 2023: 9
- 2024: 0
- 2025: 0
- 2026: 3
-
Kiwi TCMS's /init-db/ page renders and responds to requests after first use this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.