PYSEC-2026-2975
Vulnerability from pysec - Published: 2026-07-13 14:36 - Updated: 2026-07-13 16:05A 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.
| Name | purl | pyblade | pkg:pypi/pyblade |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "pyblade",
"purl": "pkg:pypi/pyblade"
},
"ranges": [
{
"events": [
{
"introduced": "0.1.8-alpha"
},
{
"last_affected": "0.2.0-alpha"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1.8",
"0.1.9"
]
}
],
"aliases": [
"CVE-2026-5559",
"GHSA-23jg-5f8m-gw8c"
],
"details": "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.",
"id": "PYSEC-2026-2975",
"modified": "2026-07-13T16:05:50.851806Z",
"published": "2026-07-13T14:36:48.188699Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5559"
},
{
"type": "WEB",
"url": "https://github.com/AntaresMugisho/PyBlade/issues/1"
},
{
"type": "WEB",
"url": "https://github.com/AntaresMugisho/PyBlade/issues/1#issue-4086730906"
},
{
"type": "PACKAGE",
"url": "https://github.com/AntaresMugisho/PyBlade"
},
{
"type": "WEB",
"url": "https://vuldb.com/submit/782904"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/355329"
},
{
"type": "WEB",
"url": "https://vuldb.com/vuln/355329/cti"
},
{
"type": "PACKAGE",
"url": "https://pypi.org/project/pyblade"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-23jg-5f8m-gw8c"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P",
"type": "CVSS_V4"
}
],
"summary": "PyBlade: SSTI/RCE via Bypassed AST Validation in sandbox.py"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.