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 _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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pyblade | >= 0.1.8-alpha, <= 0.2.0-alpha | no fix |
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://pypi.org/project/pyblade
- https://github.com/advisories/GHSA-23jg-5f8m-gw8c
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-791- Platform
- Python (PyPI)
- Package
pyblade- Disclosed
- 05.04.2026
- Updated
- 11.10.2026 14:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2975 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-23jg-5f8m-gw8c - CC BY 4.0
Vulnerability history: pyblade
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.