Skip to main content

Kangas EUVDEUVD-2026-140790

| CVE-2026-141592 HIGH
Eval Injection (CWE-95)
2026-12-02 VulnCheck GHSA-r7vh-qcqh-xgxj
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .datagrid About/filter payload
  2. Delivery
    Distribute file to Kangas user or upload to shared server
  3. Exploit
    Victim opens grid, UI requests About page
  4. Execution
    eval escapes __builtins__ via attribute traversal
  5. Impact
    Execute arbitrary Python as Kangas server process

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a victim to open/view a crafted .datagrid file in the Kangas UI (CVSS UI:P), because the About page - containing the attacker-controlled .show(...) argument text - is evaluated every time a grid is opened; filter expressions compiled by the ListComprehension SQL function are a second trigger path. Default installations are exposed because RestrictedPython is NOT installed by pip install kangas, leaving only the bypassable __builtins__ replacement. Affected versions are <= 2.4.11. Limiting factors: exploitation depends on delivering a malicious .datagrid file and on a user opening it (or a hosted/shared server rendering an untrusted upload), and code executes with the privileges of the Kangas server process - so risk is highest for multi-user or internet-exposed Kangas instances and lower for single-user local-only use. Workarounds do not fully mitigate: per the vendor, only open DataGrid files from trusted sources and do not expose the server to untrusted users until upgrading to 2.4.12.

Impact

This is a genuine arbitrary-code-execution flaw (CWE-95 eval injection) whose real-world urgency is moderated by its delivery requirements rather than its impact. The only severity signal provided is a CVSS 4.0 base vector of AV:L/AC:L/AT:N/PR:N/UI:P with VC:H/VI:H/VA:H (score 8.5), meaning low attack complexity and no privileges, but a LOCAL vector that requires passive user interaction - a victim must open a crafted .datagrid file in the Kangas UI (the About page is re-evaluated every time a grid is opened). No EPSS score and no SSVC automatable/technical-impact breakdown were supplied, so exploitation-probability cannot be quantified from this data. The CVE is NOT in CISA KEV and no active-exploitation signal is present, so this is 'no public exploit identified at time of analysis' - though the GHSA advisory publishes the exact escape primitive (().__class__.__base__.__subclasses__() reaching real builtins because __builtins__ replacement is not a true sandbox), which materially lowers the bar to write a working exploit. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with high technical impact but a user-interaction-gated, local, niche-product vector. Net: treat as a real but prioritizable issue - patch within the week per the decision label, higher priority for anyone running a hosted/shared Kangas server where untrusted users can supply .datagrid files.

Exploit ScenarioDerived

An attacker crafts a .datagrid file whose About text contains a python code block with a .show(...) call, or a malicious ListComprehension filter expression, embedding an attribute-traversal payload that escapes the replaced-__builtins__ environment. The file is distributed to a victim (or uploaded to a shared Kangas instance); when the grid is opened in the UI, Kangas evaluates the argument text and runs the attacker's Python as the Kangas server process account. No public working exploit is identified at time of analysis, but the GHSA advisory describes the escape technique in detail.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

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.

RemediationAI

Vendor-released patch: upgrade to Kangas 2.4.12 with pip install -U kangas (release https://github.com/comet-ml/kangas/releases/tag/2.4.12, fix commit 42df8ed795bbf9490df902153668c1b157416404 / PR #133). The vendor states there are no workarounds that fully mitigate the issue; until upgrading, only open DataGrid files from trusted sources, and do not expose the Kangas server to untrusted users or networks - a trade-off that limits collaboration and remote access on shared or hosted instances but removes the delivery vector, and multi-user or internet-exposed deployments carry the highest risk because code runs as the server account. Installing RestrictedPython alone is not presented by the vendor as a remediation, since 2.4.12 makes its AST validation unconditional and moves the About path to ast.literal_eval regardless of that package's presence; remediation guidance and validation details are in the advisory at https://github.com/comet-ml/kangas/security/advisories/GHSA-x495-684r-696h.

Affected VersionsENISA

Kangas 0 <2.4.12

Affected Packages

euvd kangas fix: 2.4.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is CWE-95 (eval injection) in Kangas, Comet ML's open-source data exploration tool for pandas/DataFrame-scale datasets. Two server-side code paths fed untrusted text into eval(): parse_args_kwargs() in backend/kangas/server/utils.py, which parsed the argument text of .show(...) snippets found in a grid's About page, and the ListComprehension SQL function, which compiled and evaluated [x for x in {'col'} if ...] filter expressions. Both depended on safe_compile() and safe_env(); when RestrictedPython is installed those wrappers supplied compile_restricted_eval, safer_getattr and guarded getitem/getiter, but RestrictedPython is not a dependency of pip install kangas, so on a default install the substitute environment only swapped out __builtins__ - it never blocked attribute access, so a chain like ().__class__.__base__.__subclasses__() walks from an ordinary object back to the real builtins without any name lookup. The fix uses ast.parse plus ast.literal_eval so .show(...) arguments must be literals and nothing is evaluated, and adds an always-on validate_expression() pass that rejects names and attributes starting with _, a blocklist of frame/globals traversal attributes (gi_frame, gi_code, gi_yieldfrom, f_back, f_globals, f_builtins, f_locals, tb_frame, tb_next, co_code, cr_frame, ag_frame, mro, func_globals, and str.format/format_map) whether or not RestrictedPython is present; because the About page is rendered on every grid open, the trigger is simply viewing the grid, and the trigger for the filter-expression path is not further described in the available sources.

Know when Kangas gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

Triggered by opening a crafted file (UI:R, AV:L) with no attacker privileges (PR:N); code runs as the server process giving full C/I/A:H, no scope change.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Kangas, a data grid visualization tool used by data teams, contains a high-severity flaw (CVE-2026-141592) in versions 2.4.11 and earlier that lets a malicious .datagrid file execute arbitrary code with the server's privileges when a user views the grid's About page. Because a vendor patch (2.4.12) is already available and no public exploit code has been identified at time of analysis, the primary organizational risk is unpatched internal deployments that could expose the server process and its data to untrusted files. Leadership should care because any team member opening a shared grid could inadvertently compromise the host, potentially affecting data integrity and other systems reachable by that process.

Business Impact: Medium
Compensating Controls

Apply vendor patch: Kangas 2.4.12 (which also removes eval from the About path). Until upgraded, restrict ingestion of untrusted .datagrid files to trusted sources, install RestrictedPython to harden the sandbox, and run Kangas with least-privilege service accounts.

Threat Intelligence Overview

Prevalence
Low
niche open-source ML DataGrid explorer (Comet ML), limited production footprint
Social Media
3
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy