SCA: security update for RestrictedPython (GHSA-hp3v-5vw7-fx9w)

high Tenable Self-Hosted Container Security Plugin ID 448153

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- RestrictedPython is a tool that helps define a subset of the Python language for accepting program input
in a trusted environment. Prior to 8.4, RestrictedPython could allow a sandbox escape when a custom import
policy or globals exposed the standard library string module, the string.Formatter class, a Formatter
instance, or a Formatter subclass to restricted code. The string.Formatter methods format, get_field,
get_value, and vformat performed attribute and item traversal internally without passing through
RestrictedPython's safer_getattr protections. Restricted code could use those live object references to
reach function globals, builtins, file access, or code execution primitives, affecting confidentiality,
integrity, and availability in the host environment. This issue is fixed in version 8.4. (CVE-2026-76825)

Solution

Update the RestrictedPython library and its related packages to version 8.4 or later.

See Also

https://github.com/advisories/GHSA-hp3v-5vw7-fx9w

Plugin Details

Severity: High

ID: 448153

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 9/22/2026

Updated: 9/22/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 93.34

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.3

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:M/C:C/I:C/A:C

CVSS Score Source: CVE-2026-76825

CVSS v3

Risk Factor: High

Base Score: 8.4

Temporal Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/17/2026

Vulnerability Publication Date: 9/16/2026

Reference Information

CVE: CVE-2026-76825