Insertion of Sensitive Information into Log File Affecting github.com/rancher/rancher/pkg/auth/audit package, versions <2.13.0-alpha3


Severity

Recommended
0.0
medium
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 Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMRANCHERRANCHERPKGAUTHAUDIT-13720742
  • published26 Oct 2025
  • disclosed24 Oct 2025
  • creditUnknown

Introduced: 24 Oct 2025

NewCVE-2024-58269  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade github.com/rancher/rancher/pkg/auth/audit to version 2.13.0-alpha3 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the audit log storage. An attacker can obtain sensitive information, such as secret values, cluster import URLs, and registration tokens, by accessing unredacted audit logs.

Note: This is only exploitable if the attacker has access to the audit log storage.

Workaround

This vulnerability can be mitigated by creating custom AuditPolicies to redact and filter sensitive requests, and by restricting access to audit logs to trusted users.

CVSS Base Scores

version 4.0
version 3.1