RestrictedPython guard hooks can be shadowed via positional-only arguments (zopefoundation RestrictedPython)

CVE-2026-55830
HIGH 8.3

En bref

Source
NVD
EPSS
EPSS 0.29 % · centile 23 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Produits affectés
zopefoundation · RestrictedPython
Statut NVD
Deferred

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.

Faiblesses (CWE)

  • CWE-184 — Liste d'entrées interdites incomplète

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.3CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:LGitHub_M
CVSS 3.1HIGH 8.3CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:LNVD · security-advisories@github.com (Secondary)

Avis

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
zopefoundation · RestrictedPython
affectée : < 8.3

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD