/

CVE-2026-136167

Severity:

HIGH RISK

(7.8)

Unsafe Deserialization (CWE-502) in vedo File Loading

CVE-2026-136167

Received

Vulnerability type

Category:

Unsafe Deserialization

CWE:

CWE-502

Impact:

Arbitrary Code Execution

Severity:

HIGH RISK

(7.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

vedo can deserialize Python objects from crafted .npy or .npz files when loading files with allow_pickle=True. Opening a malicious mesh, assembly, scene, or font file may execute code with the privileges of the user running vedo.

Affected context

The issue affects vedo through version 2026.6.3 when file-loading paths process .npy or .npz data with pickle support enabled. Mesh, assembly, scene, or font files may be risky when they contain attacker-controlled serialized objects and are opened by an application using the affected behavior.

Exploit preconditions

  • Attack surface: File loading in applications or workflows that use vedo to open relevant files
  • Required access: The attacker must be able to supply or influence a file that the victim opens
  • Trigger point: Deserialization of a .npy or .npz file with allow_pickle=True
  • Why exploitation is possible: Pickle-enabled loading can invoke object reconstruction behavior, including a malicious object's __reduce__ method

Why this happens

The underlying issue is unsafe deserialization, mapped to CWE-502. Enabling pickle when loading potentially untrusted NumPy data allows serialized objects to trigger reconstruction logic during parsing, rather than treating the file contents solely as passive data.

Potential impact

  • Arbitrary code may run with the privileges of the process opening the file
  • The affected user's data or application environment could be accessed or modified
  • The compromised process could be used to access other resources available to that user

General mitigation guidance

Common defensive patterns focus on avoiding executable deserialization of untrusted files:

  • Prefer data formats and loading modes that do not instantiate arbitrary objects
  • Keep pickle support disabled for files that are not fully trusted
  • Validate file provenance and constrain accepted file types and structures
  • Run file-processing workloads with least privilege and limit access to sensitive resources
  • Separate handling of untrusted files from high-trust workflows where feasible

How teams detect issues like this

Detection can include static analysis for pickle-enabled NumPy loading, such as uses of allow_pickle=True, especially in code paths that process externally supplied files. Code reviews can check whether file provenance and trust boundaries are enforced before deserialization. Policy checks may also prohibit pickle-enabled loading in applications that handle untrusted data.

Sources

SourceLink
github.comgithub.com/marcomusy/vedo/blob/v2026.6.3/vedo/file_io/loaders.py#L262-L265
github.comgithub.com/marcomusy/vedo/commit/94a56ee59dd482df00dc0441f0cc21567bd13685
github.comgithub.com/marcomusy/vedo/issues/1319
vulncheck.comvulncheck.com/advisories/vedo-through-2026.6.3-insecure-deserialization-rce-via-numpy-file-loading

Frequently asked

questions

Opening a crafted relevant file may trigger the unsafe deserialization behavior when the affected loading path uses allow_pickle=True.

The attacker generally needs a way to supply or influence a file that a victim or application using vedo will open.

Avoid pickle-enabled loading for untrusted files and use non-executable data formats or loading modes where possible.

Treat files from outside trusted boundaries as untrusted input, review deserialization APIs, and apply least privilege to processes that handle user-supplied files.

Find out what's already
exploitable in your codebase.