CVE-2026-141592: Kangas before 2.4.12 Code Execution via DataGrid About Text Sandbox Escape
Kangas before 2.4.12 contains an eval injection vulnerability that allows attackers to execute Python code by embedding malicious .show() arguments in DataGrid About text. Attackers can distribute crafted .datagrid files whose About text or filter expressions escape the replaced builtins sandbox via attribute traversal in parseargskwargs(), running code as the Kangas server process.
Affected Software
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Kangas deployments running a version before 2.4.12 are exposed when they process a crafted .datagrid file. The injected Python code runs as the Kangas server process.
What does an attacker need to exploit it?
An attacker needs to get a crafted .datagrid file processed by Kangas, with malicious .show() arguments in DataGrid About text or filter expressions. The attack relies on escaping the replaced __builtins__ sandbox through attribute traversal in parse_args_kwargs().
Are users required to take an action for exploitation to occur?
Yes. The vulnerable application must process the attacker-crafted .datagrid file; the issue is not described as remotely exploitable without that interaction.
How can I determine whether my deployment is affected?
Check whether the installed Kangas version is earlier than 2.4.12 and whether the deployment opens or processes .datagrid files from untrusted sources. Such deployments should be treated as exposed.