Skip to content
Heist/ feed
Back to feed
Medium

go-kratos http.DefaultServeMux Fallback server.go NewServer confused deputy

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-6993
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:11 UTC · Revision 1

Source evidence

go-kratos http.DefaultServeMux Fallback server.go NewServer confused deputy

core-osv · Original source

Published 25 Apr 2026, 18:30 UTC

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.

osv:CVE-2026-6993
Complete source record
{
  "id": "72b4a8c1f760088c6b5066ee9e559f7368d0e45313ff9aad5a0f847381da9cd3",
  "url": "https://osv.dev/vulnerability/CVE-2026-6993",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "go-kratos http.DefaultServeMux Fallback server.go NewServer confused deputy",
    "summary": "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.",
    "evidence": "osv:CVE-2026-6993",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-6993",
      "aliases": [
        "CVE-2026-6993",
        "GHSA-jj45-xvq5-rhh9",
        "GO-2026-5471"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yanhu007/kratos",
              "type": "GIT",
              "events": [
                {
                  "introduced": "593b412234ec94f91e487c4d1636b2710c36c555"
                },
                {
                  "fixed": "0284a5bcf92b5a7ee015300ce3051baf7ae4718d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.9.0"
                      },
                      {
                        "last_affected": "2.9.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.9.1"
                      },
                      {
                        "last_affected": "2.9.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.9.2"
                      },
                      {
                        "last_affected": "2.9.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0284a5bcf92b5a7ee015300ce3051baf7ae4718d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.9.0",
            "2.9.1",
            "2.9.2",
            "v2.9.2",
            "v2.9.1",
            "v2.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6993.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.435494175Z",
      "provider": "osv",
      "references": [
        "https://github.com/go-kratos/kratos/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6993.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-6993",
        "https://vuldb.com/submit/797099",
        "https://vuldb.com/vuln/359545",
        "https://github.com/go-kratos/kratos/issues/3810",
        "https://vuldb.com/vuln/359545/cti",
        "https://github.com/Yanhu007/kratos/commit/0284a5bcf92b5a7ee015300ce3051baf7ae4718d",
        "https://github.com/go-kratos/kratos/pull/3814"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-441"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6993.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-6993",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496253,
  "published_at": "2026-04-25T18:30:16.16+00:00"
}