{"answers":{"affected":"9 open source packages ship an affected version, including github.com/moby/moby, github.com/docker/docker and github.com/moby/moby/v2. It affects 3 products.","exploited":"There is no known exploitation of CVE-2026-41568 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-41568 is a medium-severity vulnerability in moby, published on 12 Jun 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-41568 and fix it if it is affected.\n\nWhat it is: CVE-2026-41568 is a medium-severity vulnerability in moby, published on 12 Jun 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-41568 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/moby/moby (Go): affected all versions; no fix listed\n- github.com/moby/moby (Go): affected all versions up to 28.5.2; no fix listed\n- github.com/moby/moby (Go): affected all versions up to 28.5.2; no fix listed\n- github.com/docker/docker (Go): affected all versions; no fix listed\n- github.com/docker/docker (Go): affected all versions up to 28.5.2; no fix listed\n- github.com/docker/docker (Go): affected all versions up to 28.5.2; no fix listed\n- github.com/moby/moby/v2 (Go): affected all versions; fixed in 2.0.0-beta.14\n- github.com/moby/moby/v2 (Go): affected all versions; fixed in 2.0.0-beta.14\n- github.com/moby/moby/v2 (Go): affected all versions; fixed in 2.0.0-beta.14\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-41568/ (Markdown: https://insights.sbomify.com/CVE-2026-41568/index.md)","id":"CVE-2026-41568","markdown":"https://insights.sbomify.com/CVE-2026-41568/index.md","name":"CVE-2026-41568","record":{"aliases":["BELL-CVE-2026-41568","CLEANSTART-2026-JK73485","DEBIAN-CVE-2026-41568","ECHO-e9b5-dcda-52fb","GHSA-vp62-88p7-qqf5","GO-2026-5668","MINI-237p-mp72-4g9q","MINI-24gq-mv2r-4323","MINI-2753-hrqv-6jpm","MINI-28ww-3wp8-74x6","MINI-2frh-9vxq-x2x6","MINI-2g7m-2gqg-fx56","MINI-2jrp-h7w7-gwpw","MINI-2mmr-49cg-j8pv","MINI-2mw7-54mm-mvrr","MINI-2x33-qjcr-6536","MINI-32rj-8qp4-9h73","MINI-367m-9xf5-r8fj","MINI-37g5-xc3h-mfpf","MINI-37wj-5w6f-8x4f","MINI-3975-vj5g-97fc","MINI-3cvx-988v-gmcq","MINI-3f3v-qgx3-h4fj","MINI-3fj4-33q6-3f6r","MINI-3gvx-x577-qpjc","MINI-3gw4-25gq-22gx","MINI-3gxw-mv66-9498","MINI-3pj7-h5jp-w643","MINI-3xrm-cwh4-26cw","MINI-432j-h5c7-gqcx","MINI-43x4-vp3r-jhfv","MINI-46px-m9wh-9jqc","MINI-4739-c777-r3j6","MINI-4f3g-jvw9-9w4h","MINI-4h84-mrfm-93mw","MINI-4j32-ph2r-h79q","MINI-4jq7-g964-rv62","MINI-4p7m-x76q-2h32","MINI-4w44-jpmw-fwph","MINI-53fg-2p7j-7c4j","MINI-5539-924f-39cj","MINI-553r-9fq4-p2w7","MINI-5jv3-8jvv-hj3p","MINI-5p2c-656h-g6wj","MINI-5w82-pr3m-cjj4","MINI-67q7-2jmj-93wq","MINI-6969-35r9-rvh3","MINI-6j76-m8v8-p7pc","MINI-6m2p-xjv3-q3rq","MINI-6x2r-h93g-3h7c","MINI-6xvf-7332-f5xp","MINI-7395-ffqc-mxpx","MINI-7726-vjmq-4mc3","MINI-7866-4r24-f4x5","MINI-78wf-p24q-mwgg","MINI-7f9w-fqrx-g5x9","MINI-7ffx-j3vq-67r5","MINI-7rh7-8jqh-g5x6","MINI-7vrv-qhvh-v9jf","MINI-7whr-qhr3-4wmx","MINI-836p-72cq-c8g3","MINI-83rc-pgq5-pw5q","MINI-848m-8mr7-g9pf","MINI-868j-hxgv-m552","MINI-8732-76gv-952x","MINI-8795-c9q2-8ggc","MINI-882h-7p9q-xj22","MINI-8cq5-wcvw-jqxp","MINI-8crj-rh7x-5278","MINI-8g2x-p77q-phx2","MINI-8gpp-82fq-vg9c","MINI-8h8c-mgpg-fjqj","MINI-8mh5-5cm3-374g","MINI-8qrr-hxx2-j4qq","MINI-8x23-2985-58rh","MINI-92p8-h6v3-ggj7","MINI-9686-33pj-mqjp","MINI-96jm-2f9m-43v2","MINI-9hhg-w93j-96xg","MINI-9j36-h29f-cvf9","MINI-9jr3-48rm-rfwv","MINI-9v22-hm57-9w6m","MINI-c56v-mw74-84x2","MINI-c7m6-fq8w-r272","MINI-c879-xx22-7pph","MINI-ccx3-27jm-7qrm","MINI-cgc7-v3w8-jwr4","MINI-chjw-gg8r-mffr","MINI-chrx-4492-f76q","MINI-cq52-vfc7-8wm4","MINI-cqgp-7mrq-g3pw","MINI-cr65-5q2r-f7r9","MINI-crpp-8hmf-j2px","MINI-cvqq-6qmp-5p73","MINI-f2wp-8w2f-pf3w","MINI-f3q5-7xgg-g49m","MINI-f4cf-xjj8-7x4j","MINI-f58x-wp78-wfc2","MINI-f5g5-4373-cg9j","MINI-f653-qr7f-8p6x","MINI-f96c-q7mh-v6p9","MINI-fccq-mm4p-fmrj","MINI-fjhp-c5rm-526h","MINI-fmj6-rc4c-wh6w","MINI-fp2g-pj32-2wf3","MINI-fpcj-ww8w-8x82","MINI-fpcw-fp24-283f","MINI-fphx-68qw-9qfm","MINI-fpqc-3v6q-7wqr","MINI-fq5q-gjpc-fc3g","MINI-fqfv-cmxw-99h2","MINI-fwmf-mv9m-8hp4","MINI-g49g-3pj5-3982","MINI-g83q-9745-x7mf","MINI-g8v4-wp8c-mv9f","MINI-g999-7897-5jrh","MINI-gf2p-394f-65c6","MINI-gf53-r38j-fx8x","MINI-gqq3-5785-chcr","MINI-gwhj-86pc-mmcr","MINI-h6pq-hfvj-h96q","MINI-h72c-2gpg-4mmw","MINI-h98r-jjm5-57vf","MINI-hccx-mc7w-w82w","MINI-hcxv-98vj-9hx9","MINI-hr8f-2mv7-5v46","MINI-hwpm-2pjp-xj3w","MINI-j644-8mv5-hxwx","MINI-jc2r-p3vr-877w","MINI-jqfp-vp8r-fc8f","MINI-jrpw-28qf-23q7","MINI-jv95-62xc-7mgx","MINI-jvfq-2742-jpjc","MINI-jwm5-mm5f-hr7f","MINI-m44c-jhvh-xh44","MINI-mcwc-mqgx-rfjh","MINI-mjrv-hchp-2677","MINI-mmpc-9676-f2gc","MINI-mw87-x8qf-c6pf","MINI-p5g4-6jf6-9p5x","MINI-p5mx-ghcr-pv3g","MINI-p6h7-hpvq-vp53","MINI-p6xv-g5m6-j72q","MINI-p92j-p2w2-hv4w","MINI-p9cc-fj8m-qx59","MINI-pcqg-qw2w-rxc6","MINI-pghf-2m5f-2fhf","MINI-pp22-rrmg-rm5h","MINI-ppjg-62gc-6pmf","MINI-q3gw-369p-7vmx","MINI-q487-9744-c5rm","MINI-q72g-9q2m-mmw2","MINI-q73x-8j6m-cvgw","MINI-qcf3-84vr-9559","MINI-qjhr-mhmg-ghgw","MINI-qp44-v2vp-q7vf","MINI-qqqg-m88w-q8hj","MINI-qv65-qr5j-8jcw","MINI-qvjw-fh2g-m25x","MINI-qxgw-cvf6-jfmr","MINI-r48j-m88j-4vg6","MINI-r4rh-pp8m-vhmm","MINI-r574-v89g-98mc","MINI-r638-82h3-7cvc","MINI-r663-hq35-3hr7","MINI-r6c4-rp93-j2g7","MINI-r6w8-363j-fh7x","MINI-r8jf-wrv5-97q9","MINI-rg27-hf7r-j273","MINI-rphp-p58r-qrq5","MINI-rpjc-fwv2-5wpf","MINI-rq7x-w3r7-4vxm","MINI-rrgh-8jx7-7mr4","MINI-rwfw-hv9w-v6m4","MINI-rwmh-f8hv-vpjf","MINI-v6w8-wq5p-j425","MINI-v8xv-xw72-6g73","MINI-v9qm-cqmv-r9xr","MINI-vh5j-vmrc-qvrv","MINI-vjr2-2fm7-788w","MINI-vqj3-8vrm-8hj5","MINI-vr7m-mxcp-rgjq","MINI-vvrv-xr7j-4fhh","MINI-w5hm-hgf2-3g65","MINI-w6jg-8hvf-jchf","MINI-w72r-65mw-6x94","MINI-w75j-f4fx-99c6","MINI-w97c-36qv-w7xf","MINI-wh96-cr26-9qjq","MINI-wmc8-2xm6-f4qp","MINI-wmgw-x5hw-fhjm","MINI-wrvr-vffm-3vxf","MINI-x293-6mv3-wffm","MINI-x2cg-6wgq-89gj","MINI-x2qr-64x8-3mr5","MINI-x55m-wr4h-g83h","MINI-x87p-4q5m-v9pp","MINI-xfwp-8vrx-hxmj","MINI-xh3g-m6x6-c6cq","MINI-xh65-p9rf-3vjq","MINI-xhqp-fjxg-87cw","MINI-xwf6-q668-j772","ROOT-APP-GOBINARY-CVE-2026-41568","UBUNTU-CVE-2026-41568"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Docker Engine","requires_auth":"low_privilege","summary":"A malicious container can exploit a race condition in docker cp to create arbitrary empty files or directories on the host filesystem.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"engine","vendor":"docker"},{"product":"moby","vendor":"mobyproject"},{"product":"moby\\/v2","vendor":"mobyproject"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-81","name":"Improper Neutralization of Script in an Error Message Web Page"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to create empty files or directories at arbitrary absolute paths on the host filesystem. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.","ecosystems":["Go"],"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":"Moby: Race condition in docker cp allows creation of arbitrary empty files on the host via symlink swap","id":"CVE-2026-41568","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":9,"n_references":1,"next":{"headline":"authentik: WS-Federation wreply origin bypass can exfiltrate signed login responses to attacker-controlled endpoints","id":"CVE-2026-41569"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/docker/docker","purl":"pkg:golang/github.com/docker/docker","source":"GO-2026-5668"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["28.5.2"],"package":"github.com/docker/docker","purl":null,"source":"GHSA-vp62-88p7-qqf5"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["28.5.2"],"package":"github.com/docker/docker","purl":"pkg:golang/github.com/docker/docker","source":"GHSA-vp62-88p7-qqf5"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby","purl":"pkg:golang/github.com/moby/moby","source":"GO-2026-5668"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["28.5.2"],"package":"github.com/moby/moby","purl":null,"source":"GHSA-vp62-88p7-qqf5"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["28.5.2"],"package":"github.com/moby/moby","purl":"pkg:golang/github.com/moby/moby","source":"GHSA-vp62-88p7-qqf5"},{"ecosystem":"Go","fixed":["2.0.0-beta.14"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby/v2","purl":null,"source":"GHSA-vp62-88p7-qqf5"},{"ecosystem":"Go","fixed":["2.0.0-beta.14"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby/v2","purl":"pkg:golang/github.com/moby/moby/v2","source":"GHSA-vp62-88p7-qqf5"},{"ecosystem":"Go","fixed":["2.0.0-beta.14"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/moby/v2","purl":"pkg:golang/github.com/moby/moby/v2","source":"GO-2026-5668"}],"prev":{"headline":"Docker: `PUT /containers/{id}/archive` executes container binary on the host","id":"CVE-2026-41567"},"products":["moby"],"published":"2026-06-12","related":[{"cvss_score":8.8,"headline":"Moby: AuthZ plugin bypass with oversized request body","id":"CVE-2026-34040","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":7.2,"headline":"Moby: Race condition in docker cp allows bind mount redirection to host path","id":"CVE-2026-42306","kev_date_added":null,"published":"2026-06-12"},{"cvss_score":6.8,"headline":"Moby: Off-by-one error in plugin privilege validation","id":"CVE-2026-33997","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":4.9,"headline":"Denial of service in n/a","id":"CVE-2018-20699","kev_date_added":null,"published":"2019-01-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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-06-12","vendors":["moby"]},"summary":"A malicious container can exploit a race condition in docker cp to create arbitrary empty files or directories on the host filesystem.","url":"https://insights.sbomify.com/CVE-2026-41568/"}