Security mailing lists by PureSourceCode

CVE-2026-133467

CRITICAL 9.8CVSS 3.1

CodeSafe: safe_eval Sandbox Escape via Indirect Subscript Call

CodeSafe is an open-source Python library for code encryption, decryption, and safe evaluation using Python's AST module. From versions 0.0.1 through 0.0.4, the safe_eval() function can be bypassed with indirect subscript calls such as builtins'exec', because AST validation blocks only direct calls to dangerous built-ins. An attacker who controls an expression passed to safe_eval() can execute arbitrary Python code with the permissions of the host application. This issue is fixed in version 0.0.5.

Published
25 Nov 2026
Last modified
30 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-693CWE-95
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE List GitHub_M CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Infinitode CodeSafe = >= 0.0.1, < 0.0.5

References

History

  • 30 Nov 2026 20:29 UTC · NVD: updated (other details)
  • 30 Nov 2026 20:05 UTC · CVE List: updated (other details)
  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 25 Nov 2026)
  • 25 Nov 2026 20:30 UTC · NVD: first stored (published 25 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.