{"id":"CVE-2026-100838","aliases":["CVE-2026-100838","GHSA-rh99-wc69-c255","GO-2026-5624"],"related":[],"kind":"vulnerability","state":"published","title":"Contrast before 1.19.1 CopyFile Policy Symlink Subversion","summary":"Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.19.1, the Kata agent policies generated by the Contrast CLI contained a flaw in the CopyFile verification that allowed arbitrary writes to the guest root filesystem. A malicious process on the untrusted host able to connect to the Kata agent VSOCK could issue a series of CopyFile requests to overwrite security-critical files in the guest or trick the workload into disclosing sensitive data, effectively amounting to a full guest takeover. Users unable to upgrade can apply an equivalent rego policy fix passed to 'contrast generate --policy'.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.19.1, the Kata agent policies generated by the Contrast CLI contained a flaw in the CopyFile verification that allowed arbitrary writes to the guest root filesystem. A malicious process on the untrusted host able to connect to the Kata agent VSOCK could issue a series of CopyFile requests to overwrite security-critical files in the guest or trick the workload into disclosing sensitive data, effectively amounting to a full guest takeover. Users unable to upgrade can apply an equivalent rego policy fix passed to 'contrast generate --policy'.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe [Kata agent policies](https://docs.edgeless.systems/contrast/architecture/components/policies) generated by the Contrast CLI had an issue in the `CopyFile` verification, which allowed arbitrary writes to the guest root filesytem. A malicious process on the host with the capability to connect to the Kata agent VSOCK could connect to the agent and issue a series of `CopyFile` requests to overwrite security-critical files or trick the workload into disclosing sensitive data, which effectively amounts to a full guest takeover.\n\n### Patches\n\nThis issue has been patched in Contrast v1.19.1.\n\nNote that this fix does not change the fact that host-provided content is generally not trustworthy, as documented.\n\n### Workarounds\n\nIf upgrading is not possible, users can implement the fix in rego and pass it to `contrast generate --policy`. The rego-only fix is a bit trickier than the patch, because the data to check is binary. See the references for details.\n\n### Resources\n\n* Upstream GHSA: https://github.com/kata-containers/kata-containers/security/advisories/GHSA-q49m-57vm-c8cc\n* Alternative policy-only fix: https://gist.github.com/burgerdev/304dd0ab0fff1665b7c27e18a30cf96e","format":"markdown","source":"ghsa"},{"lang":"en","text":"Contras Affected by CopyFile Policy Subversion via Symlinks in github.com/edgelesssys/contrast","format":"markdown","source":"go"}],"published":"2026-04-30T20:57:17.000Z","modified":"2026-10-08T16:16:59.643Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-59"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.19.1","status":"affected"},{"type":"semver","version":"1.19.1","status":"unaffected"}],"vendor":"edgelesssys","product":"contrast","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.1"}],"ecosystem":"Go","package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.19.1"}],"ecosystem":"Go","package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"go"}],"references":[{"url":"https://github.com/edgelesssys/contrast/security/advisories/GHSA-rh99-wc69-c255","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.vulncheck.com/advisories/contrast-before-1.19.1-copyfile-policy-symlink-subversion","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/kata-containers/kata-containers/security/advisories/GHSA-q49m-57vm-c8cc","tags":["web"],"sources":["ghsa","go"]},{"url":"https://gist.github.com/burgerdev/304dd0ab0fff1665b7c27e18a30cf96e","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/edgelesssys/contrast","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/edgelesssys/contrast/releases/tag/v1.19.1","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-30T16:55:07.784Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100838","url":"https://www.cve.org/CVERecord?id=CVE-2026-100838","licence":"CVE Terms of Use","modified":"2026-10-08T15:22:00.652Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rh99-wc69-c255","url":"https://github.com/advisories/GHSA-rh99-wc69-c255","licence":"CC-BY-4.0","modified":"2026-09-27T11:55:41.241Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5624","url":"https://pkg.go.dev/vuln/GO-2026-5624","licence":"CC-BY-4.0","modified":"2026-09-27T11:55:41.241Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100838","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100838","licence":"Public domain","modified":"2026-10-08T16:16:59.643Z"}],"updatedAt":"2026-11-25T22:59:41.252Z","epss":{"score":0.00221,"percentile":0.13499,"date":"2026-12-01T12:00:22.000Z"}}