Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReceive standard team invitation as Member
-
DeliveryAuthenticate to Midday API with member credentials
-
ExploitIssue tRPC team delete request
-
Executionteam-access helper confirms membership without role check
-
PersistTeam and all scoped records permanently deleted
-
ImpactBackground job executes with stored bank-connection tokens against financial providers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The caller must be an authenticated Midday user holding any membership in the target team, including the default |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H) and score of 7.2 accurately reflect the threat model: network-reachable with low complexity, requiring only low-privilege access (any team membership), producing high integrity and availability impact with no confidentiality component. No EPSS score was provided in the input data. There is no CISA KEV listing and no confirmed POC, placing this in a known-but-not-yet-weaponized state. However, exploitation complexity is extremely low for anyone already holding team membership - only knowledge of the API endpoint is required beyond the baseline credential. The secondary consequence of triggering bank-connection token usage against external financial providers meaningfully amplifies real-world impact beyond what the CVSS score alone conveys. This should be treated as a genuine operational priority for any Midday deployment with untrusted or externally invited team members, despite the absence of confirmed active exploitation. |
| Exploit ScenarioDerived | An attacker invited to a Midday workspace as a standard Member - the default role for any invitee - authenticates to the application and calls the team delete tRPC procedure directly. Because the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
Team deletion in Midday's tRPC API grants destructive Owner-equivalent authority to any authenticated Member due to a missing role check in apps/api/src/trpc/routers/team.ts. The team-access authorization helper confirms team membership but never validates whether the caller holds the owner role, despite that check being correctly implemented in adjacent member-removal and member-update procedures within the same router. Any invited team member - receiving the Member role by default - can delete the entire team and all scoped records, and additionally trigger a background cleanup job that exercises stored bank-connection OAuth tokens against connected financial providers. No public exploit identified at time of analysis; no CISA KEV listing.
RemediationAI
No vendor-released patch with a confirmed version number was identified at time of analysis. The fix requires adding an owner-role enforcement check to the team delete handler (and the team update handler) in apps/api/src/trpc/routers/team.ts, mirroring the role-resolution logic already applied to the member-remove and member-update procedures in the same router. Monitor the GitHub issue at https://github.com/midday-ai/midday/issues/890 and the VulnCheck advisory at https://www.vulncheck.com/advisories/midday-missing-owner-check-on-team-deletion for patch availability. As an immediate compensating control, restrict team invitations exclusively to fully trusted internal users, accepting the trade-off of reduced external collaboration until the patch is applied. If a reverse proxy or API gateway sits in front of the tRPC layer, consider blocking or rate-limiting calls to the team-delete endpoint for non-owner sessions. Enabling audit logging on team deletion events will provide detection and forensic capability in the interim.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Midday (cpe:2.3:a:midday-ai:midday) is a Next.js and tRPC-based financial operations platform. The vulnerable logic resides at apps/api/src/trpc/routers/team.ts (confirmed at commit e5f45ed0d49cdb34576373623c4579b72daa74c1). CWE-862 (Missing Authorization) describes the root cause precisely: the team-access helper performs a membership presence check - returning true for any row in the team-membership table - but performs no role comparison. The tRPC router's team-delete handler relies solely on this helper, while the member-remove and member-update handlers in the same file call a separate role-resolution step and reject non-owner callers. The architectural pattern for correct enforcement already exists in the codebase; it was simply not applied to the deletion and update handlers. The deletion path is particularly impactful because it enqueues an asynchronous cleanup job that uses stored bank-connection tokens to interact with connected third-party financial providers, extending the blast radius beyond record loss.
Know when Midday gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Any authenticated team member exploits over the network with low complexity (AV:N/AC:L/PR:L); deletion causes high integrity and availability impact with no confidentiality breach and no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Midday allows any member of a team to delete it. The delete procedure in apps/api/src/trpc/routers/team.ts authorises the caller with the team-access helper, which returns true for every row in the team-membership table irrespective of the role it records, and the data-layer function it calls re-checks the same helper and nothing else. The neighbouring procedures that remove or update a member in the same router each resolve the caller's role and refuse the request unless it is owner, so the check exists in the file and is not applied to deletion. Member is the role an invited user receives, so any invitee can remove the team and every record scoped to it, and the deletion enqueues the cleanup job with the stored bank-connection tokens, which the job then uses against the connected providers. The update procedure in the same router carries no role check either.
Executive ViewAI
Midday's team management API contains an authorization bypass that allows any team member to permanently delete entire teams and access connected financial provider credentials without owner approval. This affects all Midday customers with team collaboration enabled and introduces immediate risk of data destruction and unauthorized financial account access. Leadership should treat this as priority remediation pending vendor patch release.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement application-level role validation restricting team deletion to Owner role only until patch is available; (2) Require dual-owner approval and verification for any team deletion operation; (3) Implement real-time monitoring and alerting on all team management API calls; (4) Conduct immediate audit of team membership roles and remove unnecessary Member assignments; (5) Restrict OAuth credential access from team management API calls to prevent misuse of financial provider tokens; (6) Disable team deletion endpoint entirely via API gateway if application-level role validation cannot be deployed within 24 hours.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-66611
GHSA-432v-m2wc-4w5v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB