@kottster/server
Affected
- introduced
3.2.0, fixed3.3.2(semver)
Fixed versions
3.3.2
Fix
- Fixed version
3.3.2npm install @kottster/[email protected]
Advisory
Also known as: CVE-2025-62713
Kottster app reinitialization can be re-triggered allowing command injection in development mode
Impact
Development mode only. Kottster contains a pre-authentication remote code execution (RCE) vulnerability when running in development mode.
The vulnerability combines two issues:
initApp action can be called repeatedly without checking if the app is already initialized, allowing attackers to create a new root admin account and obtain a JWT tokeninstallPackagesForDataSource action uses unescaped command arguments, enabling command injectionAn attacker with access to a locally running development instance can chain these vulnerabilities to:
installPackagesForDataSourceProduction deployments were never affected.
Patches
Fixed in v3.3.2.
Specifically, @kottster/server v3.3.2 and @kottster/cli v3.3.2 address this vulnerability.
We recommend developers using earlier versions of @kottster/server and @kottster/cli update all the core packages to latest release:
npm install @kottster/common@latest @kottster/cli@latest @kottster/server@latest @kottster/react@latest
Workarounds
Credit
We sincerely thank Jeongwon Jo (@P0cas) from RedAlert for discovering and responsibly disclosing this vulnerability.
High Basis: The source's own band: HIGH
3.2.0, fixed 3.3.2 (semver)3.3.2
3.3.2npm install @kottster/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0