{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3d457c412eb0c986b0c37d8903edae8bc9f9e246"
            }
          ],
          "repo": "https://github.com/osquery/osquery",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4r78-6hg6-33gg"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-122"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54000.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "5.23.1"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "osquery is a SQL powered operating system instrumentation, monitoring, and analytics framework. Prior to 5.23.1, on Windows, a local unprivileged attacker can cause a heap buffer out-of-bounds write if there is a query of the processes table targeting a maliciously crafted process, due to unchecked PEB string lengths in process command-line and current-directory reads. If exploited successfully, this could allow a potential local privilege escalation from standard user to SYSTEM. This issue is fixed in version 5.23.1.",
  "id": "CVE-2026-54000",
  "modified": "2026-07-16T03:30:53.521488878Z",
  "published": "2026-07-10T14:51:35.142Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/osquery/osquery/releases/tag/5.23.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54000.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/osquery/osquery/security/advisories/GHSA-4r78-6hg6-33gg"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-54000"
    },
    {
      "type": "FIX",
      "url": "https://github.com/osquery/osquery/commit/3d457c412eb0c986b0c37d8903edae8bc9f9e246"
    },
    {
      "type": "FIX",
      "url": "https://github.com/osquery/osquery/pull/8934"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "osquery: Heap buffer overflow in `getProcessCurrentDirectory()` via `processes` table (Windows)"
}