CVE-2026-54322: Daytona Cross-org IDOR Vulnerability

HIGH
Advisory Identifier: GHSA-qxvm-pcfm-qc39
CVSS 7.7
CWE-639 CWE-862
Published
Advisory Summary

CVE-2026-54322 is a HIGH (CVSS 7.7) cross-org idor vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Daytona libraries in the Go ecosystem. The issue involves cross-org idor in organization role update/delete — any org owner can rewrite or destroy another org's roles. Remediation is available by upgrading affected packages to version 0.185.0.

CVE-2026-54322 at a Glance

CVE Identifier CVE-2026-54322
GHSA Identifier GHSA-qxvm-pcfm-qc39
Severity HIGH
CVSS v3.1 Base Score 7.7
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Daytona
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2026-54322

To remediate this vulnerability, upgrade all affected Daytona dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/daytonaio/daytona fixed: 0.185.0
Upgrade github.com/daytonaio/daytona to 0.185.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/daytonaio/daytona

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-54322, inspect your project dependencies for Daytona:

inspect dependencies for github.com/daytonaio/daytona

Analyze the terminal output to locate any version of Daytona in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.185.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Daytona, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-54322 Affected Daytona Versions

1 component(s)
Fixed Versions:
0.185.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/daytonaio/daytona
Go
< 0.185.0
0.185.0

References

Frequently Asked Questions

What is CVE-2026-54322?
CVE-2026-54322 is a security vulnerability in Daytona involving Cross-org IDOR in organization role update/delete — any org owner can rewrite or destroy another org's roles under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Daytona versions are affected?
Affected versions include releases prior to 0.185.0 across affected packages: github.com/daytonaio/daytona.
What version fixes CVE-2026-54322?
Upgrading to 0.185.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/daytonaio/daytona affected?
Yes, github.com/daytonaio/daytona is affected in releases prior to 0.185.0. Upgrade your dependency to 0.185.0 or later.
What is the CVSS score of CVE-2026-54322?
CVE-2026-54322 has a CVSS v3.1 base score of 7.7 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L.
What CWE is associated with CVE-2026-54322?
CVE-2026-54322 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Go dependencies for CVE-2026-54322?
Run the dependency tree command: 'inspect dependencies for github.com/daytonaio/daytona'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qxvm-pcfm-qc39",
  "modified" : "2026-07-20T21:15:04Z",
  "published" : "2026-06-16T21:30:08Z",
  "aliases" : [ "CVE-2026-54322" ],
  "summary" : "Daytona: Cross-org IDOR in organization role update/delete — any org owner can rewrite or destroy another org's roles",
  "details" : "### Summary\nDaytona'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.\n\n### Impact\nThis 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:\n\n- 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.\n- Delete the target role, removing the associated permissions from its holders.\n- Observe the victim role's current permission set returned in the update response (limited information disclosure).\n\nExploitation requires knowledge of the target role's identifier, which is not enumerable across organizations and is not exposed to non-members through the API.\n\n### Affected versions\nAll versions up to and including 0.184.0.\n\n### Patches\nFixed 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.\n\n### Workarounds\nNone. Upgrade to 0.185.0. Single-organization self-hosted deployments are not exploitable, as the issue requires a second organization to target.\n\n### Credit\nReported by @vnth4nhnt.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/daytonaio/daytona"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.185.0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.184.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/daytonaio/daytona/security/advisories/GHSA-qxvm-pcfm-qc39"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54322"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/daytonaio/daytona"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639", "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-16T21:30:08Z",
    "nvd_published_at" : "2026-06-23T19:17:08Z"
  }
}