Skip to content
Medium

Existing collaboration connection remains writable after document archive or deletion

GHSA-65xg-84g9-7hrm First seen on SecPulse

Summary

Existing collaboration connection remains writable after document archive or deletion

Summary

Outline authorizes a collaboration WebSocket when it is established and relies on CollaborationAuthorizationProcessor to close connections when authorization may have changed. The processor does...

Affected packages

PackageAffected → Fixed
otherOutline
< 1.11.0→ 1.11.0
Original description The description as published by the source.

Existing collaboration connection remains writable after document archive or deletion

Summary

Outline authorizes a collaboration WebSocket when it is established and relies on CollaborationAuthorizationProcessor to close connections when authorization may have changed. The processor does not subscribe to documents.archive, documents.delete, or documents.permanent_delete events.

A user who had edit access and an open collaboration connection can retain that connection after another authorized user archives or deletes the document. A modified client can continue sending collaborative updates even though a fresh connection would no longer be writable. For a soft-deleted document, documentCollaborativeUpdater loads the row with paranoid: false and persists the new content; the change remains when the document is restored.

Affected versions

Reproduced on Outline v1.10.1, commit 4a5a616a21be800257dc11cef4263d0dd0412156. Current main at 2f57a36d50f78a34adb77009d7499b8c556838db had the same omitted events by source inspection on 2026-09-19.

Root cause and impact

server/collaboration/AuthenticationExtension.ts checks access once in onAuthenticate and requires invalidation when access changes. server/queues/processors/CollaborationAuthorizationProcessor.ts handles other access-changing events but omits the three document lifecycle events. The regular WebsocketsProcessor sends lifecycle notifications to application clients, but does not close the collaboration connecti…

Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details