{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:civetweb_project:civetweb:1.16:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "1.16"
              },
              {
                "last_affected": "1.16"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "d7ba35bbb649209c66e582d5a0244ba988a15159"
            },
            {
              "last_affected": "d7ba35bbb649209c66e582d5a0244ba988a15159"
            }
          ],
          "repo": "https://github.com/civetweb/civetweb",
          "type": "GIT"
        }
      ],
      "versions": [
        "1.16"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "INCIBE",
    "cwe_ids": [
      "CWE-428"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5789.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "1.16"
          },
          {
            "last_affected": "1.16"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Vulnerability related to an unquoted search path in CivetWeb v1.16. This vulnerability allows a local attacker to execute arbitrary code with elevated privileges by placing a malicious executable in a directory that is scanned before the intended application path (C:\\Program Files\\CivetWeb\\CivetWeb.exe --), due to the absence of quotes in the service configuration.",
  "id": "CVE-2026-5789",
  "modified": "2026-07-08T05:38:24.743242746Z",
  "published": "2026-04-21T14:22:05.872Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5789.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5789"
    },
    {
      "type": "FIX",
      "url": "https://www.incibe.es/en/incibe-cert/notices/aviso/search-path-without-quotes-civetweb"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Search path without quotes in CivetWeb"
}