GO-2026-6938

Source
https://pkg.go.dev/vuln/GO-2026-6938
Import Source
https://vuln.go.dev/ID/GO-2026-6938.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6938
Aliases
Published
2026-11-23T20:02:25Z
Modified
2026-11-23T20:30:11Z
Summary
LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image in github.com/canonical/lxd
Details

LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image in github.com/canonical/lxd

Database specific
{
    "review_status":  "REVIEWED",
    "url":  "https://pkg.go.dev/vuln/GO-2026-6938"
}
References

Affected packages

Go / github.com/canonical/lxd

Package

Name
github.com/canonical/lxd
View open source insights on deps.dev
Purl
pkg:golang/github.com/canonical/lxd

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20260630083100-c5184be310b1

Ecosystem specific

{
    "imports":  [
        {
            "path":  "github.com/canonical/lxd/lxd/instance/drivers",
            "symbols":  [
                "common.RootfsPath",
                "common.TemplatesPath",
                "lxc.Export",
                "lxc.FileExists",
                "lxc.FilePull",
                "lxc.FilePush",
                "lxc.FileRemove",
                "lxc.FileSFTPConn",
                "lxc.fileSFTPConnNoLock",
                "lxc.handleIdmappedStorage",
                "lxc.startCommon",
                "lxc.templateApplyNow",
                "lxc.unmount",
                "qemu.Export",
                "qemu.templateApplyNow"
            ]
        },
        {
            "path":  "github.com/canonical/lxd/lxd",
            "symbols":  [
                "imgPostInstanceInfo"
            ]
        },
        {
            "path":  "github.com/canonical/lxd/lxd/storage",
            "symbols":  [
                "lxdBackend.CreateInstanceFromCopy",
                "lxdBackend.CreateInstanceSnapshot",
                "lxdBackend.MigrateInstance",
                "lxdBackend.RefreshInstance"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6938.json"