thClaws through 0.141.0 contains a link-following vulnerability in the post_inputs handler of the v1 API POST /v1/inputs endpoint that allows writes outside the workspace by following symlinks. Attackers who plant a symlink under the allowed inputs/ prefix can cause later authenticated uploads to write or truncate files outside the workspace with daemon privileges.
https://hackmd.io/@1ExmmukzRMWN7B4gQ4W-4Q/thclaws-api-inputs-symlink-escape
https://github.com/thClaws/thClaws/blob/v0.141.0/crates/core/src/api_v1/artifacts.rs#L335-L420
Published: 2026-10-11
Updated: 2026-10-11
Base Score: 4
Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:P
Severity: Medium
Base Score: 4.2
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Severity: Medium
Base Score: 2.3
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Severity: Low