7.7high
Daytona: Cross-org IDOR in organization role update/delete — any org owner can rewrite or destroy another org's roles
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qxvm-pcfm-qc39GO-2026-5600
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| daytonaio daytona | < 0.185.0 | CVE List |
| github.com/daytonaio/daytona (Go) | before 0.185.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Summary
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.
Impact
This is a cross-tenant broken access control (IDOR) issue affecting multi-tenant deployments, including the managed Daytona platform. Using a target role's identifier, an attacker with owner rights over their own organization could:
- Overwrite the target role's name and permission set, escalating or stripping privileges for every member and API key in the victim organization that holds that role.
- Delete the target role, removing the associated permissions from its holders.
- Observe the victim role's current permission set returned in the update response (limited information disclosure).
Exploitation requires knowledge of the target role's identifier, which is not enumerable across organizations and is not exposed to non-members through the API.
Affected versions
All versions up to and including 0.184.0.
Patches
Fixed in 0.185.0. The role update, delete, and role-assignment lookups are now scoped to the caller's organization, so a role belonging to another organization resolves to "not found" before any read or mutation. The managed Daytona platform was updated on release of 0.185.0.
Workarounds
None. Upgrade to 0.185.0. Single-organization self-hosted deployments are not exploitable, as the issue requires a second organization to target.
Credit
Reported by @vnth4nhnt.
Go Vulnerability Database
Daytona: Cross-org IDOR in organization role update/delete — any org owner can rewrite or destroy another org's roles in github.com/daytonaio/daytona
NVD (es)
Daytona es un tiempo de ejecución de infraestructura seguro y elástico para la ejecución de código generado por IA y flujos de trabajo de agentes. Antes de la versión 0.185.0, los puntos finales de actualización y eliminación de roles de organización de Daytona autorizaban al llamador como propietario de la organización nombrada en la ruta de la solicitud, pero resolvían y mutaban el rol objetivo solo por su identificador, sin verificar que el rol perteneciera a esa organización. Un usuario autenticado que posee cualquier organización (las organizaciones son de autoservicio) podría, por lo tanto, modificar los permisos de, o eliminar, un rol perteneciente a una organización diferente, dado el identificador de ese rol. Esta vulnerabilidad está corregida en la versión 0.185.0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54322 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qxvm-pcfm-qc39 changed 2026-07-20 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5600 changed 2026-06-25 | CC-BY-4.0 |
| NVD | CVE-2026-54322 changed 2026-10-25 | Public domain |