Buildah: Build breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive
Summary
| CVE | CVE-2026-44517 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-21 21:16:59 UTC |
| Updated | 2026-08-21 21:16:59 UTC |
| Description | Buildah is a tool that facilitates building OCI images. From 1.38.1 until 1.43.2 and 1.44.0, TempDirForURL in define/types.go does not securely confine Git repository subdirectories to the downloaded build context, and downloadToDirectory and stdinToDirectory can follow a Dockerfile symlink left by a partially extracted tar archive. A malicious server supplying a Git repository or tar archive can cause files outside the build context directory to be included in the context or copied into the build. This issue is fixed in versions 1.43.2 and 1.44.0. |
Risk And Classification
Primary CVSS: v3.1 6.3 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
EPSS: 0.001800000 probability, percentile 0.078100000 (date 2026-08-22)
Problem Types: CWE-22 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.3 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.3 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
ChangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Containers | Buildah | affected >= 1.38.1, < 1.43.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/podman-container-tools/buildah/releases/tag/v1.44.0 | [email protected] | github.com | |
| github.com/podman-container-tools/buildah/commit/fc2003bb2efeb3ed7d5c7e1... | [email protected] | github.com | |
| github.com/podman-container-tools/buildah/security/advisories/GHSA-49p4-... | [email protected] | github.com | |
| github.com/podman-container-tools/buildah/commit/54459cf8a0feb4b1da766e4... | [email protected] | github.com | |
| github.com/podman-container-tools/buildah/releases/tag/v1.43.2 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.