Kangas 2.4.12 Patch Fixes High-Severity Sandbox Escape Flaw

2 min read
Source: CVEs | Zero Wire | Cloudflare Radar
Kangas 2.4.12 Patch Fixes High-Severity Sandbox Escape Flaw
Photo: CVEs | Zero Wire | Cloudflare Radar
TL;DR

A high-severity vulnerability in the open-source data visualization tool Kangas has been patched in version 2.4.12. The flaw allowed attackers to execute arbitrary Python code by exploiting a sandbox escape in the DataGrid feature. The fix, released on December 1, 2026, replaces unsafe evaluation methods with literal parsing and stricter syntax validation.

Key points

  • CVE-2026-141592 affects Kangas versions prior to 2.4.12, allowing remote code execution via crafted .datagrid files.
  • The vulnerability stems from improper neutralization of directives in dynamically evaluated code, specifically within the About text and filter expressions.
  • Attackers could bypass the __builtins__ sandbox using attribute traversal to execute code as the Kangas server process.
  • The CVSS 4.0 score is 8.5 (High), while the CVSS 3.1 score is 7.8 (High), reflecting high impact on confidentiality, integrity, and availability.
  • The patch, released on December 1, 2026, uses ast.literal_eval for About page arguments and validates filter syntax trees to reject dangerous attributes.

Background

Recent security reports have highlighted multiple sandbox escape vulnerabilities in various software, including Super Magic PHPSandbox and Eclipse Ditto. Kangas, an open-source tool by Comet-ML for visualizing multimedia datasets, is in open beta and widely used via pip install. This incident follows a pattern of flaws in dynamic code evaluation environments where optional security features are not enabled by default.

Why it matters

This vulnerability poses a significant risk to organizations using Kangas for data analysis, as it allows unauthenticated attackers to execute code on the server. The flaw highlights the dangers of relying on optional security features like RestrictedPython that are not installed by default. Immediate patching is crucial to prevent potential data breaches or system compromise.

What to watch

Users of Kangas should upgrade to version 2.4.12 or later immediately. Until patched, users should only open DataGrid files from trusted sources and avoid exposing the Kangas server to untrusted networks. The advisory notes that no workarounds fully mitigate the issue, making the update essential.

Share this article

Want the full story? Read the original reporting

Read on CVEs | Zero Wire | Cloudflare Radar