{"id":"CVE-2026-44517","aliases":["CVE-2026-44517","GHSA-49p4-px3h-rq49","GO-2026-5116"],"related":[],"kind":"vulnerability","state":"published","title":"Buildah: Build breakout using malicious Containerfile and Git Smart HTTP server or GitHub release tar archive","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen processing a build contexts or `add`/`copy` instructions, a malicious server serving a Git repository or a tar archive file can cause files outside of the build context directory to be included in the build context or copied into the build.\n\n### Patches\n\nFixed in Buildah 1.44 and 1.43.2.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Buildah allows a build-time breakout when using a malicious Containerfile or a malicious Git HTTP server. A crafted Git URL or Containerfile can cause Buildah to access files outside of the build context during an ADD or COPY operation.","format":"markdown","source":"go"},{"lang":"es","text":"Buildah es una herramienta que facilita la creación de imágenes OCI. Desde la versión 1.38.1 hasta la 1.43.2 y la 1.44.0, TempDirForURL en define/types.go no confina de forma segura los subdirectorios del repositorio Git al contexto de construcción descargado, y downloadToDirectory y stdinToDirectory pueden seguir un enlace simbólico de Dockerfile dejado por un archivo tar parcialmente extraído. Un servidor malicioso que suministra un repositorio Git o un archivo tar puede hacer que los archivos fuera del directorio del contexto de construcción se incluyan en el contexto o se copien en la construcción. Este problema está corregido en las versiones 1.43.2 y 1.44.0.","source":"nvd"}],"published":"2026-06-22T20:15:48.000Z","modified":"2026-10-12T16:10:00.220Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 1.38.1, < 1.43.2","status":"affected"}],"vendor":"containers","product":"buildah","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.38.1","status":"affected","fixed":"1.43.2"}],"ecosystem":"Go","package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.38.1","status":"affected"}],"ecosystem":"Go","package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"go"}],"references":[{"url":"https://github.com/podman-container-tools/buildah/security/advisories/GHSA-49p4-px3h-rq49","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/podman-container-tools/buildah/commit/54459cf8a0feb4b1da766e4a6360451834e1846c","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/podman-container-tools/buildah/commit/fc2003bb2efeb3ed7d5c7e1e88d04e78f370a944","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/podman-container-tools/buildah/releases/tag/v1.43.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/podman-container-tools/buildah/releases/tag/v1.44.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/containers/buildah/security/advisories/GHSA-49p4-px3h-rq49","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/podman-container-tools/buildah","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-25T17:05:33.478Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44517","url":"https://www.cve.org/CVERecord?id=CVE-2026-44517","licence":"CVE Terms of Use","modified":"2026-08-25T17:07:10.143Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-49p4-px3h-rq49","url":"https://github.com/advisories/GHSA-49p4-px3h-rq49","licence":"CC-BY-4.0","modified":"2026-07-27T17:11:40.032Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5116","url":"https://pkg.go.dev/vuln/GO-2026-5116","licence":"CC-BY-4.0","modified":"2026-07-27T17:00:20.108Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44517","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44517","licence":"Public domain","modified":"2026-10-12T16:10:00.220Z"}],"updatedAt":"2026-11-25T22:59:34.823Z","epss":{"score":0.0018,"percentile":0.07892,"date":"2026-12-02T12:00:21.000Z"}}