CVE-2026-138079

TencentCloud Octop Workspace File API workspace.py _workspace_io_path path traversal

Published Nov 28, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
Description
A security vulnerability has been detected in TencentCloud Octop up to 1.0.3b7. Affected by this vulnerability is the function _workspace_io_path of the file src/octop/api/routers/workspace.py of the component Workspace File API. The manipulation of the argument path leads to path traversal. The attack may be initiated remotely. Upgrading to version 1.0.3b8 addresses this issue. The identifier of the patch is 5670016f1259405f1ffa0876bdbf8a44190adb25. Upgrading the affected component is advised.

Analysis

AI-generated

Technical impact

The vulnerability resides in the _workspace_io_path function of the Workspace File API in TencentCloud Octop. The function fails to validate the path argument, allowing special sequences such as '..' or absolute paths to escape the intended workspace directory. Attackers can therefore trigger a directory traversal that may expose or modify arbitrary files on the host. This flaw is classified as CWE‑22 and poses a remote path traversal risk when the vulnerable API is exposed.

Affected Systems

TencentCloud Octop, versions up to 1.0.3b7, are affected. The fix is delivered in release 1.0.3b8, which incorporates the commit 5670016f1259405f1ffa0876bdbf8a44190adb25. Systems running earlier releases that expose the Workspace File API without proper input validation are vulnerable.

Risk and Exploitability

With a CVSS score of 5.3, the flaw is considered of moderate severity. No EPSS value is available, and the issue is not listed in CISA's KEV catalog, suggesting that widespread exploitation is not yet confirmed. However, because the attack vector is remote—with a malicious client able to send a crafted path string directly to the API—the pathway to exploitation is straightforward assuming network accessibility to the service. Administrators should evaluate the exposure of the API and implement mitigations promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade TencentCloud Octop to version 1.0.3b8 or later using the official patch identified by commit 5670016f1259405f1ffa0876bdbf8a44190adb25.
  • Implement strict server‑side validation of the path parameter, ensuring it contains only allowed characters and does not include '..' or absolute path components, and enforce that resolved paths remain within the intended workspace directory.
  • Run the Octop service with minimized filesystem permissions so that even if a directory traversal occurs, the potential impact is constrained to the least privileged set of files.

Generated by OpenCVE AI on November 28, 2026 at 20:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description A security vulnerability has been detected in TencentCloud Octop up to 1.0.3b7. Affected by this vulnerability is the function _workspace_io_path of the file src/octop/api/routers/workspace.py of the component Workspace File API. The manipulation of the argument path leads to path traversal. The attack may be initiated remotely. Upgrading to version 1.0.3b8 addresses this issue. The identifier of the patch is 5670016f1259405f1ffa0876bdbf8a44190adb25. Upgrading the affected component is advised.
Title TencentCloud Octop Workspace File API workspace.py _workspace_io_path path traversal
First Time appeared Tencentcloud
Tencentcloud octop
Weaknesses CWE-22
CPEs cpe:2.3:a:tencentcloud:octop:*:*:*:*:*:*:*:*
Vendors & Products Tencentcloud
Tencentcloud octop
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 7.4, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L/E:X/RL:O/RC:C'}

cvssV4_0

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

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 28, 2026, 7:30 PM
Reserved
Nov 27, 2026, 7:17 PM
Status
Deferred
Published
Nov 28, 2026, 8:17 PM
Modified
Nov 28, 2026, 8:17 PM