TinaCMS @tinacms/graphql arbitrary file write via dangling symlinks
tinacms @tinacms/graphql
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @tinacms/graphql npm |
|
|
Original description
@tinacms/graphql 2.2.2 through 4.1.0 contains a path traversal vulnerability that allows authenticated users to write files outside the content root by following pre-existing dangling symlinks. Attackers can create documents through the GraphQL API targeting a dangling symlink, bypassing assertWithinBase checks, to write controlled content such as authorized_keys to server-writable locations.
From the CVE record · VulnCheck