Docker Hub access token written in cleartext to Docker Desktop logs and diagnostics bundles

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-123082?

CVE-2026-123082 is a vulnerability classified as Insertion of Sensitive Information into Log File, affecting Docker Desktop (affected versions: 4.43.0 – < 4.94.0). This vulnerability is rated Medium, with a CVSS score of 5.7. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Docker Desktop before version 4.94.0 could write the signed-in user's Docker Hub access token (a JWT) in cleartext to application logs and diagnostics bundles. IPC payloads that were bare JSON strings or arrays were not redacted before logging, and a Docker Desktop component logged the token when it requested it from the backend. An attacker with read access to these files could obtain the token and use it to read and modify the user's Docker Hub data as that user while the token remains valid. Docker Desktop 4.94.0 redacts these payloads. The fix does not rewrite logs written by earlier versions, which can still contain tokens after upgrading.

Affected products and scope

Docker Desktop releases from the first version that included this logging behaviour up to, but not including, the release that redacts these payloads. That is a wide span of releases, so most installations that have not been updated recently are in scope. Later releases are not affected by the logging flaw, but they do not clean up anything already written: a machine that has been upgraded can still hold tokens in log files and diagnostics bundles produced before the upgrade.

Technical details

The weakness is insertion of sensitive information into a log file (CWE-532). Docker Desktop uses IPC (inter-process communication, the channel its components use to talk to each other on the local machine) to request the user's Docker Hub access token from the backend. One of those components logged the payload when the token was requested, and the log redaction step did not cover IPC payloads that were bare JSON strings or arrays, only structured objects. The token therefore went to application logs and to diagnostics bundles in cleartext. The affected range begins at the first release that shipped this logging behaviour and ends before the release that redacts those payload shapes. Public detail beyond this is limited: the record does not name the component, the log file locations, or the exact payload shapes.

Exploitability

This is a local issue, not something reachable over the network. It requires read access to the application logs or diagnostics bundles on the affected machine, which the record treats as low privileges, and no user interaction. There is no public exploitation reported and the record does not list it as exploited in the wild. The realistic paths are another account on the same machine, a shared or synced log directory, or a bundles and logs collection process that moves the files somewhere with broader access.

Technical impact

An attacker who reads the logs or a diagnostics bundle gets the signed-in user's Docker Hub access token and, while it remains valid, the ability to read and modify that user's Docker Hub data as that user. The record scopes the technical impact to confidentiality, with no direct effect on the availability or integrity of the machine running Docker Desktop. What the token can actually reach depends on that account's permissions and on how long the token lives.

Business impact

Docker Hub accounts are often tied to an organisation's shared images and repositories, so a leaked token can expose private image contents, repository settings and account metadata, and can allow changes to them under the victim's identity until the token expires or is revoked. The people who should care are anyone running Docker Desktop on developer or build machines, and especially teams that collect diagnostics bundles and application logs centrally, ship them to a vendor for support, or hand them to third parties. Log files are usually readable by more people and systems than a credential store is, which widens the set of people who could end up holding a working token. Regulatory exposure follows from what is in the private images and repositories: source code, configuration and secrets baked into images, or customer data. Because the flaw is in logging rather than in authentication, nothing looks broken while it happens.

Remediation

Update Docker Desktop to the current release, which redacts these payload shapes. Treat that as only half the job: revoke or rotate the Docker Hub access token for any account that signed in to an affected installation, because the fix does not rewrite existing logs. Then find and delete old application logs and diagnostics bundles from affected machines and from anywhere they were copied to, including support tickets, shared drives and central log stores. If tokens cannot be revoked quickly, shorten their lifetime where the account allows it.

Detection

Search application log directories and any retained diagnostics bundles for JWT-shaped strings and for Docker Hub token material, including archives and copies that were shipped off the machine. Review which accounts and processes can read those paths, and who received bundles in the past. On the Docker Hub side, look for API activity that does not match the account owner's normal use, particularly reads of private repositories or permission changes, and correlate the timing against when bundles were shared. Query and access logs for the Docker Hub account are the place where a stolen token would show up as use.

Sources (6)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.