CyberRota Analysis
AI-GeneratedThe Twenty CRM platform is vulnerable due to improper handling of user-supplied input, allowing workspace administrators with the DATA_MODEL permission to execute arbitrary PostgreSQL statements via specific API endpoints. This critical vulnerability can lead to unauthorized access and manipulation of the database, posing significant risks to data integrity and confidentiality. Organizations using versions prior to 2.15.0 should prioritize immediate updates to mitigate potential exploitation.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Twenty is an open-source CRM (customer relationship management) platform. Prior to 2.15.0, Twenty allowed a workspace administrator with the DATA_MODEL permission to supply settings.asExpression for the system TS_VECTOR field searchVector through PATCH /rest/metadata/fields/:id or the updateOneField GraphQL mutation, causing buildSqlColumnDefinition in packages/twenty-server/src/engine/twenty-orm/workspace-schema-manager/utils/build-sql-column-definition.util.ts to concatenate unescaped input into GENERATED ALWAYS AS (...) and execute arbitrary PostgreSQL statements as the application database user. This issue is fixed in version 2.15.0.