secrets-store-sync-controller discloses service account tokens in logs
Moderate severity
GitHub Reviewed
Published
Sep 4, 2025
in
kubernetes-sigs/secrets-store-sync-controller
•
Updated Sep 5, 2025
Package
Affected versions
< 0.0.2
Patched versions
0.0.2
Description
Published by the National Vulnerability Database
Sep 5, 2025
Published to the GitHub Advisory Database
Sep 5, 2025
Reviewed
Sep 5, 2025
Last updated
Sep 5, 2025
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:
Affected Versions
How do I mitigate this vulnerability?
Upgrade to secrets-store-sync-controller v0.0.2+
Fixed Versions
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.
References