Twenty: Cross-workspace IDOR in AgentTurnResolver
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-639.
Summary
Twenty is an open-source CRM (customer relationship management) platform. Prior to 2.9.0, Twenty was vulnerable to a cross-workspace insecure direct object reference (IDOR) in the AI agent monitor's AgentTurnResolver, in packages/twenty-server/src/engine/metadata-modules/ai/ai-agent-monitor/reso lvers/agent-turn.resolver.ts. The agentTurns(agentId) query and the evaluateAgentTurn(turnId) mutation looked up rows by agentId or id only; although AgentTurnEntity has a workspaceId column, it was not included in the WHERE clause, and the class-level guards only checked that the caller was authenticated in some workspace rather than that the requested object belonged to it, with the same flaw present in agent-turn-grader.service.ts. As a result, any authenticated user with the AI settings flag, a workspace owner by default, could target any other workspace on the same instance given the victim's agentId or turnId: agentTurns returned the victim's full chat history including message parts such as raw chat text, tool calls, and tool outputs, while evaluateAgentTurn inserted an agentTurnEvaluation row with the victim's workspaceId and fed the victim's turn into the default LLM. The agentId and turnId are non-guessable UUIDs but are exposed in the URL of the settings page. This issue is fixed in version 2.9.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA twenty (twentyhq) Fixed in 2.9.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55583
More twentyhq vulnerabilities
- TI-2026-21368 An issue in Twenty CRM v1.15.0 and before allows a remote attacker to execute arbitrary… CVSS 3.1CRITICAL 9.8
- TI-2026-34280 Twenty: SQL Injection via the timeZone field CVSS 3.1CRITICAL 9.9
- TI-2026-51276 Twenty: SQL Injection in the `searchVector` Field Settings Allows Arbitrary PostgreSQL Execution CVSS 3.1CRITICAL 9.1
- TI-2026-32616 Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers) CVSS 3.1HIGH 8.7
- TI-2026-26316 twenty-server SSRF protection bypass via IPv4-mapped IPv6 address normalization CVSS 4.0HIGH 8.3
- TI-2024-18876 The CRM platform Twenty is vulnerable to stored cross site scripting via file upload in… CVSS 3.1HIGH 7.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences