Docker Desktop 4.97.0: Patch the Log Token Leak and Clean Up

Docker Desktop 4.97.0 fixes CVE-2026-114409, a flaw that wrote third-party API keys and OAuth tokens to local logs in cleartext. Update first. Then delete old diagnostics bundles and log copies, because the update only cleans the logs and crash dumps on your own machine.

Written 2026-11-01. Facts come from Docker's security announcements, release notes and docs, plus the public CVE records, checked that day. I tested the token search pattern on fake sample files with ripgrep. I did not run the grep or PowerShell commands themselves, or the version and update commands, and I did not reproduce either flaw.

What changed in Docker Desktop 4.97.0

Docker shipped 4.97.0 on October 26, 2026, with fixes for two CVEs. The security announcement gives the same fix version for both.

CVEWhat goes wrongWho can use itScore
CVE-2026-114409API keys and OAuth tokens land in logs and diagnostics bundlesAnyone who can read those files5.7 Medium (CVSS 4.0)
CVE-2026-99999A container corrupts the VM's network stack through bad IPv4 checksum metadataCode inside a container9.3 Critical for the Linux kernel flaw (Red Hat draft: 8.8)

The second score belongs to the upstream kernel bug. Docker's announcement gives no separate score for Docker Desktop.

The token leak took more than one release to close. That history matters, because a recent version can still hold old secrets on disk.

DateReleaseWhat happened
Oct 54.94.0Stored API keys no longer written to logs and bundles
Oct 124.95.0Docker credits this release and 4.94.0 with fixing the known logging paths
Oct 264.97.0Full fix, plus cleanup of existing host logs and crash dumps
Oct 27CVE recordCVE-2026-114409 published
Docker Desktop 4.97.0 timeline card showing the token logging fix moving from 4.94.0 on October 5 to the full fix and log cleanup in 4.97.0 on October 26
How the token logging fix rolled out across three releases

Which tokens were exposed?

Docker says the OAuth tokens are not Docker account tokens. It does not name the affected services. The CVE-2026-114409 record calls them third-party API keys and OAuth access tokens, so treat any key you entered into Docker Desktop as a candidate. The MCP Toolkit is one feature that connects to outside services through OAuth, though Docker doesn't say it was the source.

This flaw concerns Docker Desktop's application logs. Your container logs are a separate system, which I covered in the Docker log rotation guide.

Is this being exploited?

I found no report of attacks. OpenCVE listed neither CVE in the CISA Known Exploited Vulnerabilities catalog on November 1. The token leak needs local read access, so the realistic risks are shared machines, backups and bundles sent to other people.

Check your Docker Desktop version

This command reads the version from the running engine:

docker version --format '{{.Server.Platform.Name}}'

The output should name Docker Desktop and a version number. If Docker Desktop won't start, ask the operating system instead:

defaults read /Applications/Docker.app/Contents/Info.plist CFBundleShortVersionString  # macOS
dpkg -s docker-desktop | grep '^Version'  # Debian or Ubuntu
rpm -q docker-desktop  # Fedora or other RPM systems

On Windows, look up Docker Desktop under Installed apps in Windows Settings.

The sources describe the affected range differently. Docker says "before 4.97.0", while the CVE record lists 4.39.0 up to 4.97.0. Use the table below either way, since older versions also miss the kernel fix.

Your versionUpdate toThen clean up?
4.93 or older4.97.0Yes, all steps below
4.94.0 to 4.96.x4.97.0Yes, old logs and bundles can still hold secrets
4.97.0 or newerStayYes, if you kept bundles or log copies from older versions
Docker Desktop 4.97.0 version check card showing that anything older must update and that 4.97.0 users still need to remove old bundles
Being on 4.97.0 does not remove copies made by older versions

Update to Docker Desktop 4.97.0

Quit tools that might call Docker before you start, as the Mac install guide advises. Then use the built-in updater if it's available:

docker desktop update --check-only
docker desktop update

