Daytona: Cross-org IDOR in organization role update/delete — any org owner can rewrite or destroy another org's roles
Daytona is a secure and elastic infrastructure runtime for AI-generated code execution and agent workflows. Prior to 0.185.0, Daytona's organization role update and delete endpoints authorized the caller as an owner of the organization named in the request path, but resolved and mutated the target role by its identifier alone, without verifying the role belonged to that organization. An authenticated user who owns any organization (organizations are self-service) could therefore modify the permissions of, or delete, a role belonging to a different organization, given that role's identifier. This vulnerability is fixed in 0.185.0.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-639 | CWE-639: Authorization Bypass Through User-Controlled Key |
| CWE | CWE-862 | CWE-862: Missing Authorization |
Type: CWE
Description: CWE-639: Authorization Bypass Through User-Controlled Key
Type: CWE
Description: CWE-862: Missing Authorization
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 3.1 | 7.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L |
Version: 3.1
Base score: 7.7
Base severity: HIGH
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L