Skip to main content
Vulnerability Database/CVE-2026-113352

CVE-2026-113352: uTox Path Traversal Vulnerability

CVE-2026-113352 is a path traversal vulnerability in uTox through version 0.18.1 that enables attackers to write arbitrary files and execute code. This post explains the technical details, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-113352 Overview

CVE-2026-113352 is a path traversal vulnerability [CWE-22] affecting uTox through version 0.18.1, a lightweight client for the Tox peer-to-peer messaging protocol. The flaw allows a Tox contact to write arbitrary files on a victim's system by sending file transfers that contain absolute paths or ../ sequences, provided the victim has auto-accept enabled. Attackers can overwrite shell startup files or plant crafted .ftinfo resume records that ft_find_resumeable() later loads. By abusing the resulting FILE pointers to write to /proc/self/mem, an attacker can achieve arbitrary code execution in the uTox process.

Critical Impact

A remote Tox contact with auto-accept enabled can write arbitrary files and achieve code execution on the victim's host.

Affected Products

  • uTox desktop client through version 0.18.1
  • Installations with auto-accept file transfers enabled
  • Linux builds exposing /proc/self/mem to the uTox process

Discovery Timeline

  • 2026-10-20 - CVE-2026-113352 published to the National Vulnerability Database
  • 2026-10-20 - Last updated in NVD database

Technical Details for CVE-2026-113352

Vulnerability Analysis

The vulnerability stems from uTox accepting the filename supplied by a remote Tox friend without sanitizing path separators or rejecting absolute paths. When auto-accept is enabled, the client writes the incoming transfer directly to disk using the attacker-controlled name. This behavior violates the trust boundary between a peer-supplied identifier and the local filesystem.

Two exploitation primitives follow from the primary flaw. First, an attacker can place content at predictable locations such as shell startup scripts, achieving persistence or command execution at next login. Second, uTox stores resume metadata in .ftinfo files that ft_find_resumeable() deserializes on startup. A crafted .ftinfo can redirect a FILE* write target to /proc/self/mem, allowing the attacker to patch the running process memory and execute arbitrary code.

Review of the affected code paths is documented in the uTox file transfers source and the filesystem helper.

Root Cause

The root cause is missing input validation on the remote filename field of incoming Tox file transfers. uTox concatenates the attacker-supplied string with the local download directory without stripping ../ traversal sequences or rejecting absolute paths beginning with /.

Attack Vector

The attack requires an existing Tox friendship with the victim and a target client configured for auto-accept. The attacker initiates a file transfer whose filename contains traversal characters or an absolute path. uTox writes the payload to the attacker-chosen location, enabling overwrite of shell profiles, desktop entries, or .ftinfo resume records that are later rehydrated into writable FILE pointers.

See the VulnCheck advisory for the end-to-end exploitation chain.

Detection Methods for CVE-2026-113352

Indicators of Compromise

  • Files written outside the configured uTox downloads directory by the uTox process.
  • Modifications to shell startup files such as ~/.bashrc, ~/.zshrc, or ~/.profile with uTox as the writer.
  • Unexpected .ftinfo files whose contents reference paths like /proc/self/mem or other /proc entries.
  • uTox process making write operations against /proc/self/mem.

Detection Strategies

  • Monitor file-write telemetry from the uTox binary and alert when destinations fall outside the user's download folder.
  • Flag any process writing to /proc/self/mem, which is highly unusual for a messaging client.
  • Hunt for recently modified shell initialization files whose parent process is uTox.

Monitoring Recommendations

  • Enable filesystem auditing on $HOME dotfiles and shell startup scripts.
  • Collect process-to-file write events on Linux endpoints and baseline uTox activity.
  • Review Tox friend lists and auto-accept configuration during routine endpoint audits.

How to Mitigate CVE-2026-113352

Immediate Actions Required

  • Disable the auto-accept file transfer feature in uTox client settings until a patched build is deployed.
  • Remove or quarantine any attacker-planted .ftinfo files from the uTox profile directory.
  • Audit shell startup files on hosts that have run vulnerable uTox builds with auto-accept enabled.

Patch Information

Fixes are tracked upstream in uTox pull request #1602 and uTox pull request #1603, which address filename sanitization and resume-record validation. Discussion of the underlying issue is captured in uTox issue #1587. Upgrade to a build that includes both pull requests once released by the uTox project.

Workarounds

  • Set auto-accept to disabled and manually approve each incoming transfer.
  • Restrict the uTox download directory to a dedicated path with no executable or dotfile overlap.
  • Run uTox under a Linux sandbox such as bubblewrap or firejail to deny writes to $HOME dotfiles and /proc/self/mem.
  • Prune Tox friend lists to trusted contacts only, reducing the pool of accounts able to initiate transfers.
bash
# Example firejail profile restricting uTox writes
firejail \
  --private-bin=utox \
  --read-only=${HOME} \
  --read-write=${HOME}/Downloads/utox \
  --noexec=${HOME}/Downloads/utox \
  --protocol=unix,inet,inet6 \
  --caps.drop=all \
  utox

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.