{"answers":{"affected":"3 open source packages ship an affected version, including vitess.io/vitess. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27965 exists.","fix":"Upgrade vitess.io/vitess to a fixed version for your release line: 0.22.4 or 0.23.3.","what":"CVE-2026-27965 is a high-severity command injection vulnerability in vitessio vitess, published on 26 Feb 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-27965 and fix it if it is affected.\n\nWhat it is: CVE-2026-27965 is a high-severity command injection vulnerability in vitessio vitess, published on 26 Feb 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27965 exists.\n\nAffected packages and fixed versions:\n- vitess.io/vitess (Go): affected all versions; fixed in 0.22.4, 0.23.3\n- vitess.io/vitess (Go): affected all versions up to 0.23.2; no fix listed\n- vitess.io/vitess (Go): affected all versions up to 0.23.2; no fix listed\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-27965/ (Markdown: https://insights.sbomify.com/CVE-2026-27965/index.md)","id":"CVE-2026-27965","markdown":"https://insights.sbomify.com/CVE-2026-27965/index.md","name":"CVE-2026-27965","record":{"aliases":["AZL-78356","AZL-78593","GHSA-8g8j-r87h-p36x","GO-2026-4567"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"MySQL clustering system","requires_auth":"high_privilege","summary":"Attackers with backup storage access can inject commands into manifest files to execute arbitrary code and gain unauthorized access to production environments.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"vitess","vendor":"linuxfoundation"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Vitess is a database clustering system for horizontal scaling of MySQL. Prior to versions 23.0.3 and 22.0.4, anyone with read/write access to the backup storage location (e.g. an S3 bucket) can manipulate backup manifest files so that arbitrary code is later executed when that backup is restored. This can be used to provide that attacker with unintended/unauthorized access to the production deployment environment — allowing them to access information available in that environment as well as run any additional arbitrary commands there. Versions 23.0.3 and 22.0.4 contain a patch. Some workarounds are available. Those who intended to use an external decompressor then can always specify that decompressor command in the `--external-decompressor` flag value for `vttablet` and `vtbackup`. That then overrides any value specified in the manifest file. Those who did not intend to use an external decompressor, nor an internal one, can specify a value such as `cat` or `tee` in the `--external-decompressor` flag value for `vttablet` and `vtbackup` to ensure that a harmless command is always used.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Vitess users with backup storage access can gain unauthorized access to production deployment environments","id":"CVE-2026-27965","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Langflow has Remote Code Execution in CSV Agent","id":"CVE-2026-27966"},"packages":[{"ecosystem":"Go","fixed":["0.22.4","0.23.3"],"introduced":["0","0.23.0"],"last_affected":[],"package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"GO-2026-4567"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.23.2"],"package":"vitess.io/vitess","purl":null,"source":"GHSA-8g8j-r87h-p36x"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["0.23.2"],"package":"vitess.io/vitess","purl":"pkg:golang/vitess.io/vitess","source":"GHSA-8g8j-r87h-p36x"}],"prev":{"headline":"FacturaScripts: Reflected Cross-Site Scripting (XSS) via Cookie Manipulation","id":"CVE-2026-27964"},"products":["vitess"],"published":"2026-02-26","related":[{"cvss_score":9.8,"headline":"Vitess vttablet /twopcz reflected XSS","id":"CVE-2026-104252","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":9.3,"headline":"Vitess users with backup storage access can write to arbitrary file paths on restore","id":"CVE-2026-27969","kev_date_added":null,"published":"2026-02-26"},{"cvss_score":4.1,"headline":"Vitess VTAdmin users that can create shards can deny access to other functions","id":"CVE-2023-29195","kev_date_added":null,"published":"2023-05-11"},{"cvss_score":4.1,"headline":"vitess allows users to create keyspaces that can deny access to already existing keyspaces","id":"CVE-2023-29194","kev_date_added":null,"published":"2023-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-02-26","vendors":["vitessio"]},"summary":"Attackers with backup storage access can inject commands into manifest files to execute arbitrary code and gain unauthorized access to production environments.","url":"https://insights.sbomify.com/CVE-2026-27965/"}