CVE-2026-138079
Deferred Deferred - Pending Action

Path Traversal in TencentCloud Octop

Vulnerability report for CVE-2026-138079, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-28

Last updated on: 2026-11-28

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-28
Last Modified
2026-11-28
Generated
2026-11-29
AI Q&A
2026-11-28
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
tencentcloud octop 1.0.3b7
tencentcloud octop to 1.0.3b8 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-138079 is a path traversal vulnerability in TencentCloud Octop up to version 1.0.3b7. It affects the Workspace File API, specifically the _workspace_io_path function in src/octop/api/routers/workspace.py. The flaw allows manipulation of the path argument to access files outside the intended workspace directory. Attackers can use absolute paths (starting with / or ~) to read or write sensitive files on the host system.

Detection Guidance

Check Octop logs for suspicious file access patterns or unauthorized workspace operations. Review API requests to /api/agents/{aid}/workspace/file, /workspace/upload, or /workspace/download endpoints for absolute paths (starting with / or ~). Inspect file system for unexpected modifications in /tmp, ~/.ssh/authorized_keys, or crontab.

Impact Analysis

A low-privilege attacker with a user account can exploit this to read sensitive files like config.json or octop.db, extract JWT secrets, and forge admin tokens. This enables full instance compromise, user enumeration, and remote code execution (RCE) by writing arbitrary files such as crontab or ~/.ssh/authorized_keys. The impact includes complete host system takeover.

Compliance Impact

This vulnerability could lead to unauthorized access to sensitive data, violating GDPR's data protection principles and HIPAA's security requirements for protected health information. Full system compromise may result in data breaches, unauthorized data exposure, and failure to meet compliance mandates for data confidentiality and integrity.

Mitigation Strategies

Upgrade Octop to version 1.0.3b8 or later. Ensure workspace file APIs enforce path validation to reject absolute or tilde paths. Restrict agent workspace roots to prevent host filesystem access. Review and revoke any unauthorized tokens or permissions.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-138079. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...