pypi package report

Is restrictedpython safe?

restrictedpython (pypi) has 6 known vulnerabilities, the worst rated HIGH. Upgrade to 8.4 or later to clear all of them. No malicious-package signal is recorded.

// reach

5 direct dependencies

1 carry known advisories, worst MEDIUM

13 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
8.4
high

CVSS v3.1 base score out of 10

epss
0.62%
medium

chance of exploitation in 30 days, 51st percentile of all CVEs

xyz score
4.2
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-hp3v-5vw7-fx9w, the advisory selected below

// 6 advisories

RestrictedPython could allow a sandbox escape when a policy exposes the standard library string module, or otherwise exposes string.Formatter, to restricted…

Full advisory text at GitHub advisory or NVD.

// cvss v3.1 vector

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

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
// questions
Is restrictedpython safe to install?

CyberXYZ does not call a package safe in absolute terms. It records 6 known vulnerabilities for restrictedpython (pypi), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

Does restrictedpython have known vulnerabilities?

Yes. CyberXYZ records 6 known vulnerabilities for restrictedpython (pypi), the worst rated HIGH. These include GHSA-hp3v-5vw7-fx9w, GHSA-ffg3-p8fm-mjx2, GHSA-gmj9-h825-chq2, GHSA-5rfv-66g4-jr8h, GHSA-xjw2-6jm9-rf67.

Which version of restrictedpython should I use?

8.4 or later clears every advisory recorded for restrictedpython (pypi). Check the release you pick before installing it.

How do I check restrictedpython before installing?

Search restrictedpython in CyberXYZ Check at https://cyberxyz.io/check?q=restrictedpython. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


Checked 2026-11-14 at 10:00 UTC. The most recent advisory here was published 2026-09-17. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.