Kangas
Monthly
Arbitrary Python code execution in Kangas 2.4.11 and earlier lets a crafted .datagrid file run attacker-supplied code with the privileges of the Kangas server process: the grid's About text is scanned for python code blocks containing `.show(...)`, and that argument text is passed to eval() to build the Show DataGrid button each time the About page is rendered, while list-comprehension filter expressions compiled by the ListComprehension SQL function form a second eval path. No authentication is required of the attacker, but the victim must open or view the malicious grid (CVSS UI:P/UI:R), and default `pip install kangas` deployments are exposed because RestrictedPython is optional and not installed, leaving only a __builtins__ replacement that is escaped through attribute traversal such as `().__class__.__base__.__subclasses__()`. No public exploit code is identified at time of analysis; 2.4.12 removes eval from the About path in favor of ast.literal_eval and makes AST validation in safe_compile() unconditional.
Arbitrary Python code execution in Kangas 2.4.11 and earlier lets a crafted .datagrid file run attacker-supplied code with the privileges of the Kangas server process: the grid's About text is scanned for python code blocks containing `.show(...)`, and that argument text is passed to eval() to build the Show DataGrid button each time the About page is rendered, while list-comprehension filter expressions compiled by the ListComprehension SQL function form a second eval path. No authentication is required of the attacker, but the victim must open or view the malicious grid (CVSS UI:P/UI:R), and default `pip install kangas` deployments are exposed because RestrictedPython is optional and not installed, leaving only a __builtins__ replacement that is escaped through attribute traversal such as `().__class__.__base__.__subclasses__()`. No public exploit code is identified at time of analysis; 2.4.12 removes eval from the About path in favor of ast.literal_eval and makes AST validation in safe_compile() unconditional.