CVE-2026-81035

Source
https://cve.org/CVERecord?id=CVE-2026-81035
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81035.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-81035
Published
2026-08-26T15:45:02Z
Modified
2026-10-08T02:52:57Z
Severity
  • 7.2 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Midday Missing Owner Check on Team Deletion
Details

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.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81035.json"
}
References

Affected packages

Git / github.com/midday-ai/midday

Affected ranges

Type
GIT
Repo
https://github.com/midday-ai/midday
Events

Affected versions

Other
e5f45ed0d49cdb34576373623c4579b72daa74c1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81035.json"