---
id: CVE-2026-85388
title: >-
  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
summary: >-
  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 …
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-89
published: '2026-09-03'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:18:59.270'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85388'
references:
  - url: 'https://github.com/Worklenz/worklenz'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Worklenz/worklenz/blob/v3.0.0/worklenz-backend/src/controllers/job-titles-controller.ts
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Worklenz/worklenz/blob/v3.0.0/worklenz-backend/src/controllers/worklenz-controller-base.ts
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Worklenz/worklenz/issues/395'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Worklenz/worklenz/security/advisories/GHSA-f2f8-2ppj-85pf
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/worklenz-through-3.0.0-sql-injection-via-the-sort-field-query-parameter
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Worklenz/worklenz/issues/395'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00477
epssPercentile: 0.38669
ingestedAt: '2026-09-08T21:11:12.291Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
