CVE-2026-141592: Kangas before 2.4.12 Code Execution via DataGrid About Text Sandbox Escape

Published Dec 2, 2026
·
Updated

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

1 affected component
pypi/kangas<2.4.12

Event History

Dec 2, 2026
CVE Published
via MITRE·01:08 AM
Data Sourced
via MITRE·01:08 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 AM
DescriptionSeverityWeakness
Event
via NVD·02:17 AM

Frequently Asked Questions

1

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.

2

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().

3

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.

4

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203