Midday Missing Owner Check on Team Deletion
Published Aug 26, 2026
7.2
HIGHCVSS 4.0
EPSS 0.34%
Description
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.
Affected products
-
Affected
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-66611 Advisory
- https://github.com/midday-ai/midday product
- https://github.com/midday-ai/midday/blob/e5f45ed0d49cdb34576373623c4579b72daa74c1/apps/api/src/trpc/routers/team.ts technical-description
- https://github.com/midday-ai/midday/issues/890 exploitissue-tracking
- https://www.vulncheck.com/advisories/midday-missing-owner-check-on-team-deletion third-party-advisory
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-66611 | Advisory | |
| https://github.com/midday-ai/midday | product | |
| https://github.com/midday-ai/midday/blob/e5f45ed0d49cdb34576373623c4579b72daa74c1/apps/api/src/trpc/routers/team.ts | technical-description | |
| https://github.com/midday-ai/midday/issues/890 | exploitissue-tracking | |
| https://www.vulncheck.com/advisories/midday-missing-owner-check-on-team-deletion | third-party-advisory |
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
Red Hat
No data
GitHub
No data