CVE-2025-46599: Github.com/k3s io/k3s CNCF K3s Kubernetes Kubelet Configuration Vulnerability
MODERATECVE-2025-46599 is a MODERATE (CVSS 6.8) cncf k3s kubernetes kubelet configuration vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting Github.com/k3s io/k3s libraries in the Go ecosystem. The issue involves cncf k3s kubernetes kubelet configuration exposes credentials. Remediation is available by upgrading affected packages to version 1.32.4-rc1.
CVE-2025-46599 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2025-46599
To remediate this vulnerability, upgrade all affected Github.com/k3s io/k3s dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/k3s-io/k3s to 1.32.4-rc1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/k3s-io/k3s
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-46599, inspect your project dependencies for Github.com/k3s io/k3s:
inspect dependencies for github.com/k3s-io/k3s
Analyze the terminal output to locate any version of Github.com/k3s io/k3s in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.32.4-rc1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In Github.com/k3s io/k3s, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-46599 Affected Github.com/k3s io/k3s Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/k3s-io/k3s
|
Go |
≥ 1.32.0-rc1
< 1.32.4-rc1
|
1.32.4-rc1
|
References
Frequently Asked Questions
What is CVE-2025-46599?
Which Github.com/k3s io/k3s versions are affected?
What version fixes CVE-2025-46599?
Is github.com/k3s-io/k3s affected?
What is the CVSS score of CVE-2025-46599?
What CWE is associated with CVE-2025-46599?
How can I check Go dependencies for CVE-2025-46599?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-864f-7xjm-2jp2",
"modified" : "2025-05-05T21:57:30Z",
"published" : "2025-04-25T06:30:56Z",
"aliases" : [ "CVE-2025-46599" ],
"summary" : "CNCF K3s Kubernetes kubelet configuration exposes credentials",
"details" : "CNCF K3s 1.32 before 1.32.4-rc1+k3s1 has a Kubernetes kubelet configuration change with the unintended consequence that, in some situations, ReadOnlyPort is set to 10255. For example, the default behavior of a K3s online installation might allow unauthenticated access to this port, exposing credentials.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/k3s-io/k3s"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.32.0-rc1"
}, {
"fixed" : "1.32.4-rc1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-46599"
}, {
"type" : "WEB",
"url" : "https://github.com/f1veT/BUG/issues/2"
}, {
"type" : "WEB",
"url" : "https://github.com/k3s-io/k3s/issues/12164"
}, {
"type" : "WEB",
"url" : "https://github.com/k3s-io/k3s/commit/097b63e588e3c844cdf9b967bcd0a69f4fc0aa0a"
}, {
"type" : "WEB",
"url" : "https://cloud.google.com/kubernetes-engine/docs/how-to/disable-kubelet-readonly-port"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/k3s-io/k3s"
}, {
"type" : "WEB",
"url" : "https://github.com/k3s-io/k3s/compare/v1.32.3+k3s1...v1.32.4-rc1+k3s1"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2025-3646"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1188" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-25T15:07:32Z",
"nvd_published_at" : "2025-04-25T05:15:33Z"
}
}