CVE-2025-23390
Fleet doesn’t validate a server’s certificate when connecting through SSH
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 known_hosts 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 known_hosts file, then Fleet will correctly check the authenticity of the presented certificate.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.3
Fleet doesn’t validate a server’s certificate when connecting through SSH
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 known_hosts 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 known_hosts file, then Fleet will correctly check the authenticity of the presented certificate.
- Record
CVE-2025-23390- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-295
- Updated
- 2026-11-02
EUVDEUVD-2025-211104
6.3
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 known_hosts 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 known_hosts file, then Fleet will correctly check the authenticity of the presented certificate.
- Record
EUVD-2025-211104- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-xgpc-q899-67p8
6.3
Fleet doesn’t validate a server’s certificate when connecting through SSH
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 known_hosts 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 known_hosts 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
known_hostsentries from the following locations, in decreasing order of priority:- Secret referenced in a
GitRepo’sclientSecretNamefield; - If no secret is referenced, in a
gitcredentialsecret located in theGitRepo’s namespace; - If that secret does not exist, in a (new)
known-hostsconfig map installed by Fleet, populated statically with public entries shared by a few git providers: Github, Gitlab, Bitbucket, Azure DevOps;
- Secret referenced in a
-
Git cloner: same as above.
-
fleet applycommand: same as above. The command reads entries from aFLEET_KNOWN_HOSTSenvironment 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 applywrites the contents ofFLEET_KNOWN_HOSTS, 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 known_hosts 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.
- Record
GHSA-xgpc-q899-67p8- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-295
- Updated
- 2026-11-02
NVD
6.3
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 known_hosts 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 known_hosts file, then Fleet will correctly check the authenticity of the presented certificate.
- Record
CVE-2025-23390- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-295
- Updated
- 2026-11-02
OSV
6.3
Fleet doesn’t validate a server’s certificate when connecting through SSH
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 known_hosts 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 known_hosts file, then Fleet will correctly check the authenticity of the presented certificate.
- Record
CVE-2025-23390- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVGHSA-xgpc-q899-67p8
6.3
Fleet doesn’t validate a server’s certificate when connecting through SSH
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 known_hosts 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 known_hosts 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
known_hostsentries from the following locations, in decreasing order of priority:- Secret referenced in a
GitRepo’sclientSecretNamefield; - If no secret is referenced, in a
gitcredentialsecret located in theGitRepo’s namespace; - If that secret does not exist, in a (new)
known-hostsconfig map installed by Fleet, populated statically with public entries shared by a few git providers: Github, Gitlab, Bitbucket, Azure DevOps;
- Secret referenced in a
-
Git cloner: same as above.
-
fleet applycommand: same as above. The command reads entries from aFLEET_KNOWN_HOSTSenvironment 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 applywrites the contents ofFLEET_KNOWN_HOSTS, 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 known_hosts 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.
- Record
GHSA-xgpc-q899-67p8- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Weakness
- CWE-295
- Updated
- 2026-11-02
OSVGO-2025-3649 No score
Fleet doesn’t validate a server’s certificate when connecting through SSH in github.com/rancher/fleet
Fleet doesn’t validate a server’s certificate when connecting through SSH in github.com/rancher/fleet
- Record
GO-2025-3649- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15059-1 No score
govulncheck-vulndb-0.0.20250506T153719-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250506T153719-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15059-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/rancher/fleetGo |
0.9.0-rc.1 up to 0.10.12 | 0.10.12 |
github.com/rancher/fleetGo |
0.11.0 up to 0.11.7 | 0.11.7 |
github.com/rancher/fleetGo |
0.12.0 up to 0.12.2 | 0.12.2 |
github.com/rancher/fleetGo |
0.9.0-rc.1 up to 0.10.12, 0.11.0 up to 0.11.7, 0.12.0 up to 0.12.2 | 0.10.120.11.70.12.2 |
govulncheck-vulndbopenSUSE:Tumbleweed |
before 0.0.20250506T153719-1.1 | 0.0.20250506T153719-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-23390 is a medium vulnerability (CVSS 6.3) in Fleetdm Fleet, published April 25, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.19%, the 8th percentile. Fixed in github.com/rancher/fleet 0.10.12.
References
bugzilla.suse.com/show_bug.cgi?id=CVE-2025-23390
github.com/rancher/fleet/security/advisories/GHSA-xgpc-q899-67p8
github.com/rancher/fleet/pull/3571
github.com/rancher/fleet/pull/3572
github.com/rancher/fleet/pull/3573
github.com/rancher/fleet/releases/tag/v0.10.12
Show 20 moreShow less
github.com/rancher/fleet/releases/tag/v0.11.7
github.com/rancher/fleet/releases/tag/v0.12.2
pkg.go.dev/vuln/GO-2025-3649
github.com/advisories/GHSA-xgpc-q899-67p8
github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23390.json
nvd.nist.gov/vuln/detail/CVE-2025-23390
github.com/rancher/fleet
lists.opensuse.org/archives/list/[email protected]/thread/HNV7O7SNYYY4AFS5HKAPLITKK3B57LE7
suse.com/security/cve/CVE-2019-11243
suse.com/security/cve/CVE-2023-32198
suse.com/security/cve/CVE-2024-22031
suse.com/security/cve/CVE-2025-23390
suse.com/security/cve/CVE-2025-32777
suse.com/security/cve/CVE-2025-3879
suse.com/security/cve/CVE-2025-4166
suse.com/security/cve/CVE-2025-4210
suse.com/security/cve/CVE-2025-46327
suse.com/security/cve/CVE-2025-46342
suse.com/security/cve/CVE-2025-46569
suse.com/security/cve/CVE-2025-46599