The docker desktop update reference documents the --check-only and --quiet options. You can also use the update notice in the Docker menu or the Dashboard footer.

Update commands by platform

Homebrew listed the docker-desktop cask at 4.97.0 when I checked:

brew upgrade --cask docker-desktop

On Linux, download the new package from the 4.97.0 release notes each time, then run the command for your distribution:

sudo apt install ./docker-desktop-amd64.deb  # Debian or Ubuntu

sudo dnf remove docker-desktop  # Fedora: remove first, as Docker's guide says
sudo dnf install ./docker-desktop-x86_64.rpm

sudo pacman -U ./docker-desktop-x86_64.pkg.tar.zst  # Arch

On Windows, run the installer from the release notes. Per-user installs update without admin rights, and all-users installs need them.

A Windows default changed

New .EXE installs now use --user mode by default. That puts Docker Desktop in %LOCALAPPDATA%\Programs\DockerDesktop, and Windows containers aren't supported in that mode. If you script new machines and need the all-users install, check your script. Switching modes later means uninstalling and reinstalling.

Find Docker Desktop logs that still hold tokens

Docker Desktop 4.97.0 cleans existing host logs and crash dumps. It can't reach copies elsewhere, and Docker tells you to delete or sanitize any bundles and log copies created with 4.96.x or earlier.

Docker Desktop 4.97.0 cleanup card comparing what the update cleans, host logs and crash dumps, with what you must clean, bundles and log copies
The update handles the machine. Everything copied off it is your job.

Open Docker Desktop once on 4.97.0, then search what's left. The -l flag prints file names only, so secrets stay off your screen and out of your shell logs:

PATTERN='gh[opusr]_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{20,}|sk-[A-Za-z0-9_-]{20,}|xox[abprs]-[A-Za-z0-9-]{10,}|AIza[A-Za-z0-9_-]{30,}|Bearer [A-Za-z0-9._~+/=-]{20,}'

grep -rIlE --include='*.log*' "$PATTERN" ~/Library/Containers/com.docker.docker/Data/log  # macOS
grep -rIlE --include='*.log*' "$PATTERN" ~/.docker/desktop  # Linux

On Windows, use PowerShell:

$p = 'gh[opusr]_[A-Za-z0-9]{20,}|github_pat_[A-Za-z0-9_]{20,}|sk-[A-Za-z0-9_-]{20,}|xox[abprs]-[A-Za-z0-9-]{10,}|AIza[A-Za-z0-9_-]{30,}|Bearer [A-Za-z0-9._~+/=-]{20,}'
Get-ChildItem "$env:LOCALAPPDATA\Docker\log" -Recurse -File |
  Select-String -Pattern $p -List |
  Select-Object -ExpandProperty Path

Three limits apply:

  • The pattern covers common formats from GitHub, OpenAI-style keys, Slack and Google, plus bearer tokens. A clean result doesn't prove nothing leaked.
  • Docker doesn't publish the exact file that held the secrets. The macOS and Windows folders are the parents of the VM log path in the daemon logs guide.
  • The docs I checked give no Linux log path. I used ~/.docker/desktop because the uninstall guide names it as the Linux data folder.

If a file matches, quit Docker Desktop, delete that file and rotate the credential. Don't paste the file into a ticket or chat to ask about it.

Find old diagnostics bundles

The troubleshooting guide saves bundles as .zip files under /tmp on macOS and Linux, and under the user's Temp folder on Windows. List them and read the results before you delete anything, because other apps create zip files too:

find /tmp -type f -name '*.zip' 2>/dev/null
Get-ChildItem $env:TEMP -Recurse -Filter *.zip -ErrorAction SilentlyContinue |
  Where-Object Name -Match '^\d{14}\.zip$'

Then think about where copies went:

  • Your Downloads folder and shared drives
  • Support tickets and public GitHub issues
  • Machine backups and log shipping tools
  • CI artifacts, if you gather diagnostics in a pipeline

