CVE-2026-5559: PyBlade: SSTI/RCE via Bypassed AST Validation in sandbox.py
A vulnerability has been found in AntaresMugisho PyBlade 0.1.8-alpha/0.1.9-alpha. The affected element is the function issafeast of the file sandbox.py of the component AST Validation. Such manipulation leads to improper neutralization of special elements used in a template engine. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.
Published Apr 5, 2026 · Updated Apr 8, 2026
Affected packages
pyblade
- Ecosystem
- PyPI
- Affected
- >= 0.1.8-alpha, <= 0.2.0-alpha
- Fixed in
- No patched version yet
- Check
pip show pyblade
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability has been found in AntaresMugisho PyBlade 0.1.8-alpha/0.1.9-alpha. The affected element is the function _is_safe_ast of the file sandbox.py of the component AST Validation. Such manipulation leads to improper neutralization of special elements used in a template engine. The attack may be performed from remote. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-5559
- https://github.com/AntaresMugisho/PyBlade/issues/1
- https://github.com/AntaresMugisho/PyBlade/issues/1#issue-4086730906
- https://github.com/AntaresMugisho/PyBlade
- https://vuldb.com/submit/782904
- https://vuldb.com/vuln/355329
- https://vuldb.com/vuln/355329/cti
- https://github.com/advisories/GHSA-23jg-5f8m-gw8c
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
