Docker Desktop before version 4.97.0 could write third-party API keys and OAuth access tokens in cleartext to local application logs and diagnostics bundles due to insufficient IPC payload redaction. An attacker with read access to these files could obtain the credentials. These OAuth tokens are not Docker account tokens. Docker Desktop 4.94.0 and 4.95.0 addressed the known logging paths, but logs containing credentials can remain after upgrading. Docker Desktop 4.97.0 fixes the issue and includes cleanup of existing host logs and crash dumps.
Exposure requires third-party credentials to have been written to local application logs or diagnostics bundles and an attacker with read access to those files.
Restrict access to existing local application logs and diagnostics bundles that may contain credentials, and revoke or rotate exposed credentials.
Upgrade to Docker Desktop 4.97.0 or later.