CVE-2026-133658

Flowintel Matrix Relay Authorization Bypass Allows Privilege Escalation and Bot Impersonation

Published Nov 20, 2026 CVSS 4.0 · 6.3 Medium EPSS n/a KEV · Not listed
Description
Flowintel contains a privilege escalation vulnerability in its Matrix relay (bot) integration. When the relay forwarded API requests on behalf of a represented user, the authorization and permission checks evaluated the relay bot's elevated role while the request handlers acted as the lower-privileged represented user. This mismatch allowed users with restricted roles (e.g., Read Only) to perform write operations, directory lookups, calendar modifications, assignment changes, template creation, and import actions they were not authorized to perform.

Additionally, relay authority was determined by matching editable user profile fields (name and email) rather than a protected, non-spoofable identifier. An ordinary user who modified their profile to match the expected bot name could be recognized as the trusted relay, enabling impersonation of the bot and potential access to its elevated privileges.

Preconditions:
- A valid Flowintel user account with a restricted role (e.g., Read Only)
- Access to the Matrix relay integration or the ability to send API requests with the relay's API key and a MATRIX-ID header
- For the impersonation vector: ability to edit one's own profile name fields

Security impact:
- Unauthorized write operations by users with read-only or otherwise restricted permissions
- Potential impersonation of the trusted relay bot by ordinary users
- Bypass of organization-level access controls and role-based restrictions
- Unauthorized modification of cases, tasks, calendar events, templates, and user directory entries

Affected versions: Flowintel prior to 4.1.0

Remediation

Vendor Solution

The fix introduces a protected, non-editable is_bot database marker to identify trusted relay accounts, replacing the previous reliance on editable name and email fields. The user resolution function now returns the same principal for both authentication/permission checks and request handlers, ensuring that a represented user's actual role governs all operations. Relay requests without a valid MATRIX-ID, bot-to-bot requests, and ordinary API keys carrying a MATRIX-ID header are all refused. New bot accounts are assigned the Read Only role instead of Admin. Only administrators can edit or delete registered bot accounts, preventing OrgAdmins from resetting bot credentials. An operator script (bin/register_matrix_bot.py) provides explicit, ID-based bot registration without relying on profile fields.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description Flowintel contains a privilege escalation vulnerability in its Matrix relay (bot) integration. When the relay forwarded API requests on behalf of a represented user, the authorization and permission checks evaluated the relay bot's elevated role while the request handlers acted as the lower-privileged represented user. This mismatch allowed users with restricted roles (e.g., Read Only) to perform write operations, directory lookups, calendar modifications, assignment changes, template creation, and import actions they were not authorized to perform. Additionally, relay authority was determined by matching editable user profile fields (name and email) rather than a protected, non-spoofable identifier. An ordinary user who modified their profile to match the expected bot name could be recognized as the trusted relay, enabling impersonation of the bot and potential access to its elevated privileges. Preconditions: - A valid Flowintel user account with a restricted role (e.g., Read Only) - Access to the Matrix relay integration or the ability to send API requests with the relay's API key and a MATRIX-ID header - For the impersonation vector: ability to edit one's own profile name fields Security impact: - Unauthorized write operations by users with read-only or otherwise restricted permissions - Potential impersonation of the trusted relay bot by ordinary users - Bypass of organization-level access controls and role-based restrictions - Unauthorized modification of cases, tasks, calendar events, templates, and user directory entries Affected versions: Flowintel prior to 4.1.0
Title Flowintel Matrix Relay Authorization Bypass Allows Privilege Escalation and Bot Impersonation
First Time appeared Flowintel
Flowintel flowintel
Weaknesses CWE-285
CWE-287
CPEs cpe:2.3:a:flowintel:flowintel:*:*:*:*:*:*:*:*
Vendors & Products Flowintel
Flowintel flowintel
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
CIRCL
Published
Updated
Nov 20, 2026, 10:55 AM
Reserved
Nov 20, 2026, 10:55 AM
Status
Received
Published
Nov 20, 2026, 11:18 AM
Modified
Nov 20, 2026, 11:18 AM