{
  "id": "CVE-2026-55830",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55830",
  "published_at": "2026-07-08T21:16:36.2Z",
  "title": "RestrictedPython guard hooks can be shadowed via positional-only arguments",
  "vendor": "zopefoundation",
  "product": "RestrictedPython",
  "cvss": {
    "score": 8.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "RestrictedPython is a tool that helps to define a subset of the Python language which allows to provide a program input into a trusted environment. Prior to 8.3, check_function_argument_names() rejected protected guard hook names for regular, variadic, and keyword-only arguments but omitted positional-only arguments, allowing __getattr__, _getitem_, _write_, or _print_ to be shadowed by a local parameter and bypass the embedding application's access policy. This issue is fixed in version 8.3.",
  "cwe": "CWE-184",
  "cvss_by_source": {
    "cna": 8.3
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "zopefoundation",
        "product": "RestrictedPython",
        "ranges": [
          "\u003c 8.3"
        ],
        "fixed_in": [
          "8.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade RestrictedPython to 8.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-ffg3-p8fm-mjx2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/zopefoundation/RestrictedPython/commit/3737596ec9f28c34a073cc845bd2f4c0a80cb671"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
