{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.0.0"
              },
              {
                "fixed": "3.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "cd9c4e0a1e74252e7f2cf99825741ad9792c6250"
            }
          ],
          "repo": "https://github.com/worklenz/worklenz",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f2f8-2ppj-85pf"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-85388",
  "modified": "2026-09-05T03:30:20.511691413Z",
  "published": "2026-09-03T18:54:22.561Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Worklenz through 3.0.0 SQL Injection via the sort-field Query Parameter"
}