Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions security/policy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ and :func:`exec` are documented to execute arbitrary Python code that is
supplied as data. The :mod:`ctypes` module is documented to enable modifying
arbitrary locations in memory.

CPython does not support sandboxing untrusted Python code as a security
boundary, so escapes from such a sandbox are not vulnerabilities in Python
and should be reported to the sandbox's developers instead.

Vulnerabilities must not depend on malicious control of Python's launch
conditions, including (but not limited to) command line arguments, environment variables, or
modifications to files on the target system. We assume that, at the time Python
Expand Down
Loading