← Back to search

CVE-2026-59979

8.3 HIGHpublic exploit available

Published 2026-10-28 · Updated 2026-11-02

AI risk analysis

Summary
Two unauthenticated and one authenticated-only endpoints in YosemiteCrew's service and PMS task-library routes lack organization-level authorization checks, allowing any registered user—including low-privilege accounts—to read, modify, or delete another organization’s service catalog and task templates.
Exploitability
Exploitation is straightforward for any authenticated platform user with a valid session token; no special privileges or external tools are required.
Blast radius
An attacker could disrupt billing, bookings, and care workflows by altering or deleting critical service definitions and task templates across organizations, potentially affecting multiple clients simultaneously.
Detection
Monitor for requests to `/fhir/v1/service/:id` (especially `PATCH`, `DELETE`, or unauthenticated `GET`) or `/v1/task/pms/library/:libraryId`, `/v1/task/pms/templates` endpoints from users not belonging to the target organization, as logged in the authentication and access logs with mismatched `organizationId` claims vs. resource ownership.
Prioritized remediation
Apply the `withOrgPermissions()` and `requirePermission(...)` middleware checks to all affected routes in `service.router.ts` and `task.router.ts`, ensuring every request is validated against the user’s organization membership and role-based permissions—no fixed version is published, so immediate code-level patching is required.
auth-bypassauthorization-flawweb-apidata-modificationpms

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

YosemiteCrew provides organization-based service and task management. In the source-reported affected main and dev snapshots, YosemiteCrew's service and PMS task-library/template routes omit organization and permission checks. `authorizeCognito` in `apps/backend/src/middlewares/auth.ts` sets the authenticated user's ID but does not provide the `withOrgPermissions()` and `requirePermission(...)` checks used by protected siblings. In `apps/backend/src/routers/service.router.ts`, `PATCH /fhir/v1/service/:id` and `DELETE /fhir/v1/service/:id` are authentication-only, while `GET /fhir/v1/service/:id` has no authentication middleware. The trace through `apps/backend/src/controllers/web/service.controller.ts` to `apps/backend/src/services/service.service.ts` passes a global record ID into `ServiceModel.findById(oid)` without an `organisationId` filter. In `apps/backend/src/routers/task.router.ts`, `PUT /v1/task/pms/library/:libraryId`, `POST /v1/task/pms/templates`, `PATCH /v1/task/pms/templates/:templateId` and `DELETE /v1/task/pms/templates/:templateId` likewise lack organization/role enforcement. Any registered platform user, including a patient/companion-app account, can modify or delete another organization's service catalogue and PMS task-library/template data, affecting bookings and billing; service records can additionally be read without authentication. An earlier security change protected create routes but left these sibling operations exposed. A fixed release cannot be established from the available evidence.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Weaknesses

CWE-639, CWE-862

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.