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.