docker-buildx — security advisory
Buildx is a Docker CLI plugin that extends build capabilities using BuildKit. Cache backends support credentials by setting secrets directly as attribute values in cache-to/cache-from configuration. When supplied as user input, these secure values may be inadvertently captured in OpenTelemetry traces as part of the arguments and flags for the traced CLI command. OpenTelemetry traces are also saved in BuildKit daemon's history records. This vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.
- Products
- docker-buildx
- Affected versions
- 0.11.2-0ubuntu1~20.04.1, 0.11.2-0ubuntu1~20.04.2, 0.11.2-0ubuntu1~22.04.1, 0.11.2-0ubuntu1~22.04.2, 0.11.2-0ubuntu2, 0.12.1-0ubuntu1, 0.12.1-0ubuntu1~20.04.1, 0.12.1-0ubuntu1~20.04.2, 0.12.1-0ubuntu1~22.04.1, 0.12.1-0ubuntu1~22.04.2, 0.12.1-0ubuntu2, 0.12.1-0ubuntu2.1, 0.12.1-0ubuntu2.2, 0.14.1-0ubuntu1~20.04.1, 0.14.1-0ubuntu1~22.04.1, 0.14.1-0ubuntu1~24.04.1, 0.20.1-0ubuntu1, 0.20.1-0ubuntu1~22.04.1, 0.20.1-0ubuntu1~22.04.2, 0.20.1-0ubuntu1~24.04.1, 0.20.1-0ubuntu1~24.04.2, 0.21.3-0ubuntu1, 0.21.3-0ubuntu1~22.04.1, 0.21.3-0ubuntu1~24.04.1, 0.30.1-0ubuntu1, 0.30.1-0ubuntu1~22.04.1, 0.30.1-0ubuntu1~24.04.1, 0.30.1-0ubuntu1~25.10.1, 0.36.1-0ubuntu1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-0495
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:30 UTC · Revision 1
Source evidence
Buildx is a Docker CLI plugin that extends build capabilities using BuildKit. Cache backends support credentials by setting secrets directly as attribute values in cache-to/cache-from configuration. When supplied as user input, these secure values may be inadvertently captured in OpenTelemetry traces as part of the arguments and flags for the traced CLI command. OpenTelemetry traces are also saved in BuildKit daemon's history records. This vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.
osv:UBUNTU-CVE-2025-0495
docker-buildx
Fixed versions: Not specified
docker-buildx
Fixed versions: Not specified
docker-buildx
Fixed versions: Not specified
docker-buildx
Fixed versions: Not specified
docker-buildx
Fixed versions: Not specified
docker-buildx
Fixed versions: Not specified
Complete source record
{
"id": "115573890d693c959ff7fca8513896d1cb4d6a39383f32a21fa32e0061fb4b5b",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-0495",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-0495",
"summary": "Buildx is a Docker CLI plugin that extends build capabilities using BuildKit. Cache backends support credentials by setting secrets directly as attribute values in cache-to/cache-from configuration. When supplied as user input, these secure values may be inadvertently captured in OpenTelemetry traces as part of the arguments and flags for the traced CLI command. OpenTelemetry traces are also saved in BuildKit daemon's history records. This vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.",
"evidence": "osv:UBUNTU-CVE-2025-0495",
"products": [
{
"name": {
"value": "docker-buildx",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.11.2-0ubuntu1~20.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "0.11.2-0ubuntu1~20.04.2",
"evidence": "/affected/0/versions"
},
{
"value": "0.12.1-0ubuntu1~20.04.1",
"evidence": "/affected/0/versions"
},
{
"value": "0.12.1-0ubuntu1~20.04.2",
"evidence": "/affected/0/versions"
},
{
"value": "0.14.1-0ubuntu1~20.04.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "docker-buildx",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.11.2-0ubuntu1~22.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "0.11.2-0ubuntu1~22.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "0.12.1-0ubuntu1~22.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "0.12.1-0ubuntu1~22.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "0.14.1-0ubuntu1~22.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.1-0ubuntu1~22.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "0.20.1-0ubuntu1~22.04.2",
"evidence": "/affected/1/versions"
},
{
"value": "0.21.3-0ubuntu1~22.04.1",
"evidence": "/affected/1/versions"
},
{
"value": "0.30.1-0ubuntu1~22.04.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "docker-buildx",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.11.2-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "0.12.1-0ubuntu1",
"evidence": "/affected/2/versions"
},
{
"value": "0.12.1-0ubuntu2",
"evidence": "/affected/2/versions"
},
{
"value": "0.12.1-0ubuntu2.1",
"evidence": "/affected/2/versions"
},
{
"value": "0.12.1-0ubuntu2.2",
"evidence": "/affected/2/versions"
},
{
"value": "0.14.1-0ubuntu1~24.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "0.20.1-0ubuntu1~24.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "0.20.1-0ubuntu1~24.04.2",
"evidence": "/affected/2/versions"
},
{
"value": "0.21.3-0ubuntu1~24.04.1",
"evidence": "/affected/2/versions"
},
{
"value": "0.30.1-0ubuntu1~24.04.1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "docker-buildx",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.20.1-0ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "0.21.3-0ubuntu1",
"evidence": "/affected/3/versions"
},
{
"value": "0.30.1-0ubuntu1~25.10.1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "docker-buildx",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.30.1-0ubuntu1",
"evidence": "/affected/4/versions"
},
{
"value": "0.36.1-0ubuntu1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "docker-buildx",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "0.21.3-0ubuntu1",
"evidence": "/affected/5/versions"
},
{
"value": "0.30.1-0ubuntu1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2025-0495",
"aliases": [
"UBUNTU-CVE-2025-0495"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"0.11.2-0ubuntu1~20.04.1",
"0.11.2-0ubuntu1~20.04.2",
"0.12.1-0ubuntu1~20.04.1",
"0.12.1-0ubuntu1~20.04.2",
"0.14.1-0ubuntu1~20.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0495.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.14.1-0ubuntu1~20.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"0.11.2-0ubuntu1~22.04.1",
"0.11.2-0ubuntu1~22.04.2",
"0.12.1-0ubuntu1~22.04.1",
"0.12.1-0ubuntu1~22.04.2",
"0.14.1-0ubuntu1~22.04.1",
"0.20.1-0ubuntu1~22.04.1",
"0.20.1-0ubuntu1~22.04.2",
"0.21.3-0ubuntu1~22.04.1",
"0.30.1-0ubuntu1~22.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0495.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1~22.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"0.11.2-0ubuntu2",
"0.12.1-0ubuntu1",
"0.12.1-0ubuntu2",
"0.12.1-0ubuntu2.1",
"0.12.1-0ubuntu2.2",
"0.14.1-0ubuntu1~24.04.1",
"0.20.1-0ubuntu1~24.04.1",
"0.20.1-0ubuntu1~24.04.2",
"0.21.3-0ubuntu1~24.04.1",
"0.30.1-0ubuntu1~24.04.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0495.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1~24.04.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"0.20.1-0ubuntu1",
"0.21.3-0ubuntu1",
"0.30.1-0ubuntu1~25.10.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0495.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1~25.10.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"0.30.1-0ubuntu1",
"0.36.1-0ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0495.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.36.1-0ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"0.21.3-0ubuntu1",
"0.30.1-0ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-0495.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:56:59.830397396Z",
"provider": "osv",
"upstream": [
"CVE-2025-0495"
],
"references": [
"https://ubuntu.com/security/CVE-2025-0495",
"https://www.cve.org/CVERecord?id=CVE-2025-0495",
"https://github.com/docker/buildx/security/advisories/GHSA-m4gq-fm9h-8q75",
"https://github.com/docker/buildx"
]
},
"related_cves": [
{
"value": "CVE-2025-0495",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356614,
"published_at": "2025-03-17T20:15:00+00:00"
}