{"id":"GHSA-rh99-wc69-c255","revision":"33e3b042a56c486fa1894fe600f70a94","records":[{"revision":"33e3b042a56c486fa1894fe600f70a94","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-rh99-wc69-c255","aliases":["CVE-2026-100838","GO-2026-5624"],"title":"Contras Affected by CopyFile Policy Subversion via Symlinks","description":"### 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","state":0,"publishedAt":"2026-04-30T20:57:17+00:00","modifiedAt":"2026-09-27T11:55:41.2411075+00:00","affected":[{"ecosystem":"Go","name":"github.com/edgelesssys/contrast","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.19.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/edgelesssys/contrast/security/advisories/GHSA-rh99-wc69-c255","https://github.com/kata-containers/kata-containers/security/advisories/GHSA-q49m-57vm-c8cc","https://gist.github.com/burgerdev/304dd0ab0fff1665b7c27e18a30cf96e","https://github.com/edgelesssys/contrast","https://github.com/edgelesssys/contrast/releases/tag/v1.19.1"],"sourceUrl":"https://github.com/advisories/GHSA-rh99-wc69-c255","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rh99-wc69-c255","identifiers":["GHSA-rh99-wc69-c255","CVE-2026-100838","GO-2026-5624"]},"retained":false,"historicalAffected":[]}],"coverage":[]}