Skip to content
A detailed explainer is available in Japanese. Read the Japanese explainer
Critical 9.8

CodeSafeに任意コード実行の脆弱性、修正版あり

CVE-2026-133467 First seen on SecPulse

Summary

Pythonライブラリ CodeSafe の safe_eval() に、渡された式を通じて任意のPythonコードを実行されてしまう脆弱性が公表されました。0.0.1から0.0.4を使っているなら、0.0.5へ更新し、外部入力を式として渡していないかも確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Pythonライブラリ CodeSafe の safe_eval() に、渡された式を通じて任意のPythonコードを実行されてしまう脆弱性が公表されました。0.0.1から0.0.4を使っているなら、0.0.5へ更新し、外部入力を式として渡していないかも確認してください。

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details