CVE-2026-138590

ARTEX 0.7.0 before 0.7.1 Symlink Following via Chat Upload Directory

Published Dec 1, 2026 CVSS 4.0 · 1 Low EPSS n/a KEV · Not listed
Description
ARTEX 0.7.0 before 0.7.1 contains a symlink following vulnerability in chatUpload that allows the unprivileged executor to redirect root-written operator uploads outside the run directory. Attackers with executor code execution, such as a prompt-injected agent, can replace the uploads directory with a symlink so the root server writes uploaded files into any host directory.

Analysis

AI-generated

Technical impact

This flaw is a CWE‑59 symlink following vulnerability in the chatUpload function of ARTEX. An attacker who can inject code into the executor context can cause the server, which runs as root, to write uploaded files through a user‑supplied symlink into arbitrary locations on the host file system. Based on the description, it is inferred that attacker‑controlled files can be placed outside the intended upload directory, potentially enabling tampering of configuration files, overwriting of binaries, or creation of malicious content. The vulnerability effectively provides the ability to write arbitrary data with root privileges, elevating the risk of privilege escalation and system compromise.

Affected Systems

The issue affects all releases of BaaRai:ARTEX prior to version 0.7.1, including 0.7.0. The vulnerability resides in the server component handling chat uploads.

Risk and Exploitability

The CVSS base score for this issue is 1, indicating a low overall severity in isolation. However, the flaw requires an attacker to already possess executor code execution, such as a prompt‑injected agent, which is a high‑risk entry point in many environments. EPSS data is not available and this vulnerability is not listed in CISA KEV. Despite the low score, the combination of root‑written uploads and the ability to redirect them to arbitrary directories provides a powerful escalation vector, enabling an attacker with executor access to write arbitrary files and potentially compromise the host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ARTEX to version 0.7.1 or later, which removes the symlink following logic from the chat upload directory.
  • If upgrading is not immediately possible, mount or configure the uploads directory with the `nofollow` option or apply a file‑system attribute (e.g., `chattr +i`) that prevents symlink traversal, ensuring that root writes are confined to the intended directory.
  • Review all code paths that accept file paths from untrusted input, enforcing strict path validation to guarantee uploads are stored only within a bounded directory tree and preventing absolute or relative paths that escape the intended location.

Generated by OpenCVE AI on December 2, 2026 at 01:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description ARTEX 0.7.0 before 0.7.1 contains a symlink following vulnerability in chatUpload that allows the unprivileged executor to redirect root-written operator uploads outside the run directory. Attackers with executor code execution, such as a prompt-injected agent, can replace the uploads directory with a symlink so the root server writes uploaded files into any host directory.
Title ARTEX 0.7.0 before 0.7.1 Symlink Following via Chat Upload Directory
Weaknesses CWE-59
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 1, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L'}

Subscriptions

No data.

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 1, 2026, 10:07 PM
Reserved
Nov 30, 2026, 2:04 AM
Status
Received
Published
Dec 1, 2026, 3:17 PM
Modified
Dec 1, 2026, 11:17 PM