{"id":"CVE-2026-85388","summary":"Worklenz through 3.0.0 SQL Injection via the sort-field Query Parameter","details":"Worklenz through 3.0.0 fails to properly validate the sort-field query parameter in pagination helper functions, allowing authenticated users to inject arbitrary PostgreSQL expressions into ORDER BY clauses. Attackers can use time-based and boolean-based blind SQL injection techniques to extract sensitive database content including password hashes from other tenants. This is an incomplete fix for CVE-2026-25947.","aliases":["CVE-2026-25947","GHSA-f2f8-2ppj-85pf"],"modified":"2026-09-05T03:48:29.726245869Z","published":"2026-09-03T18:54:22.561Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85388.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85388.json"},{"type":"ADVISORY","url":"https://github.com/Worklenz/worklenz/security/advisories/GHSA-f2f8-2ppj-85pf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85388"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/worklenz-through-3.0.0-sql-injection-via-the-sort-field-query-parameter"},{"type":"REPORT","url":"https://github.com/Worklenz/worklenz/issues/395"},{"type":"PACKAGE","url":"https://github.com/Worklenz/worklenz"},{"type":"ARTICLE","url":"https://github.com/Worklenz/worklenz/blob/v3.0.0/worklenz-backend/src/controllers/job-titles-controller.ts"},{"type":"ARTICLE","url":"https://github.com/Worklenz/worklenz/blob/v3.0.0/worklenz-backend/src/controllers/worklenz-controller-base.ts"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/worklenz/worklenz","events":[{"introduced":"0"},{"fixed":"cd9c4e0a1e74252e7f2cf99825741ad9792c6250"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"3.0.0"},{"fixed":"3.0.0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v2.1.7","v2.1.6","v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.0.3","v2.0.2","v2.0.1","v2.0.0","angular-version-legacy","v1.0.1","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85388.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}