GitHub Advisoryadvisory · Go

GHSA-rcw7-pqfp-735x secrets-store-sync-controller discloses service account tokens in logs

MEDIUM Published 2025-09-05 Modified 2025-09-05 Official page ↗
Aliases
CVE-2025-7445
Ecosystem
Go
Packages
sigs.k8s.io/secrets-store-sync-controller
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-532
Reviewed
2025-09-05

Affected packages

• Go sigs.k8s.io/secrets-store-sync-controller: < 0.0.2 → fixed in 0.0.2

Description

Hello Kubernetes Community, A security issue was discovered in secrets-store-sync-controller where an actor with access to the controller logs could observe service account tokens. These tokens could then potentially be exchanged with external cloud providers to access secrets stored in cloud vault solutions. Tokens are only logged when there is a specific error marshaling the `parameters` sent to the providers. Am I vulnerable? To check if tokens are being logged, examine the manager container log: ```bash kubectl logs -l 'app.kubernetes.io/part-of=secrets-store-sync-controller' -c manager -f | grep --line-buffered "csi.storage.k8s.io/serviceAccount.tokens" ``` Affected Versions • secrets-store-sync-controller = v0.0.2 Detection Examine cloud provider logs for unexpected token exchanges, as well as unexpected access to cloud vault secrets. If you find evidence that this vulnerability has been exploited, please contact [email protected] Acknowledgements This vulnerability was reported by Reem Rotenberg and Kas Dekel from Microsoft.

Related

Alias · CVE (1)

  • CVE-2025-7445 Kubernetes secrets-store-sync-controller in versions before 0.0.2 discloses service account tokens in logs. vulnerability

Weakness · CWE (1)

  • CWE-532 Insertion of Sensitive Information into Log File weakness

References