Insufficient Verification of Data Authenticity Affecting github.com/rancher/cli/cmd package, versions >=2.9.0 <2.9.12>=2.10.0 <2.10.10>=2.11.0 <2.11.6>=2.12.0 <2.12.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMRANCHERCLICMD-13053586
  • published26 Sept 2025
  • disclosed26 Sept 2025
  • creditUnknown

Introduced: 26 Sep 2025

NewCVE-2024-58267  (opens in a new tab)
CWE-345  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/cli/cmd to version 2.9.12, 2.10.10, 2.11.6, 2.12.2 or higher.

Overview

Affected versions of this package are vulnerable to Insufficient Verification of Data Authenticity via the SAML authentication component. An attacker can obtain authentication tokens belonging to another user by crafting a phishing login URL containing attacker-controlled publicKey and requestId parameters and tricking a victim into visiting the link and completing the login process. This is only exploitable if SAML authentication is enabled.

Workaround

This vulnerability can be mitigated by carefully verifying that the URL and requestId presented by the CLI match those shown in the browser during the SAML authentication flow. Users should not proceed with login if there is any discrepancy.

References

CVSS Base Scores

version 4.0
version 3.1