The Upload to get a Diagnostic ID option sends a bundle to Docker. The docs I checked don't explain how to delete an uploaded bundle. Ask Docker support if you have a subscription, and rotate the credentials either way.

Rotate the API keys and OAuth tokens that matter

Deleting a log doesn't undo the exposure. A key that someone already copied keeps working until you revoke it. Use this flow to decide.

Decision flow for Docker Desktop 4.97.0 cleanup, deciding when to rotate third-party API keys and OAuth tokens
Decide whether a credential needs rotating after the update
View PlantUML source
@startuml
skinparam shadowing false
skinparam defaultFontSize 14
start
:Update to 4.97.0;
:Search logs, list bundles;
if (Token found in a log?) then (yes)
  :Rotate it;
elseif (Bundle or logs shared?) then (yes)
  :Rotate every key used in Docker Desktop;
elseif (Others can read your files?) then (yes)
  :Rotate high-value keys;
else (no)
  :Delete old bundles;
endif
:Check provider audit logs;
stop
@enduml

The rotation order is the same for each service: create the new credential, update the tools that use it, revoke the old one, then read the provider's audit log for use you don't recognize.

CredentialWhere to revokeNote
GitHub personal token (ghp_, github_pat_)Developer settings on GitHubSet an expiry on the new one
GitHub OAuth token (gho_)Authorized apps in account settingsRevoking the app kills its tokens
MCP Toolkit OAuth serviceToolkit OAuth tab, RevokeThen authorize again
AI or other API keysThat provider's key consoleCheck usage and billing too
Docker Desktop 4.97.0 cleanup order card with five steps: update, search logs, delete bundles, rotate credentials, check audit logs
Run the steps in this order so a fresh key never lands in an old log

The same rotation habit applies after any developer tool incident. The Claude Code extension backdoor guide walks through a harsher case. Docker also shipped a separate trust fix in 4.96.2 and 4.96.3, explained in the eMudhra certificate guide, and moving to 4.97.0 puts you past those releases.

If the Docker Desktop update or cleanup fails

SymptomLikely causeFix
'desktop' is not a docker commandOld version or Docker Engine onlyUse the OS commands above. The CVE record lists Docker Desktop only
Update notice never appearsAutomatically check for updates is off, or your organization manages settingsCheck Software updates in Settings, or ask your admin
Operation not permitted on macOSTerminal can't read the container folderGrant Full Disk Access to the terminal app
apt reinstalls the old versionOld package file still in the folderDownload the 4.97.0 .deb again
Docker Desktop won't startUnknown, needs diagnosticsFollow the com.docker.diagnose steps in the troubleshooting guide. Its -upload flag sends the bundle to Docker
Docker Desktop 4.97.0 troubleshooting card listing four update and search failures and the fix for each
Failures you may hit while updating and searching

FAQ

Is my Docker Hub password or token in these logs?

Docker says the OAuth tokens in this flaw are not Docker account tokens. An earlier, separate flaw, CVE-2025-13743, did involve expired Docker Hub tokens in diagnostics. If you shared old bundles, rotating your Docker Hub token is a small job and removes the doubt.

I'm on 4.95.0. Do I still need the update?

Yes. Docker says logs containing credentials can remain after upgrading to 4.94.0 or 4.95.0. Only 4.97.0 adds the cleanup, and it also carries the kernel fix.

Does this affect Docker Engine on a Linux server?

The CVE-2026-114409 record lists Docker Desktop on Linux, macOS and Windows only. CVE-2026-99999 is a Linux kernel flaw, so patch server kernels through your distribution.

Do I need to rotate keys if nobody else uses my laptop?

It depends on where your logs went. If you never shared a bundle and your search finds nothing, deleting old bundles is a reasonable stopping point. Rotate anyway if a backup or sync tool copies your home folder to a place other people can read.

Can I keep using the diagnostics feature?

Yes. Docker lists the flaw as fixed in 4.97.0. Bundles still hold system details, so review what you're sending and share them only with the people who need them.

References

All checked 2026-11-01.

Leave a Comment