CVE-2026-54320: Daytona Unverified Email Invitation Acceptance Privilege Escalation
Daytona, an infrastructure runtime for AI code execution, contains a flaw in how it validates organization invitations. Before version 0.184.0, a user could accept an organization invitation—potentially gaining Owner-level access—without verifying their email address, as long as the email matched the invitation target. This circumvents a security control that normally requires email verification before granting organization membership. The vulnerability requires an attacker to have registered an account and received a session from their identity provider, but does not require prior authorization within Daytona itself.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.4 HIGH · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
- Weaknesses (CWE)
- CWE-287, CWE-863
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-23 / 2026-06-24
NVD description (verbatim)
Daytona is a secure and elastic infrastructure runtime for AI-generated code execution and agent workflows. Prior to 0.184.0, organization invitations could be accepted (and declined) by a user whose email matched the invitation but had not been verified. Daytona authenticates users via OIDC and matches an invitation's target email against the email in the caller's token, but the invitation accept and decline paths did not require that email to be verified, unlike organization creation, which already enforced verification. On identity providers that allow self-service signup and issue a session before the email is verified, an actor could register an address matching a pending invitation, leave it unverified, and accept the invitation, joining the target organization with the role the invitation carried (up to Owner). This vulnerability is fixed in 0.184.0.
1 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability stems from inconsistent enforcement of email verification across Daytona's invitation workflow. While organization creation enforces email verification, the invitation accept and decline endpoints authenticate via OIDC token matching (comparing the caller's email claim against the invitation target email) but omit verification checks. An attacker registers a new account on a federated identity provider that allows pre-verified session issuance, uses an email matching a pending invitation, and calls the accept endpoint. Because the OIDC token contains an unverified email matching the invitation, the request succeeds. The decline path shares the same flaw. This affects CWE-287 (Improper Authentication) and CWE-863 (Incorrect Authorization).
Business impact
An attacker could gain unauthorized access to organizations within a Daytona instance, potentially at the Owner privilege level, without legitimate invitation or credential compromise. This enables lateral movement, data exfiltration from organization workspaces, code injection into AI workflows, and infrastructure sabotage. The risk is particularly acute in multi-tenant deployments where organizations isolate different teams or customers. Remediation should be prioritized for instances hosting sensitive AI workloads or managing infrastructure across multiple business units.
Affected systems
Daytona versions prior to 0.184.0 are affected. The vulnerability is present in the invitation accept and decline code paths and impacts any organization using Daytona with a federated identity provider (such as Auth0, Okta, or any OIDC-compliant provider) that permits account registration and session issuance before email verification. On-premises and cloud deployments are equally at risk.
Exploitability
Exploitation requires low pre-existing access: the attacker must be able to register an account on the identity provider used by the target Daytona instance. This is typically feasible on self-service OIDC providers. No special network position or tools are needed beyond normal authentication flows. The attack surface is unauthenticated from Daytona's perspective (the attacker is a new user), though they must be known to the identity provider. The CVSS score of 8.4 reflects the high impact (confidentiality and integrity compromise, some availability impact) offset by the requirement to identify and target a specific pending invitation and the need for identity provider control.
Remediation
Upgrade to Daytona 0.184.0 or later immediately. The patch enforces email verification on both invitation accept and decline endpoints, aligning them with the verification requirement already present in organization creation. After patching, audit recent organization memberships for anomalies, especially Owner-level additions, and revoke any suspicious invitations or memberships. Review OIDC provider configurations to ensure email verification is enforced before session issuance, where possible.
Patch guidance
Daytona 0.184.0 contains the fix. Verify against the official Daytona release notes and apply the update to all instances running prior versions. If you are on a managed Daytona service, the vendor should provide an automated upgrade path; consult your service provider for timing. Test the patch in a non-production environment first to confirm compatibility with existing organization structures and workflows.
Detection guidance
Look for invitations that were accepted or declined by users whose email address matches the invitation target but whose email verification status is unconfirmed or missing in your identity provider logs. Cross-reference Daytona organization membership events (especially Owner additions) with identity provider session logs to identify cases where a session was issued before email verification completed. Monitor for failed organization creation attempts followed by successful invitation accepts with unverified emails—this pattern suggests attempted exploitation.
Why prioritize this
This is a HIGH-severity vulnerability because it enables privilege escalation and unauthorized organizational access without compromising existing credentials. It directly affects access controls in a runtime platform handling sensitive AI code execution. The flaw is easy to exploit once a pending invitation is identified, and the impact—Owner-level organizational compromise—is severe. Although it currently carries no active exploit surveillance (not in CISA KEV), the straightforward nature of the attack makes proactive patching essential.
Risk score, explained
The CVSS 3.1 score of 8.4 reflects: high confidentiality and integrity impact (access to organization code and data), low availability impact (the attack does not inherently disrupt service), low attack complexity (standard account registration and API calls), and the requirement for partial prior access (ability to register on the identity provider). The attack is network-accessible and does not require user interaction, but the attacker's identity is constrained by the identity provider's registration policies. Across multi-tenant deployments, this scores as a scope-change scenario, elevating severity.
Frequently asked questions
Does this affect us if we use identity providers that force email verification before issuing a session?
No, if your identity provider requires email verification before session issuance, exploitation is blocked—the attacker cannot obtain a valid token with an unverified email matching the invitation. However, you should still upgrade to 0.184.0 for defense in depth and to protect against future provider configuration changes or compromised identity provider policies.
How do I know if someone exploited this in our Daytona instance?
Check your organization membership audit logs for Owner or member additions that correlate with OIDC token issuance from unverified email addresses. Query your identity provider logs for accounts created shortly before suspicious organization joins. If you identify anomalies, revoke the membership immediately and audit that user's activity within the organization.
Can an attacker exploit this to join any organization, or must they target a specific invitation?
They must target a specific, pending invitation. The attack works by registering an email that matches an already-issued invitation. If there is no pending invitation for the email the attacker registers, the exploit fails. Organizations should periodically audit and revoke stale pending invitations.
Does upgrading to 0.184.0 require downtime?
Verify against your Daytona deployment documentation and release notes. Most patches to authentication flows do not require service restart, but you should test in a non-production instance first. Consult your vendor or deployment guide for specific rollout procedures.
This analysis is provided for informational and educational purposes. The information herein is current as of the publication date and derived from the CVE record and vendor advisories. Security landscapes evolve; consult official vendor advisories, CVSS documentation, and your organization's threat intelligence before making remediation decisions. No exploit code, weaponized proof-of-concept, or unauthorized access techniques are provided. Always verify patch availability and compatibility before deployment in production environments. Source: NVD (public-domain), retrieved 2026-07-29. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-50559HIGHQuarkus HTTP Authorization Bypass via Encoded Characters
- CVE-2016-20075HIGHWordPress Ultimate Product Catalog 3.8.6 Arbitrary File Upload (CVSS 8.8)
- CVE-2025-14774HIGHABB T-MAC Plus Denial-of-Service Vulnerability (CVSS 7.4)
- CVE-2025-32348HIGHAndroid Local Privilege Escalation via Missing Permission Check
- CVE-2026-0272HIGHPalo Alto PAN-OS Privilege Escalation Vulnerability (PA-Series, VM-Series, Panorama)
- CVE-2026-10157HIGHOpen5GS NGAP Authentication Bypass Vulnerability – 5G Core Network Risk
- CVE-2026-10167HIGHAuthentication Bypass in BrinaryBrains School Management System
- CVE-2026-10243HIGHSmart Parking System 1.0 Authentication Bypass – Remote Admin Access