Skip to content

CVE-2026-46499 Read-only session enforcement bypass allows document modification within a live session

Moderate
caolanm published GHSA-27j2-3cqv-cc5q Jun 24, 2026

Package

Collabora Online

Affected versions

< 25.04.11
< 24.04.18

Patched versions

25.04.11
24.04.18

Description

Description

Collabora Online delegates document operations to the engine (LibreOfficeKit) running in a per-document kit process. When a session is marked read-only (e.g. a viewer-role WOPI user), the engine is expected to refuse operations that mutate the document. Several code paths did not check the read-only state, allowing a user in a read-only session to send crafted WebSocket messages that execute document-mutating UNO commands.

Details

In RO-mode the UI presented is typically one that only offers RO operations, but that is not part of the security apparatus and can be toggled to RW-mode by an adept user. It is the server-side that is intended to enforce the RO rules, but for some commands and dialog operations those were not enforced when the client attempted to perform edit operations.

Impact

A read-only user cannot save the document. Changes made by exploiting this issue exist only in the live kit process instance and are discarded when the session ends. The practical risk is limited to two scenarios:

  • Misleading co-viewers - other users viewing the document in the same session would see the modifications
  • Piggybacking on an editing session - If the user with editing permission was joined by a user with view-only permission the view-only user could make some modifications which the editor could save without realizing changes had been introduced.

This is a server-side authorization failure: the server trusts client-supplied or client-influenced permission data rather than enforcing access control independently.

Fixes

  1. General ReadOnly guards were added to dialog interactions.
  2. Various UNO commands were reclassified as unavailable server-side for RO views.

Credits

Thanks to Gopal Singh Raigoni for discovering and reporting this vulnerability.

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

CVE ID

CVE-2026-46499

Weaknesses

Incorrect Authorization

The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. Learn more on MITRE.

Credits