GO-2026-5668

    Dashboard / Vulnerabilities / GO-2026-5668

    GO-2026-5668

    Published: 25 Jun 2026Last Modified: 11 Aug 2026

    Summary: Race condition in 'docker cp' in github.com/docker/docker allows creation of arbitrary files

    Details: A race condition in the Docker daemon allows an attacker to create arbitrary empty files on the host system during a "docker cp" operation by swapping a destination path with a symbolic link. The affected code is in the daemon package, specifically the openContainerFS and createIfNotExists methods. This is daemon-owned, Linux-specific code and is not intended for external use as a Go library.

    Affected packages

    Package

    Name: github.com/docker/docker

    Purl: pkg:golang/github.com/docker/docker

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High