Authenticated code execution via constant-node AST bypass
Published Apr 5, 2026 · Updated Apr 5, 2026
Template injection in Antares Mugisho PyBlade 0.1.8-alpha and 0.1.9-alpha allows remote authenticated users to execute arbitrary code. _is_safe_ast in sandbox.py checks attribute allowlists only when an ast.Attribute base is ast.Name, so an ast.Constant base can reach Python magic attributes and object-class chains. Exploitation requires a consuming application to render an attacker-controlled template expression; successful payloads run commands with the application process's privileges.
Summary
What happened
Template injection in Antares Mugisho PyBlade 0.1.8-alpha and 0.1.9-alpha allows remote authenticated users to execute arbitrary code. _is_safe_ast in sandbox.py checks attribute allowlists only when an ast.Attribute base is ast.Name, so an ast.Constant base can reach Python magic attributes and object-class chains. Exploitation requires a consuming application to render an attacker-controlled template expression; successful payloads run commands with the application process's privileges.
The record
- CVE
- CVE-2026-5559
- Published
- Apr 5, 2026
- Updated
- Apr 5, 2026
- Vendor
- Antares Mugisho
- Product
- PyBlade
- Classifications
- CWE-791, CWE-1336, T1059.006
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 5, 2026CVE publishedPublication date reported by the CVE source.
- Apr 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1.8-alpha
- Affected versionversion=0.1.9-alpha
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- PyBlade constant-node AST bypass proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo