github.com/rancher/fleet

CVE-2025-23390

CVE-2025-23390 is a medium-severity security vulnerability in github.com/rancher/fleet (go), affecting versions >= 0.9.0-rc.1, < 0.10.12. It is fixed in 0.10.12, 0.11.7, 0.12.2.

Key facts
CVSS score
6.3
Medium
Attack vector
Network
Issuing authority
GitHub Advisory Database
Affected package
github.com/rancher/fleet
Fixed in
0.10.12, 0.11.7, 0.12.2
Disclosed
2025

Summary

Impact A vulnerability has been identified within Fleet where, by default, Fleet will automatically trust a remote server’s certificate when connecting through SSH if the certificate isn’t set in the knownhosts file. This could allow the execution of a man-in-the-middle (MitM) attack against Fleet. In case the server that is being connected to has a trusted entry in the knownhosts file, then Fleet will correctly check the authenticity of the presented certificate. Please consult the associated MITRE ATT&CK - Technique - Adversary-in-the-Middle for further information about this category of attack. Patches Patched versions include releases v0.10.12, v0.11.7 and v0.12.2. The fix involves some key areas with the following changes: Git latest commit fetcher sources knownhosts entries from the following locations, in decreasing order of priority: Secret referenced in a GitRepo’s clientSecretName field; If no secret is referenced, in a gitcredential secret located in the GitRepo’s namespace; If that secret does not exist, in a (new) known-hosts config map installed by Fleet, populated statically with public entries shared by a few git providers: Github, Gitlab, Bitbucket, Azure DevOps; Git cloner: same as above. fleet apply command: same as above. The command reads entries from a FLEETKNOWNHOSTS environment variable. That command is typically run within a container inside a job pod created by Fleet to update bundles from a new commit. However, users may also decide to run it locally, perhaps even with multiple concurrent executions of the command on the same machine. To cater for this, fleet apply writes the contents of FLEETKNOWNHOSTS, if any, to a temporary file with a random name, and deletes that file once bundles have been created. This reduces the risk of conflicts between concurrent runs. This happens regardless of the git repository URL (SSH or not), since a repository may reference artifacts to be retrieved using SSH anyway. Note about sourcing knownhosts entries: if entries are found in a supported source, whatever that source may be, then those entries will be used. For instance, if wrong entries, or an incomplete set of entries (e.g. only BitBucket entries for a GitRepo pointing to Github) are found in a secret referenced in a GitRepo’s clientSecretName field, they will still be used. This will lead to errors if strict host key checks are enabled, even if matching, correct entries are found in another source with lower priority, such as the known-hosts config map. Fleet will not use one source to complement the other. Note: Fleet v0.9 release line does not have the fix for this CVE. The fix for v0.9 was considered too complex and with the risk of introducing instabilities right before this version goes into end-of-life (EOL), as documented in SUSE’s Product Support Lifecycle page. Please see the section below for workarounds or consider upgrading to a newer and patched version of Rancher. Workarounds There are no workarounds for this issue. Users are recommended to upgrade, as soon as possible, to a version of Fleet that contains the fixes. References If you have any questions or comments about this advisory: Reach out to the SUSE Rancher Security team for security related inquiries. Open an issue in the Rancher repository. Verify with our support matrix and product support lifecycle.

Impact

Severity and exposure

CVE-2025-23390 has a CVSS score of 6.3 (Medium). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment.

A fixed version is available (0.10.12, 0.11.7, 0.12.2). Upgrading removes the vulnerable code path.

Affected versions

go

  • github.com/rancher/fleet (>= 0.9.0-rc.1, < 0.10.12)
  • github.com/rancher/fleet (>= 0.11.0, < 0.11.7)
  • github.com/rancher/fleet (>= 0.12.0, < 0.12.2)

Security releases

  • github.com/rancher/fleet → 0.10.12 (go)
  • github.com/rancher/fleet → 0.11.7 (go)
  • github.com/rancher/fleet → 0.12.2 (go)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's runtime-powered SCA identifies whether CVE-2025-23390 is reachable in your applications. Explore open-source security for your team.

See if CVE-2025-23390 is reachable in your applications. Get a demo

Already deployed Kodem? See CVE-2025-23390 in your environment

Remediation advice

Upgrade the following packages to resolve this vulnerability:

  • Upgrade github.com/rancher/fleet to 0.10.12 or later
  • Upgrade github.com/rancher/fleet to 0.11.7 or later
  • Upgrade github.com/rancher/fleet to 0.12.2 or later

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2025-23390

What is CVE-2025-23390?

CVE-2025-23390 is a medium-severity security vulnerability in github.com/rancher/fleet (go), affecting versions >= 0.9.0-rc.1, < 0.10.12. It is fixed in 0.10.12, 0.11.7, 0.12.2.

How severe is CVE-2025-23390?

CVE-2025-23390 has a CVSS score of 6.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.

Which versions of github.com/rancher/fleet are affected by CVE-2025-23390?

github.com/rancher/fleet (go) versions >= 0.9.0-rc.1, < 0.10.12 is affected.

Is there a fix for CVE-2025-23390?

Yes. CVE-2025-23390 is fixed in 0.10.12, 0.11.7, 0.12.2. Upgrade to this version or later.

Is CVE-2025-23390 exploitable, and should I be worried?

Whether CVE-2025-23390 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2025-23390 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2025-23390?
  • Upgrade github.com/rancher/fleet to 0.10.12 or later
  • Upgrade github.com/rancher/fleet to 0.11.7 or later
  • Upgrade github.com/rancher/fleet to 0.12.2 or later

Stop the waste.
Protect your environment with Kodem.