CVE-2025-62713 — @kottster/server
Fix: kottster/kottster@0a7d249CVE-2025-62713 is a OS Command Injection vulnerability in @kottster/server. A fix is available for @kottster/server — see the affected versions and patch details below.
Kottster app reinitialization can be re-triggered allowing command injection in development mode
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-62713.
EPSS Exploitation Probability
EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
@kottster/servernpmDescription
Impact
Development mode only. Kottster contains a pre-authentication remote code execution (RCE) vulnerability when running in development mode.
The vulnerability combines two issues:
- The
initAppaction 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 token - The
installPackagesForDataSourceaction uses unescaped command arguments, enabling command injection
An attacker with access to a locally running development instance can chain these vulnerabilities to:
- Reinitialize the application and receive a JWT token for a new root account
- Use this token to authenticate
- Execute arbitrary system commands through
installPackagesForDataSource
Production 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
- Do not expose development servers to public networks or untrusted users
- Use production mode for any deployment accessible from outside trusted environments
Credit
We sincerely thank Jeongwon Jo (@P0cas) from RedAlert for discovering and responsibly disclosing this vulnerability.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | @kottster/server | ≥ 3.2.0&&< 3.3.2 | 3.3.2npm install @kottster/server@3.3.2 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @kottster/server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update @kottster/server to 3.3.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-62713 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How O3 protects you
O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2025-62713 can be triaged on real exposure rather than presence alone.
Tailored to CVE-2025-62713. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.
Frequently Asked Questions
Is CVE-2025-62713 in your dependencies?
O3 Security finds CVE-2025-62713 across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.