CVE-2026-43890
Beschrijving NL
Outline is een dienst die gezamenlijke documentatie mogelijk maakt. Van 0.84.0 tot 1.7.0 vertoont het subscriptions.create API-eindpunt in server/routes/api/subscriptions/subscriptions.ts een verbroken autorisatiepatroon. Wanneer zowel collectionId als documentId in het verzoek worden verstrekt, machtigt de routeafhandelaar ALLEEN de incassotak (regel 125 if (collectionId)), terwijl het downstream subscriptionCreator-commando op server/commands/subscriptionCreator.ts het abonnement tegen het documentId schrijft (dat nooit is gevalideerd). Het resultaat is een abonnementsrecord dat de gebruiker van de aanvaller vasthoudt aan een slachtofferdocument waartoe de aanvaller geen leestoegang heeft, op elk team in het geval. Het schema (server/routes/api/subscriptions/schema.ts) dwingt alleen "ten minste één van collectionId/documentId" af via .refine () — het dwingt wederzijdse exclusiviteit NIET af, dus het doorgeven van beide is een geldig, schema-conform verzoek. Deze kwetsbaarheid is opgelost in 1.7.1.
Origineel (Engels) tonen
Outline is a service that allows for collaborative documentation. From 0.84.0 to 1.7.0, the subscriptions.create API endpoint in server/routes/api/subscriptions/subscriptions.ts exhibits a broken authorization pattern. When both collectionId and documentId are supplied in the request, the route handler authorizes ONLY the collection branch (line 125 if (collectionId)), while the downstream subscriptionCreator command at server/commands/subscriptionCreator.ts writes the subscription against the documentId (which was never validated). The result is a subscription record pinning the attacker's user to a victim document the attacker has no read access to, on any team in the instance. The schema (server/routes/api/subscriptions/schema.ts) only enforces "at least one of collectionId/documentId" via .refine() — it does NOT enforce mutual exclusivity, so passing both is a valid, schema-conforming request. This vulnerability is fixed in 1.7.1.