Description
Plastic Labs Honcho through 3.3.0 contains an incorrect authorization vulnerability that allows peer- or session-scoped API key holders to read workspace data because get_or_create_workspace checks only the workspace claim. Attackers can submit their parent workspace name to the POST /v3/workspaces endpoint to retrieve workspace metadata and configuration, including custom_instructions, reserved for workspace or admin keys.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Plastic Labs | honcho | ≤ 3.3.0 | — |
References
- https://hackmd.io/@haind/honcho-scoped-jwt-workspace-config-disclosure third-party-advisory
- https://github.com/plastic-labs/honcho/blob/608aec8a928da13c540262ed980c569448fb53ab/src/routers/workspaces.py#L41-L72 technical-description
- https://github.com/plastic-labs/honcho/blob/608aec8a928da13c540262ed980c569448fb53ab/src/security.py#L218-L225 technical-description
- https://github.com/plastic-labs/honcho/blob/608aec8a928da13c540262ed980c569448fb53ab/src/crud/workspace.py#L112-L119 technical-description
- https://github.com/plastic-labs/honcho product
- VulnCheck Advisory: Plastic Labs Honcho through 3.3.0 Incorrect Authorization via POST /v3/workspaces third-party-advisory