CVE-2026-6993: Confused Deputy Issue in Go-Kratos Package

Summary

24/07/2026
No i
Moderate
5.3

CVE-2026-6993: Kratos has a Confused Deputy issue in github.com/go-kratos/kratos. Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Go-Kratos is a modern framework for building microservices in Go. It provides essential features such as transport, middleware, and service discovery, making it easier for developers to create scalable and maintainable applications. However, like any software, it can be vulnerable to security issues, including the Confused Deputy problem, which can lead to unauthorized access or actions.

Vulnerability Detail

The vulnerability identified as CVE-2026-6993 in the Go-Kratos package is a Confused Deputy issue. This type of vulnerability occurs when a program is tricked into misusing its authority, potentially allowing an attacker to perform unauthorized actions. In this case, the issue arises in the 'github.com/go-kratos/kratos/v2/transport/http' package, specifically in the 'Server.ServeHTTP' method. If exploited, this vulnerability could lead to significant security breaches, including unauthorized data access or manipulation.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Go-Kratos package to the latest patched version. You can do this by running the following command in your terminal: 'go get github.com/go-kratos/kratos/v2@latest'. This command fetches the latest version of the package, which includes the necessary security patches.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the package is not immediately feasible, consider implementing strict access controls and validating all incoming requests to mitigate the risk associated with this vulnerability. Additionally, you can monitor your application for unusual activity as a temporary measure.

Conclusion

The CVE-2026-6993 vulnerability in the Go-Kratos package presents a significant security risk due to its Confused Deputy nature. It is crucial for developers using this package to update to the latest version to protect their applications from potential exploitation. Additionally, implementing workarounds can help mitigate risks until an update can be applied.

See every vulnerability recorded for github.com/go-kratos/kratos/v2 →

Share this vulnerability

FAQ

A Confused Deputy issue occurs when a program mistakenly uses its privileges to perform actions that it should not be allowed to do, often due to being tricked by an attacker.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow attackers to gain unauthorized access to sensitive data or perform actions that compromise the integrity of your application.

Yes, a patched version of the Go-Kratos package is available. It is recommended to update to the latest version to mitigate the risk.

Implement strict access controls, validate incoming requests, and monitor your application for unusual activity as temporary measures until you can update.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Go-Kratos package to the latest patched version. You can do this by running the following command in your terminal: 'go get github.com/go-kratos/kratos/v2@latest'. This command fetches the latest version of the package, which includes the necessary security patches.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.