{"uuid": "2d42dbc5-094a-48bf-ae8e-b3dfb054d386", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2026-79403", "type": "seen", "source": "https://gist.github.com/akinerkisa/e345af9f9992b87247a71fdb5b36ac2c", "content": "Title: CVE-2026-79403 \u2014 Missing Authentication on Local Permission Endpoint Leads to Arbitrary Code Execution (Kilo Code &lt; v7.4.1)\n\nCVE ID: CVE-2026-79403\n\nSummary:\n- An issue in Kilo Code before v7.4.1 allows a local attacker to execute arbitrary code because the local HTTP API's authorization is disabled by default. When `KILO_SERVER_PASSWORD` is unset (the default installation state), an unauthenticated local request to the `permission/allow-everything` endpoint grants the agent a wildcard permission rule, so all subsequent agent commands run without the user approval prompt.\n\nAffected product / versions:\n- Vendor: Kilo Code (Kilo-Org)\n- Project / Repo: https://github.com/Kilo-Org/kilocode\n- Affected version: Before v7.4.1\n- Fixed in: v7.4.1\n\nAffected component / sample fix:\n- The vulnerability occurs because the HTTP API authorization middleware is a no-op when no server password is configured, leaving the security-critical `permission/allow-everything` endpoint reachable without authentication on localhost:4096.\n\nVulnerability type:\n- Missing Authentication for Critical Function \u2014 CWE-306 (also CWE-863, Incorrect Authorization)\n\nAttack type:\n- Local; any process running on the same machine can reach the endpoint.\n\nImpact:\n- Bypass of the user-approval safety control, leading to arbitrary command/code execution in the user's context. Any local process (malware, malicious browser extension, or a payload delivered via prompt injection) can disable the approval prompt and cause the agent to execute subsequent shell commands without confirmation.\n\nAttack vector:\n- With Kilo Code running in its default configuration (no `KILO_SERVER_PASSWORD`), a local process sends an unauthenticated request to the `permission/allow-everything` endpoint on localhost:4096. This adds a wildcard allow rule to the agent's permission set; all following agent commands then execute without user approval.\n\nCVSS v3.1:\n- AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 7.8 (High)\n\nReferences:\n- Fix (PR #11887): https://github.com/Kilo-Org/kilocode/pull/11887\n\nMitigation / remediation:\n- Upgrade to Kilo Code v7.4.1 or later.\n\nDiscoverer:\n- Ak\u0131ner K\u0131sa\n", "creation_timestamp": "2026-09-27T21:40:48.000000Z"}