{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46624 exists.","fix":"No fix has been published for CVE-2026-46624 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-46624 is a critical SQL injection vulnerability in twentyhq twenty, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46624 and fix it if it is affected.\n\nWhat it is: CVE-2026-46624 is a critical SQL injection vulnerability in twentyhq twenty, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46624 exists.\n\nAffected product: twentyhq twenty. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-46624/ (Markdown: https://insights.sbomify.com/CVE-2026-46624/index.md)","id":"CVE-2026-46624","markdown":"https://insights.sbomify.com/CVE-2026-46624/index.md","name":"CVE-2026-46624","record":{"aliases":["GHSA-jgx4-6mr9-9573"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Twenty CRM","requires_auth":"low_privilege","summary":"Authenticated users can execute arbitrary OS commands via SQL injection in the timeZone field if the database user has superuser privileges.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"twenty","vendor":"twenty"}],"cvss":{"score":9.9,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Twenty is an open source CRM. From 1.7.7 through 1.16.7, a critical Remote Code Execution (RCE) vulnerability exists in Twenty CRM via a chained SQL Injection and PostgreSQL COPY TO PROGRAM attack. If Postgres user is a super user then any authenticated user can execute arbitrary OS commands on the database server by injecting SQL through the unsanitized timeZone parameter in the REST API groupBy endpoint. The timeZone field within the group_by query parameter is directly interpolated into a raw SQL expression using JavaScript template literals without any parameterization, validation, or escaping. This affects engine/api/graphql/graphql-query-runner/group-by/resolvers/utils/get-group-by-expression.util.ts.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Twenty: SQL Injection via the timeZone field","id":"CVE-2026-46624","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"JavaScript Cookie: Per-instance prototype hijack in assign() enables cookie-attribute injection","id":"CVE-2026-46625"},"packages":[],"prev":{"headline":"OpenAM Account Takeover via Unverified Password Change in OAuth2 Module","id":"CVE-2026-46623"},"products":["twenty"],"published":"2026-05-26","related":[{"cvss_score":9.8,"headline":"Code injection in n/a","id":"CVE-2026-26720","kev_date_added":null,"published":"2026-03-02"},{"cvss_score":8.7,"headline":"Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers)","id":"CVE-2026-44729","kev_date_added":null,"published":"2026-05-26"},{"cvss_score":7.6,"headline":"Cross-site scripting in n/a","id":"CVE-2024-28434","kev_date_added":null,"published":"2024-03-25"},{"cvss_score":5.4,"headline":"Server-side request forgery in n/a","id":"CVE-2024-28435","kev_date_added":null,"published":"2024-03-25"},{"cvss_score":5,"headline":"Twenty: SSRF protection bypass via HTTP redirect following in secure HTTP client","id":"CVE-2026-27023","kev_date_added":null,"published":"2026-03-05"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-26","vendors":["twentyhq"]},"summary":"Authenticated users can execute arbitrary OS commands via SQL injection in the timeZone field if the database user has superuser privileges.","url":"https://insights.sbomify.com/CVE-2026-46624/"}