| Title | Continue Continue CLI 1.5.47 Improper Authorization |
|---|
| Description | Continue CLI 1.5.47 contains a fail-open permission defect. The user's permissions.yaml file is where a command is marked as requiring confirmation, and in headless and CI runs it is the only place where that intent can be expressed. When that file exists but cannot be parsed, because of a YAML syntax error, an unknown key or a value of the wrong type, the CLI silently treats it as missing, drops the whole personal policy layer and applies the built-in headless default, which allows the Bash tool and all other tools. A command the user listed as requiring confirmation is then executed without confirmation, so an instruction injected into a repository file, a pull request or a dependency README can run shell commands on the runner and use the credentials that runner exposes.
The loader returns null both for an invalid structure and for a parse exception, which is the same value it returns when the file does not exist, and the resolver only checks whether that result is truthy. Because the headless default is permissive, a policy that cannot be read is replaced by the widest policy instead of the narrowest one. In headless mode a permission of ask is denied while a permission of allow is executed, so the corrupted file changes the same command from denied to executed. The current default branch carries the same code.
This is an authorization bypass rather than a missing filter: the only basis for allowing a tool call is a policy decision, and when the policy cannot be read no such decision was taken. The same null value also feeds the writer that persists always-allow choices, so the next such choice rewrites the file from an empty configuration and permanently discards the user's remaining rules. Affected are headless and CI deployments of the Continue CLI that rely on permissions.yaml, where no interactive confirmation exists. |
|---|
| Source | ⚠️ https://github.com/continuedev/continue/issues/13461 |
|---|
| User | EM1111 (UID 102734) |
|---|
| Submission | 11/05/2026 18:08 (24 days ago) |
|---|
| Moderation | 11/29/2026 16:00 (24 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 445187 [continuedev continue up to 1.5.47 Tool Permission permissionsYamlLoader.ts loadPermissionsYaml improper authorization] |
|---|
| Points | 20 |
|---|