CVE-2026-42532

visidata: visidata: Arbitrary file write via path traversal in EmailSheet

Published Oct 7, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
A path traversal vulnerability exists in the EmailSheet extract_parts functionality of VisiData (version(s): dev (commit 38b21f78)). A specially crafted .eml file can lead to arbitrary file write. An attacker can provide a malicious file to trigger this vulnerability.

Analysis

AI-generated

Technical impact

A path traversal flaw exists in the EmailSheet extract_parts feature of VisiData. By supplying a specially crafted .eml file, an attacker can cause the program to write files to arbitrary locations on the filesystem. The vulnerability is a classic Path Traversal weakness (CWE-22), and if an attacker can write executable or privileged configuration files, this could enable remote code execution or significant privilege escalation. The CVSS score of 5.5 indicates a moderate severity, with potential impact on confidentiality, integrity, and availability.

Affected Systems

The flaw affects VisiData, a data exploration toolkit, in development builds up to commit 38b21f78. The affected component is the EmailSheet extract_parts logic that processes incoming .eml files. Users running these unpatched builds should be considered vulnerable. No specific distribution versions are listed beyond the commit identifier.

Risk and Exploitability

The vulnerability requires the attacker to supply a malicious .eml file to the target application; thus the likely attack vector is an authenticated or local file injection scenario where the user can control the input. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog, suggesting no currently known exploits. Nonetheless, the moderate CVSS implies that an exploit would be reasonably valuable. Administrators should treat this as a potential risk, especially if VisiData handles untrusted email files in production environments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade VisiData to a non‑vulnerable release when available.
  • Limit filesystem write permissions for the VisiData execution user to the directories it legitimately needs.
  • Configure the application to reject or sanitize file paths derived from .eml attachments before writing, or disable the EmailSheet extract_parts feature if not required.

Generated by OpenCVE AI on October 7, 2026 at 15:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Visidata
Visidata visidata
Vendors & Products Visidata
Visidata visidata
Type Values Removed Values Added
Title Path Traversal in VisiData Email Processing Enables Arbitrary File Write visidata: visidata: Arbitrary file write via path traversal in EmailSheet
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Title Path Traversal in VisiData Email Processing Enables Arbitrary File Write
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A path traversal vulnerability exists in the EmailSheet extract_parts functionality of VisiData (version(s): dev (commit 38b21f78)). A specially crafted .eml file can lead to arbitrary file write. An attacker can provide a malicious file to trigger this vulnerability.
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
talos
Published
Updated
Oct 7, 2026, 2:38 PM
Reserved
Apr 29, 2026, 1:37 PM
Status
Awaiting Analysis
Published
Oct 7, 2026, 1:17 PM
Modified
Oct 7, 2026, 4:02 PM
Severity
Moderate
Public date
Oct 7, 2026, 12:54 PM