PT-2026-68525 · Bohdan Triapitsyn+1 · Openchamber
CVSS v4.0
9.3
Critical
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
OpenChamber version 1.11.7
Description
An issue exists in the file-serving endpoints '/api/fs/read', '/api/fs/stat', and '/api/fs/raw' that allows unauthenticated remote attackers to read arbitrary files. By providing an absolute path and setting the
allowOutsideWorkspace query parameter to true, attackers can bypass the workspace boundary check within the resolveReadPathFromContext() function. This occurs because the isPathWithinRoot guard is vacuous, potentially exposing sensitive data such as JWT signing secrets, SSH private keys, API credentials, and environment variables, which could lead to a full authentication bypass via forged session cookies on password-protected deployments.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Avoid using the
allowOutsideWorkspace parameter in the '/api/fs/read', '/api/fs/stat', and '/api/fs/raw' endpoints.Exploit
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openchamber