{
  "id": "CVE-2025-31133",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-31133",
  "published_at": "2025-11-06T18:47:47.335Z",
  "title": "runc container escape via \"masked path\" abuse due to mount race conditions",
  "vendor": "opencontainers",
  "product": "runc",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-11-12T09:42:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 5.6,
    "repo": "skynet-f-nvidia/CVE-2025-31133",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7 and below, 1.3.0-rc.1 through 1.3.1, 1.4.0-rc.1 and 1.4.0-rc.2 files, runc would not perform sufficient verification that the source of the bind-mount (i.e., the container's /dev/null) was actually a real /dev/null inode when using the container's /dev/null to mask. This exposes two methods of attack:  an arbitrary mount gadget, leading to host information disclosure, host denial of service, container escape, or a bypassing of maskedPaths. This issue is fixed in versions 1.2.8, 1.3.3 and 1.4.0-rc.3.",
  "cwe": "CWE-61",
  "cpes": [
    "cpe:2.3:a:linuxfoundation:runc:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:linuxfoundation:runc:1.4.0:rc1:*:*:*:*:*:*",
    "cpe:2.3:a:linuxfoundation:runc:1.4.0:rc2:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.3,
    "nvd": 7.8
  },
  "repos": [
    {
      "repo": "raesene/vuln_pocs",
      "url": "https://github.com/raesene/vuln_pocs",
      "created_at": "2022-10-28T10:20:48Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2009-03-29T08:48:59Z"
    },
    {
      "repo": "skynet-f-nvidia/CVE-2025-31133",
      "url": "https://github.com/skynet-f-nvidia/CVE-2025-31133",
      "created_at": "2025-11-12T09:42:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-05-17T07:29:33Z"
    },
    {
      "repo": "scherepiuk/container-escape-ebpf",
      "url": "https://github.com/scherepiuk/container-escape-ebpf",
      "created_at": "2025-12-31T02:28:37Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 2,
      "is_poc": "no",
      "kind": "detection",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-09-04T14:25:58Z"
    },
    {
      "repo": "C-h4ck-0/Learn-about-cve-2025-31133-poc",
      "url": "https://github.com/C-h4ck-0/Learn-about-cve-2025-31133-poc",
      "created_at": "2026-01-18T09:00:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2019-03-02T11:13:14Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "opencontainers",
        "product": "runc",
        "ranges": [
          "\u003c 1.2.8",
          "\u003e= 1.3.0-rc.1, \u003c 1.3.3",
          "\u003e= 1.4.0-rc.1, \u003c= 1.4.0-rc.3"
        ],
        "fixed_in": [
          "1.2.8",
          "1.3.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade runc to 1.2.8 or 1.3.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/opencontainers/runc/security/advisories/GHSA-9493-h29p-rfm2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/opencontainers/runc/commit/1a30a8f3d921acbbb6a4bb7e99da2c05f8d48522"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/opencontainers/runc/commit/5d7b2424072449872d1cd0c937f2ca25f418eb66"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/opencontainers/runc/commit/8476df83b534a2522b878c0507b3491def48db9f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/opencontainers/runc/commit/db19bbed5348847da433faa9d69e9f90192bfa64"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
