{"answers":{"affected":"3 open source packages ship an affected version, including github.com/go-kratos/kratos/v2.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6993 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-6993 is a medium-severity vulnerability in go-kratos kratos, published on 25 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-6993 and fix it if it is affected.\n\nWhat it is: CVE-2026-6993 is a medium-severity vulnerability in go-kratos kratos, published on 25 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-6993 exists.\n\nAffected packages and fixed versions:\n- github.com/go-kratos/kratos/v2 (Go): affected all versions; no fix listed\n- github.com/go-kratos/kratos/v2 (Go): affected all versions up to 2.9.2; no fix listed\n- github.com/go-kratos/kratos/v2 (Go): affected all versions up to 2.9.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-6993/ (Markdown: https://insights.sbomify.com/CVE-2026-6993/index.md)","id":"CVE-2026-6993","markdown":"https://insights.sbomify.com/CVE-2026-6993/index.md","name":"CVE-2026-6993","record":{"aliases":["GHSA-jj45-xvq5-rhh9","GO-2026-5471"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go web framework","requires_auth":"none","summary":"A confused deputy vulnerability in go-kratos allows remote attackers to bypass intended security controls via the HTTP server fallback handler.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-441","name":"Unintended Proxy or Intermediary"}],"description":"A security flaw has been discovered in go-kratos kratos up to 2.9.2. This impacts the function NewServer of the file transport/http/server.go of the component http.DefaultServeMux Fallback Handler. The manipulation results in unintended intermediary. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks. The patch is identified as 0284a5bcf92b5a7ee015300ce3051baf7ae4718d. Applying a patch is advised to resolve this issue.","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":"go-kratos http.DefaultServeMux Fallback server.go NewServer confused deputy","id":"CVE-2026-6993","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"other","year":"2026"},"n_packages":3,"n_references":7,"next":{"headline":"Envoy Query Parameter header_mutation.cc params.add injection","id":"CVE-2026-6994"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/go-kratos/kratos/v2","purl":"pkg:golang/github.com/go-kratos/kratos/v2","source":"GO-2026-5471"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.9.2"],"package":"github.com/go-kratos/kratos/v2","purl":null,"source":"GHSA-jj45-xvq5-rhh9"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.9.2"],"package":"github.com/go-kratos/kratos/v2","purl":"pkg:golang/github.com/go-kratos/kratos/v2","source":"GHSA-jj45-xvq5-rhh9"}],"prev":{"headline":"Linksys MR9600 JNAP Action run_central2.sh BTRequestGetSmartConnectStatus os command injection","id":"CVE-2026-6992"},"products":["kratos"],"published":"2026-04-25","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-27","vendors":["go-kratos"]},"summary":"A confused deputy vulnerability in go-kratos allows remote attackers to bypass intended security controls via the HTTP server fallback handler.","url":"https://insights.sbomify.com/CVE-2026-6993/"}