CVE-2026-134363 is a low-severity path bug in Coder's read_skill_file tool. Its value as a case study is the mismatch between a lexical path check and filesystem behavior. The advisory says Coder validated skill file paths as strings but followed symbolic links that pointed outside the skill directory.
A string that looks contained can still resolve to another location. Developers see this often in archive extraction, static file servers and agent tools. The correct check compares the resolved object with the allowed root, not only the text passed by the caller.
Affected range
The advisory lists Coder 2.32.0 before 2.34.17, 2.35.0 before 2.36.12, 2.37.0 before 2.37.9, and 2.38.0 before 2.38.5 as affected. Fixed releases include 2.34.17, 2.36.12, 2.37.9 and 2.38.5. The separate lines matter because a team cannot safely infer that the newest patch in one minor line covers every supported branch.
The attacker needs a skill directory that contains a symlink to a target outside that directory and the ability to invoke the file-reading tool. The advisory does not establish a public unauthenticated exploit. Treat the result as an information exposure primitive with a trust issue around workspace content.
The fix pattern
Safe path handling starts by disallowing untrusted symlinks in the skill tree, then resolves the candidate path and checks that the result remains below the skill root. A canonical-path check should use the same filesystem view as the eventual read. A container path, a host path and a workspace path can resolve differently.
Opening with a no-follow flag is useful on platforms that support it. If symlinks are required for a supported workflow, resolve each link and verify its target policy before opening. Do not rely on the tool caller to pass a clean path.
Operational response
Patch all Coder deployments that match the affected ranges. Review custom workspace images for skill directories with links to host mounts, home directories, secret files or the workspace root. Remove links that are not required and make the skill directory read-only to ordinary workspace users.
Inspect tool invocation logs for reads outside the expected skill path. Workspace applications often treat files as developer content and do not log every open. Correlate unusual file access with agent prompts, tool calls and process activity from the same session.
If the exposed file could contain credentials, rotate them after identifying the scope. A path traversal that reads one file can still disclose an SSH private key, cloud token file or service configuration with a much wider blast radius.
Verification
Add a regression test with a symlink inside the skill directory. The expected result is rejection, not a read of the target file. Also test .. segments, an absolute path and a link chain. Verify the same policy in each deployment mode used by the product.
The low CVE score should not decide whether to patch. A small read primitive can become a credential incident when the exposed path is chosen by an attacker who knows the workspace layout.