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

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 30% of CVEs (2026-11-30)
- Published: 2026-10-28T15:36:57.833Z
- Modified: 2026-11-02T21:17:38.910Z
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- YosemiteCrew Yosemite-Crew: <= bc1a1824b1a7eba2bc61176cdb61d9a2a11bce57

## References

- <https://github.com/YosemiteCrew/Yosemite-Crew/security/advisories/GHSA-256m-gg99-4274>

## Sources

- CVE List: [CVE-2026-59979](https://www.cve.org/CVERecord?id=CVE-2026-59979), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-59979](https://nvd.nist.gov/vuln/detail/CVE-2026-59979), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-59979 · Whole record: https://cve.day/CVE-2026-59979.json · Rebuilt by cve.day 2026-11-25T22:59:47.626Z
