CVE-2026-55583
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2026-55583",
"sourceIdentifier": "[email protected]",
"published": "2026-06-24T20:16:33.100",
"lastModified": "2026-10-25T22:10:00.150",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Twenty es una plataforma CRM (gestión de relaciones con clientes) de código abierto. Antes de la versión 2.9.0, Twenty era vulnerable a una referencia directa insegura a objetos (IDOR) entre espacios de trabajo en el AgentTurnResolver del monitor de agentes de IA, en packages/twenty-servidor/src/engine/metadata-modules/ai/ai-agent-monitor/reso lvers/agent-turn.resolver.ts. La consulta agentTurns(agentId) y la mutación evaluateAgentTurn(turnId) buscaban filas solo por agentId o id; aunque AgentTurnEntity tiene una columna workspaceId, no se incluyó en la cláusula WHERE, y los guardias a nivel de clase solo verificaban que el llamador estuviera autenticado en algún espacio de trabajo en lugar de que el objeto solicitado le perteneciera, con el mismo fallo presente en agent-turn-grader.service.ts. Como resultado, cualquier usuario autenticado con la bandera de configuración de IA, un propietario de espacio de trabajo por defecto, podría atacar cualquier otro espacio de trabajo en la misma instancia dado el agentId o turnId de la víctima: agentTurns devolvía el historial de chat completo de la víctima, incluyendo partes del mensaje como texto de chat sin procesar, llamadas a herramientas y salidas de herramientas, mientras que evaluateAgentTurn insertaba una fila agentTurnEvaluation con el workspaceId de la víctima y alimentaba el turno de la víctima al LLM predeterminado. El agentId y el turnId son UUIDs no adivinables pero están expuestos en la URL de la página de configuración. Este problema se solucionó en la versión 2.9.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "twentyhq",
"product": "twenty",
"versions": [
{
"version": "< 2.9.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N",
"baseScore": 7.6,
"baseSeverity": "HIGH",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.3,
"impactScore": 4.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-06-25T16:02:15.740177Z",
"id": "CVE-2026-55583",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-639"
}
]
}
],
"references": [
{
"url": "https://github.com/twentyhq/twenty/security/advisories/GHSA-v39r-w5vg-j9pp",
"source": "[email protected]"
},
{
"url": "https://github.com/twentyhq/twenty/security/advisories/GHSA-v39r-w5vg-j9pp",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}