{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-5789 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-5789 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-5789 is a high-severity vulnerability in CivetWeb, published on 21 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-5789 and fix it if it is affected.\n\nWhat it is: CVE-2026-5789 is a high-severity vulnerability in CivetWeb, published on 21 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-5789 in the wild and no public exploit code.\n\nAffected product: CivetWeb. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-5789/ (Markdown: https://insights.sbomify.com/CVE-2026-5789/index.md)","id":"CVE-2026-5789","markdown":"https://insights.sbomify.com/CVE-2026-5789/index.md","name":"CVE-2026-5789","record":{"aliases":["GHSA-9vxj-j2f7-9mgg","UBUNTU-CVE-2026-5789"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CivetWeb web server","requires_auth":"low_privilege","summary":"A local attacker can execute arbitrary code with elevated privileges by exploiting an unquoted search path in the CivetWeb service configuration.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"INCIBE","cpe":[{"product":"civetweb","vendor":"civetweb_project"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-428","name":"Unquoted Search Path or Element"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Search path without quotes in CivetWeb","id":"CVE-2026-5789","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Stored Cross-Site Scripting (XSS) vulnerability in Stel Order","id":"CVE-2026-5790"},"packages":[],"prev":{"headline":"Missing authorization in Endpoint Manager Mobile","id":"CVE-2026-5788"},"products":["CivetWeb"],"published":"2026-04-21","related":[{"cvss_score":9.8,"headline":"Path traversal in civetweb","id":"CVE-2020-27304","kev_date_added":null,"published":"2021-10-21"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2025-55763","kev_date_added":null,"published":"2025-08-29"},{"cvss_score":7.1,"headline":"Information disclosure in n/a","id":"CVE-2018-12684","kev_date_added":null,"published":"2018-06-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-21","vendors":["CivetWeb"]},"summary":"A local attacker can execute arbitrary code with elevated privileges by exploiting an unquoted search path in the CivetWeb service configuration.","url":"https://insights.sbomify.com/CVE-2026-5789/"}