Executive brief
Daytona is a platform used to manage secure environments for AI-generated code and automated workflows. A security flaw allowed users who manage their own organization to modify or delete administrative roles belonging to other organizations on the same platform. If exploited, this could allow an attacker to disrupt operations, strip permissions from legitimate users, or escalate their own privileges within a victim's environment.
Technical details
An Insecure Direct Object Reference (IDOR) vulnerability exists in Daytona's organization role management endpoints. While the application validates that a caller is an owner of the organization specified in the request path, it resolves the target role for update or delete operations using only the role's unique identifier without verifying that the role actually belongs to the caller's organization. An authenticated attacker with owner privileges over any organization can exploit this to modify or delete roles in other organizations, provided they know the target role's identifier. This can lead to privilege escalation, denial of service for legitimate users, and limited information disclosure of role permissions. The issue is fixed in version 0.185.0 by scoping role lookups to the caller's organization.
Affected products
- Daytona Daytona < 0.185.0
Timeline
- 2026-06-09: advisory: GitHub advisory published
- 2026-06-23: disclosed: NVD publication date
- 2026-06-23: patched: Fix released in version 0.185.0