Revoked Collaborators Retain Read/Write Access Through Existing Collaboration WebSocket Sessions
Summary
Summary
A revoked collaborator can continue reading and modifying a document through an already-established realtime collaboration WebSocket session.
Authorization is correctly enforced when a collaboration session is initially established and after reconnection. However, authorization chang...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| otherOutline |
< 1.10.0→ 1.10.0 |
1.10.0 |
Original description The description as published by the source.
Summary
A revoked collaborator can continue reading and modifying a document through an already-established realtime collaboration WebSocket session.
Authorization is correctly enforced when a collaboration session is initially established and after reconnection. However, authorization changes are not enforced for active collaboration sessions.
As a result, a user who loses access to a document can continue receiving live document updates and continue modifying document content until the collaboration session reconnects or is otherwise terminated.
Severity
Medium
Affected Components
- server/collaboration/AuthenticationExtension.ts
- server/collaboration/PersistenceExtension.ts
- server/collaboration/documentCollaborativeUpdater.ts
- server/processors/WebsocketsProcessor.ts
Technical Details
AuthenticationExtension performs authorization checks during collaboration session establishment.
The connection's write permissions are cached through:
connection.readOnly
This value is calculated during authentication and is not recomputed during the lifetime of the collaboration session.
The collaboration implementation does not implement:
- beforeHandleMessage authorization revalidation
- permission refresh after membership changes
- collaboration-session invalidation on permission revocation
Permission removal events trigger realtime notifications but do not terminate active collaboration sessions.
Steps To Reproduce
- Create a private document.
- Grant U…
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY outline/outline