{"id":"CVE-2026-15789","aliases":["ALSA-2026:70640","EUVD-2026-46309","GHSA-g2h8-426c-7976","RHSA-2026:51065","RHSA-2026:62771","RHSA-2026:66421","RHSA-2026:70640","RLSA-2026:70640"],"status":"published","title":"Malicious client can bypass destination directory validation on local sources upload","description":"A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.","severity":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00314,"percentile":0.24725,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2026-07-21T16:10:20Z","modified":"2026-10-29T11:42:20Z","fixes":[{"ecosystem":"Red Hat:hummingbird:1","package":"podman","fixed_in":["0:6.0.2-2.3.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"podman-docker","fixed_in":["0:6.0.2-2.3.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"podman-machine","fixed_in":["0:6.0.2-2.3.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"podman-remote","fixed_in":["0:6.0.2-2.3.hum1"],"sources":["osv"]},{"ecosystem":"Red Hat:hummingbird:1","package":"podmansh","fixed_in":["0:6.0.2-2.3.hum1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"AlmaLinux:9","package":"buildah","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"AlmaLinux:9","package":"buildah-tests","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"buildah","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.45.0-2.hum1"}]}],"bundled":4},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"podman","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.0.2-2.3.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"podman-docker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.0.2-2.3.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"podman-machine","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.0.2-2.3.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"podman-remote","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.0.2-2.3.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"podmansh","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:6.0.2-2.3.hum1"}]}]},{"source":"osv","ecosystem":"Red Hat:hummingbird:1","package":"trivy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:0.74.0-0.2.hum1"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"buildah","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"buildah-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"buildah-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"buildah-tests","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"buildah-tests-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8},{"source":"osv","ecosystem":"Rocky Linux:9","package":"buildah","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:1.43.3-2.el9_8"}]}],"bundled":8}],"products":[{"vendor":"moby","product":"buildkit"},{"vendor":"mobyproject","product":"buildkit"}],"references":[{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-g2h8-426c-7976","tags":["vendor-advisory","Vendor Advisory","advisory","article"]},{"url":"https://access.redhat.com/errata/RHSA-2026:70640","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-11395","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-15789","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-33818","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56853","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56855","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56858","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56860","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56862","tags":["report"]},{"url":"https://bugzilla.redhat.com/2515815","tags":["report"]},{"url":"https://bugzilla.redhat.com/2515820","tags":["report"]},{"url":"https://bugzilla.redhat.com/2515827","tags":["report"]},{"url":"https://bugzilla.redhat.com/2515838","tags":["report"]},{"url":"https://bugzilla.redhat.com/2515839","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2026-70640.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15789.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15789","tags":["advisory"]},{"url":"https://github.com/moby/buildkit/releases/tag/v0.31.2","tags":["web","article"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75593.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75593","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:51065","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-15788","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-56852","tags":["report"]},{"url":"https://access.redhat.com/security/updates/classification/","tags":["article"]},{"url":"https://images.redhat.com/","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-75593","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_51065.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2502989","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-15788","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15788","tags":["advisory"]},{"url":"https://github.com/moby/buildkit/security/advisories/GHSA-388v-wmr2-g2v2","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2503742","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-15789","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2504233","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56852","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56852","tags":["advisory"]},{"url":"https://go.dev/cl/794100","tags":["article"]},{"url":"https://go.dev/issue/80142","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-5970","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2519913","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-75593","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62771","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_62771.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2026:66421","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-71556","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_66421.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2512562","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-71556","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71556","tags":["advisory"]},{"url":"https://github.com/go-git/go-git/commit/008a78f2dd86f52544ddff8b8e8ddeecdf3f7aab","tags":["article"]},{"url":"https://github.com/go-git/go-git/commit/661d1c7f101d34e002a3cfcf8dbea5b7421d07ac","tags":["article"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.19.2","tags":["article"]},{"url":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.5","tags":["article"]},{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-hc8v-wwc9-vgxm","tags":["article"]},{"url":"https://access.redhat.com/security/updates/classification/#important","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515815","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515820","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515827","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515838","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2515839","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_70640.json","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2402034","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-11395","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11395","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-33818","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33818","tags":["advisory"]},{"url":"https://go.dev/cl/814980","tags":["article"]},{"url":"https://go.dev/issue/80405","tags":["article"]},{"url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-5972","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56853","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56853","tags":["advisory"]},{"url":"https://go.dev/cl/795540","tags":["article"]},{"url":"https://go.dev/issue/80205","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6089","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2528050","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56855","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56855","tags":["advisory"]},{"url":"https://go.dev/cl/826524","tags":["article"]},{"url":"https://go.dev/issue/81317","tags":["article"]},{"url":"https://groups.google.com/g/golang-announce/c/1y3fb2np35U","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6355","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56858","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56858","tags":["advisory"]},{"url":"https://go.dev/cl/807100","tags":["article"]},{"url":"https://go.dev/issue/80435","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6091","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56860","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56860","tags":["advisory"]},{"url":"https://go.dev/cl/803681","tags":["article"]},{"url":"https://go.dev/issue/80494","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6218","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-56862","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56862","tags":["advisory"]},{"url":"https://go.dev/cl/804261","tags":["article"]},{"url":"https://go.dev/issue/80528","tags":["article"]},{"url":"https://pkg.go.dev/vuln/GO-2026-6090","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2026:70640","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-15789","title":"Malicious client can bypass destination directory validation on local sources upload","description":"A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.","status":"published","published":"2026-07-21T16:10:20.421Z","modified":"2026-07-21T17:13:36.248Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T13:47:51.033687Z"}],"euvd":[{"id":"EUVD-2026-46309","description":"A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.","status":"published","published":"2026-07-21T16:10:20Z","modified":"2026-07-21T17:13:36Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-11-02T18:19:46.900828Z"}],"nvd":[{"id":"CVE-2026-15789","description":"A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.","status":"published","published":"2026-07-21T17:17:04.843Z","modified":"2026-10-24T19:10:00.127Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:12:31.394335Z"}],"osv":[{"id":"CVE-2026-15789","title":"Malicious client can bypass destination directory validation on local sources upload","description":"A custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access the BuildKit control API to issue builds, e.g., bypass authentication, etc.","status":"published","published":"2026-07-21T16:10:20.421Z","modified":"2026-10-29T11:42:20.850410518Z","cvss":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:57.682091Z"},{"id":"CVE-2026-75593","title":"BuildKit: Malicious client can bypass destination directory validation on local sources upload","description":"BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Prior to 0.31.2, a custom client can produce such an upload request to the BuildKit daemon that files can escape from the BuildKit-controlled state directory. The client needs to have valid permissions to access BuildKit control API to issue builds, eg., bypass authentication, etc. This issue is fixed in version 0.31.2.","status":"published","published":"2026-08-19T20:06:54.924Z","modified":"2026-10-28T02:31:10.493754527Z","cvss":[{"version":"4.0","score":7.2,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:45:17.102988Z"},{"id":"RHSA-2026:51065","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","status":"published","published":"2026-08-07T10:28:37Z","modified":"2026-10-20T10:10:34Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:20.984762Z"},{"id":"RHSA-2026:62771","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update","status":"published","published":"2026-09-22T10:17:07Z","modified":"2026-10-20T10:12:45Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:53:21.91255Z"},{"id":"RHSA-2026:66421","title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update","status":"published","published":"2026-09-11T10:15:13Z","modified":"2026-10-20T10:13:31Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L","level":"high"}],"updated_at":"2026-11-02T15:53:22.406388Z"},{"id":"RHSA-2026:70640","title":"Red Hat Security Advisory: buildah security update","status":"published","published":"2026-09-24T10:15:03Z","modified":"2026-10-20T10:14:42Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:22.928316Z"},{"id":"RLSA-2026:70640","title":"Important: buildah security update","description":"The buildah package provides a tool for facilitating building OCI container images. Among other things, buildah enables you to: Create a working container, either from scratch or using an image as a starting point; Create an image, either from a working container or using the instructions in a Dockerfile; Build both Docker and OCI images.\n\nSecurity Fix(es):\n\n* buildah: Go net/http: Unencrypted HTTP/2 connections vulnerable to Denial of Service (CVE-2026-56853)\n\n* buildah: Go html/template: Cross-Site Scripting via pathological input (CVE-2026-56858)\n\n* buildah: Go encoding/asn1: Denial of Service via excessive recursion in Unmarshal (CVE-2026-33818)\n\n* buildah: golang net/url: Denial of Service from quadratic complexity in path resolution (CVE-2026-56860)\n\n* buildah: Golang crypto/tls: Denial of Service via indefinite KeyUpdate messages (CVE-2026-56862)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.","status":"published","published":"2026-09-24T18:05:00.461776Z","modified":"2026-09-24T18:24:42.165328695Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:26.449929Z"},{"id":"ALSA-2026:70640","title":"Important: buildah security update","description":"The buildah package provides a tool for facilitating building OCI container images. Among other things, buildah enables you to: Create a working container, either from scratch or using an image as a starting point; Create an image, either from a working container or using the instructions in a Dockerfile; Build both Docker and OCI images.  \n\nSecurity Fix(es):  \n\n  * buildah: Go net/[http:](http:) Unencrypted HTTP/2 connections vulnerable to Denial of Service (CVE-2026-56853)\n  * buildah: Go html/template: Cross-Site Scripting via pathological input (CVE-2026-56858)\n  * buildah: Go encoding/asn1: Denial of Service via excessive recursion in Unmarshal (CVE-2026-33818)\n  * buildah: golang net/url: Denial of Service from quadratic complexity in path resolution (CVE-2026-56860)\n  * buildah: Golang crypto/tls: Denial of Service via indefinite KeyUpdate messages (CVE-2026-56862)\n\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n","status":"published","published":"2026-09-23T00:00:00Z","modified":"2026-10-29T11:42:20.205890205Z","updated_at":"2026-11-02T15:27:55.200553Z"}]}}
