{"id":"CVE-2025-62713","aliases":["CVE-2025-62713","GHSA-j3w7-9qc3-g96p"],"related":[],"kind":"vulnerability","state":"published","title":"Kottster app reinitialization can be re-triggered allowing command injection in development mode","summary":"Kottster is a self hosted Node.js admin panel. From versions 3.2.0 to before 3.3.2, Kottster contains a pre-authentication remote code execution (RCE) vulnerability when running in development mode. This affects development mode only, production deployments were never affected. This issue has been fixed in version 3.3.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Kottster is a self hosted Node.js admin panel. From versions 3.2.0 to before 3.3.2, Kottster contains a pre-authentication remote code execution (RCE) vulnerability when running in development mode. This affects development mode only, production deployments were never affected. This issue has been fixed in version 3.3.2.","source":"cvelist"},{"lang":"en","text":"### Impact\n\n**Development mode only**. Kottster contains a pre-authentication remote code execution (RCE) vulnerability when running in development mode.\n\nThe vulnerability combines two issues:\n1. The `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 token\n2. The `installPackagesForDataSource` action uses unescaped command arguments, enabling command injection\n\nAn attacker with access to a locally running development instance can chain these vulnerabilities to:\n- Reinitialize the application and receive a JWT token for a new root account\n- Use this token to authenticate\n- Execute arbitrary system commands through `installPackagesForDataSource`\n\n**Production deployments were never affected.**\n\n### Patches\n\nFixed in [v3.3.2](https://github.com/kottster/kottster/releases/tag/v3.3.2).\n\nSpecifically, `@kottster/server` [v3.3.2](https://www.npmjs.com/package/@kottster/server/v/3.3.2) and `@kottster/cli` [v3.3.2](https://www.npmjs.com/package/@kottster/cli/v/3.3.2) address this vulnerability.\n\nWe recommend developers using earlier versions of `@kottster/server` and `@kottster/cli` update all the core packages to latest release:\n\n```\nnpm install @kottster/common@latest @kottster/cli@latest @kottster/server@latest @kottster/react@latest\n```\n\n### Workarounds\n\n- Do not expose development servers to public networks or untrusted users\n- Use production mode for any deployment accessible from outside trusted environments\n\n### Credit\n\nWe sincerely thank Jeongwon Jo ([@P0cas](https://github.com/P0cas)) from **RedAlert** for discovering and responsibly disclosing this vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Kottster es un panel de administración Node.js autoalojado. Desde las versiones 3.2.0 hasta antes de la 3.3.2, Kottster contiene una vulnerabilidad de ejecución remota de código (RCE) de pre-autenticación cuando se ejecuta en modo de desarrollo. Esto afecta solo al modo de desarrollo; las implementaciones de producción nunca se vieron afectadas. Este problema ha sido solucionado en la versión 3.3.2.","source":"nvd"}],"published":"2025-10-23T16:01:35.000Z","modified":"2026-10-19T16:10:00.260Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","rating":"HIGH"}],"cwes":["CWE-78","CWE-284"],"affected":[{"ranges":[{"version":">= 3.2.0, < 3.3.2","status":"affected"}],"vendor":"kottster","product":"kottster","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.2.0","status":"affected","fixed":"3.3.2"}],"ecosystem":"npm","package":"@kottster/server","purl":"pkg:npm/%40kottster/server","source":"ghsa"}],"references":[{"url":"https://github.com/kottster/kottster/security/advisories/GHSA-j3w7-9qc3-g96p","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/kottster/kottster/commit/0a7d24922a23aac98372155348787670937eef89","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62713","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/kottster/kottster","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-23T16:40:41.498Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62713","url":"https://www.cve.org/CVERecord?id=CVE-2025-62713","licence":"CVE Terms of Use","modified":"2025-10-23T16:40:52.174Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j3w7-9qc3-g96p","url":"https://github.com/advisories/GHSA-j3w7-9qc3-g96p","licence":"CC-BY-4.0","modified":"2025-10-23T20:37:07.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62713","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62713","licence":"Public domain","modified":"2026-10-19T16:10:00.260Z"}],"updatedAt":"2026-11-25T22:59:06.751Z","epss":{"score":0.00609,"percentile":0.50532,"date":"2026-12-01T12:00:22.000Z"}}