When 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.
Fixed in Buildah 1.44 and 1.43.2.
{
"github_reviewed_at": "2026-06-22T20:15:48Z",
"severity": "MODERATE",
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"nvd_published_at": null
}