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.
Published: 2026-08-26
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized deletion of teams and potential credential compromise
Action: Restrict Access
AI Analysis

Impact

Midday's API allows any member of a team to delete the team because the delete procedure uses a team‑access helper that grants permission to all rows in the team‑membership table, ignoring the role stored for each member. The cleanup job enqueued by the delete action uses stored bank‑connection tokens to contact connected providers, which means a malicious member could remove the team, erase all scoped data, and trigger credential‑bearing jobs that may expose third‑party access credentials. This flaw enables the complete loss of a team’s data and the potential exfiltration or misuse of provider tokens. While the other team operations in the same router enforce an owner check, that safeguard is absent from the deletion path, creating a direct path for unauthorized removal.

Affected Systems

The vulnerability exists in Midday AI's Midday application. No specific version information is disclosed, implying that all current releases of the application are vulnerable until a fix is applied. The issue affects the team management endpoints found in apps/api/src/trpc/routers/team.ts and any deployment that relies on that code path.

Risk and Exploitability

The CVSS score of 7.2 indicates a high‑risk vulnerability, and although the EPSS score is not available, the lack of an explicit role check means the attack can be carried out by any team member with API access. The flaw is not listed in the CISA KEV catalog, but the potential for data loss and credential leakage makes it a significant risk. The attack vector is inferred to be remote, performed via the API by any authenticated team member. No special conditions are required beyond membership, so the exploitability is straightforward and the impact on confidentiality, integrity, and availability is extensive.

Generated by OpenCVE AI on August 26, 2026 at 18:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • If a patch is not yet available, temporarily disable or restrict the delete operation for non‑owner roles using middleware or configuration changes.
  • Audit current team deletions to identify and recover any unintended removals and revoke any leftover bank‑connection tokens that may have been used by the cleanup job.
  • Refactor the deletion logic to include an explicit role check against the owner role, following best practice access control patterns.
  • Verify that all team‑management endpoints enforce consistent role checks before deployment.

Generated by OpenCVE AI on August 26, 2026 at 18:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Midday-ai
Midday-ai midday
Vendors & Products Midday-ai
Midday-ai midday

Wed, 26 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 26 Aug 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title Midday Missing Owner Check on Team Deletion
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

cvssV4_0

{'score': 7.2, 'vector': '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'}


Subscriptions

Midday-ai Midday
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-26T16:06:39.105Z

Reserved: 2026-08-26T15:23:07.760Z

Link: CVE-2026-81035

cve-icon Vulnrichment

Updated: 2026-08-26T16:05:56.393Z

cve-icon NVD

Status : Received

Published: 2026-08-26T16:16:46.463

Modified: 2026-08-26T17:17:26.390

Link: CVE-2026-81035

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T20:32:43Z

Weaknesses