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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| comet-ml | Kangas | < 2.4.12 |
References
- https://github.com/comet-ml/kangas/blob/0dde16161058281b569c013c3f5f7355161ee17b/backend/kangas/server/utils.py#L141-L146
- https://github.com/comet-ml/kangas/commit/42df8ed795bbf9490df902153668c1b157416404
- https://github.com/comet-ml/kangas/issues/132
- https://github.com/comet-ml/kangas/releases/tag/2.4.12
- https://github.com/comet-ml/kangas/security/advisories/GHSA-x495-684r-696h
- https://www.vulncheck.com/advisories/kangas-before-2.4.12-code-execution-via-datagrid-about-text-sandbox-escape
Timeline
- Published
- Dec 2, 2026
- Last modified
- Dec 2, 2026
- NVD status
- Received