{"id":"UBUNTU-CVE-2026-55830","details":"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.","modified":"2026-09-24T02:00:30.023810492Z","published":"2026-07-08T22:17:00Z","upstream":["CVE-2026-55830"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-55830"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-55830"},{"type":"REPORT","url":"https://github.com/zopefoundation/RestrictedPython/security/advisories/GHSA-ffg3-p8fm-mjx2"}],"affected":[{"package":{"name":"restrictedpython","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/restrictedpython?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"python-restrictedpython","binary_version":"3.6.0-0ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"}},{"package":{"name":"restrictedpython","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/restrictedpython?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.0-0ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"python-restrictedpython","binary_version":"3.6.0-0ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"}},{"package":{"name":"restrictedpython","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/restrictedpython?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0~b3-2","4.0~b3-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-restrictedpython","binary_version":"4.0~b3-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"}},{"package":{"name":"restrictedpython","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/restrictedpython?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0~b3-2","4.0~b3-2ubuntu1","4.0~b3-3","4.0~b3-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-restrictedpython","binary_version":"4.0~b3-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"}},{"package":{"name":"restrictedpython","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/restrictedpython?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0~b3-3","6.2-1","6.2-1ubuntu0.24.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-restrictedpython","binary_version":"6.2-1ubuntu0.24.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"}},{"package":{"name":"restrictedpython","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/restrictedpython?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0-1","8.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"8.1-1","binary_name":"python3-restrictedpython"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-55830.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}