All vulnerabilities

PyPI

CVE-2026-141592

Kangas before 2.4.12 Code Execution via DataGrid About Text Sandbox Escape

Severity
High 8.5
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
2.4.12
Exploit chance
0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 2 Dec 2026
Weakness
Eval injection (CWE-95)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

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 parse_args_kwargs(), running code as the Kangas server process.

From the CVE Program.

Affected software

SoftwareAffected versions
kangasPyPI · osv:PyPI:kangas
  • Every version before 2.4.12

About kangas

Weekly downloads (PyPI)
513PyPI Stats, 2 Dec 2026

This is the only vulnerability in kangas in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141592