Description (CNA)
goose from 1.28.0 before 1.44.0 contains an authorization bypass vulnerability that allows tools to run without user approval in Manual Approval mode because persisted read-only annotations are never cleared by update_goose_mode. After a session uses Smart Approval mode, prompt-injected calls to tools annotated readOnlyHint: true execute without prompting, bypassing the user's selected approval mode in PermissionInspector::inspect.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| aaif-goose / goose | affected 1.28.0 before 1.44.0; unaffected 1.44.0 |
CWE
CWE-863
References
- https://github.com/aaif-goose/goose/pull/10528
- https://github.com/aaif-goose/goose/commit/b0f4e2a0f1a5507aa0a0fbe73d0b5c77a3e86845
- https://github.com/aaif-goose/goose/blob/v1.43.0/crates/goose/src/permission/permission_inspector.rs#L159
- https://github.com/aaif-goose/goose/releases/tag/v1.44.0
- https://github.com/aaif-goose/goose
- https://www.vulncheck.com/advisories/goose-from-1.28.0-before-1.44.0-manual-approval-bypass-via-read-only-tool-annotations