Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-6993 EUVD-2026-25669GHSA-jj45-xvq5-rhh9GO-2026-5471

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

Published Apr 25, 2026 · Updated Apr 27, 2026 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
go-kratos kratos 2.9.0, 2.9.1, 2.9.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
SLES 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 SUSE-SU-2026:23227-1, SUSE-SU-2026:23216-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260727T201416-160000.1.1 openSUSE-SU-2026:21551-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/go-kratos/kratos/v2 <= 2.9.2 — GHSA-jj45-xvq5-rhh9
Go github.com/go-kratos/kratos/v2 all versions — GO-2026-5471

Advisories 3

References