Skip to content

Commit 4bcdd6b

Browse files
Python Security Policy: Add note on sandboxes (#1874)
1 parent 6f10a40 commit 4bcdd6b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

security/policy.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ and :func:`exec` are documented to execute arbitrary Python code that is
3333
supplied as data. The :mod:`ctypes` module is documented to enable modifying
3434
arbitrary locations in memory.
3535

36+
CPython does not support sandboxing untrusted Python code as a security
37+
boundary, so escapes from such a sandbox are not vulnerabilities in Python
38+
and should be reported to the sandbox's developers instead.
39+
3640
Vulnerabilities must not depend on malicious control of Python's launch
3741
conditions, including (but not limited to) command line arguments, environment variables, or
3842
modifications to files on the target system. We assume that, at the time Python

0 commit comments

Comments
 (0)