Affected by GO-2026-4883
and 4 other vulnerabilities
GO-2026-4883 : Moby has an Off-by-one error in its plugin privilege validation in github.com/docker/docker
GO-2026-4887 : Moby has AuthZ plugin bypass when provided oversized request bodies in github.com/docker/docker
GO-2026-5617 : Docker: Race condition in docker cp allows bind mount redirection to host path in github.com/docker/docker
GO-2026-5668 : Docker: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap in github.com/docker/docker
GO-2026-5746 : Docker: `PUT /containers/{id}/archive` executes container binary on the host in github.com/docker/docker
Discover Packages
github.com/docker/docker
pkg
longpath
package
Version:
v28.4.0-rc.1+incompatible
Opens a new window with list of versions in this module.
Published: Aug 29, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 359
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package longpath introduces some constants and helper functions for handling
long paths in Windows.
Long paths are expected to be prepended with "\\?\" and followed by either a
drive letter, a UNC server\share, or a volume identifier.
AddPrefix adds the Windows long path prefix to the path provided if
it does not already have it.
MkdirTemp is the equivalent of os.MkdirTemp , except that on Windows
the result is in Windows longpath format. On Unix systems it is
equivalent to os.MkdirTemp .
Source Files
¶
Click to show internal directories.
Click to hide internal directories.