{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-15788 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-15788 is a medium-severity path traversal vulnerability in moby BuildKit, published on 20 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-15788 and fix it if it is affected.\n\nWhat it is: CVE-2026-15788 is a medium-severity path traversal vulnerability in moby BuildKit, published on 20 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-15788 in the wild and no public exploit code.\n\nAffected product: moby BuildKit. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-15788/ (Markdown: https://insights.sbomify.com/CVE-2026-15788/index.md)","id":"CVE-2026-15788","markdown":"https://insights.sbomify.com/CVE-2026-15788/index.md","name":"CVE-2026-15788","record":{"aliases":["GHSA-388v-wmr2-g2v2"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"BuildKit container builder","requires_auth":"none","summary":"An attacker can read arbitrary host files via NTFS junctions in BuildKit cache mounts on Windows Container on Windows workers.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Docker","cpe":[{"product":"buildkit","vendor":"mobyproject"}],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"BuildKit's cache mount source= selector on Windows Container on Windows (WCOW) workers does not detect NTFS directory junctions placed inside the cache root. A build authored by an untrusted user on a WCOW-configured BuildKit daemon can read arbitrary host files reachable to the BuildKit daemon process.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"WCOW cache mount source selector resolves NTFS junctions outside of cache root","id":"CVE-2026-15788","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Malicious client can bypass destination directory validation on local sources upload","id":"CVE-2026-15789"},"packages":[],"prev":{"headline":"Cross-site scripting in Ultimate Addons for Elementor","id":"CVE-2026-15787"},"products":["BuildKit"],"published":"2026-07-20","related":[{"cvss_score":10,"headline":"BuildKit possible host system access from mount stub cleaner","id":"CVE-2024-23652","kev_date_added":null,"published":"2024-01-31"},{"cvss_score":9.8,"headline":"BuildKit interactive containers API does not validate entitlements check","id":"CVE-2024-23653","kev_date_added":null,"published":"2024-01-31"},{"cvss_score":8.7,"headline":"BuildKit possible race condition with accessing subpaths from cache mounts","id":"CVE-2024-23651","kev_date_added":null,"published":"2024-01-31"},{"cvss_score":8.4,"headline":"BuildKit vulnerable to malicious frontend causing file escape outside of storage root","id":"CVE-2026-33747","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":8.2,"headline":"BuildKit Git URL subdir component can cause access to restricted files","id":"CVE-2026-33748","kev_date_added":null,"published":"2026-03-27"},{"cvss_score":6.9,"headline":"Malicious client can bypass destination directory validation on local sources upload","id":"CVE-2026-15789","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":6.5,"headline":"Git source checkout from a bundle file could lead to command injection","id":"CVE-2026-15793","kev_date_added":null,"published":"2026-07-21"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-21","vendors":["moby"]},"summary":"An attacker can read arbitrary host files via NTFS junctions in BuildKit cache mounts on Windows Container on Windows workers.","url":"https://insights.sbomify.com/CVE-2026-15788/"}