# CVE-2026-59979 - YosemiteCrew: Missing organization authorization on service and PMS library/template routes

DevFeed: [CVE-2026-59979 - YosemiteCrew: Missing organization authorization on service and PMS library/template routes](<https://devfeed.tech/articles/cve-2026-59979-yosemitecrew-missing-organization-authorization-on-service-and-pms-library-template-routes-104700.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-59979>)

Author: CVEFEED.io; github.com

Published: 2026-10-28T16:17:08Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [Authorization](<https://devfeed.tech/topics/authorization.md>), [CRUD](<https://devfeed.tech/topics/crud.md>), [service](<https://devfeed.tech/topics/service.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [account](<https://devfeed.tech/tags/account.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [backend](<https://devfeed.tech/tags/backend.md>), [based](<https://devfeed.tech/tags/based.md>), [billing](<https://devfeed.tech/tags/billing.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [change](<https://devfeed.tech/tags/change.md>), [companion](<https://devfeed.tech/tags/companion.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-59979](<https://devfeed.tech/tags/cve-2026-59979.md>), [library](<https://devfeed.tech/tags/library.md>), [organization](<https://devfeed.tech/tags/organization.md>), [service](<https://devfeed.tech/tags/service.md>), [template](<https://devfeed.tech/tags/template.md>)

## AI overview

In the affected main and dev snapshots, YosemiteCrew service and PMS task-library/template routes lack organization and permission checks. Authenticated users can modify or delete another organization's service catalogue and task data, potentially affecting bookings and billing; service records can also be read without authentication. The described service lookup uses a global record ID without an organization filter. The excerpt identifies the exposed routes and says an earlier change protected create routes but left sibling operations open. No fixed release is established in the available evidence.

## Source excerpt

CVE ID :CVE-2026-59979 Published : Oct. 28, 2026, 4:17 p.m. | 30 minutes ago 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. Severity: 8.3 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...