Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to GraphQL/content API
-
DeliveryTarget pre-existing dangling symlink in content root
-
ExploitSubmit crafted relativePath document write
-
ExecutionBypass lexical assertWithinBase check
-
PersistFilesystemBridge follows link, writes outside root
-
ImpactDrop controlled file (e.g. authorized_keys)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Requires THREE concurrent conditions, not a default-config remote hit: (1) authenticated access at the privilege level that can create/modify documents through Tina's GraphQL/local-database write flow (PR:L); (2) a dangling symlink or junction that ALREADY exists inside an allowed collection/content root (e.g. content/posts/pivot), since assertWithinBase only blocks lexical ../ and the attacker does not create the link via this bug (AT:P) - typically a link committed into the content tree or created by another means; and (3) the host application actually exposes Tina's GraphQL/content put/delete/get operations over the network, which the GHSA explicitly flags as the determinant of real network exploitability. Limiting factors: authentication is required, the pre-existing link precondition is attacker-uncontrolled, and impact is confined to filesystem locations writable by the server process. |
| Impact | This is a medium-severity, precondition-gated integrity flaw rather than a drop-everything emergency. The authoritative CVSS 4.0 vector (6.0) encodes the key limiters: AV:N but PR:L (authenticated) and AT:P, meaning a dangling symlink/junction must ALREADY exist inside the allowed content root before the lexical assertWithinBase check can be bypassed - the attacker does not create that link through this bug. Impact is integrity-only (VI:H; VC:N/VA:N), consistent with the documented ability to write controlled content (e.g. authorized_keys) to server-writable locations. The vuln.today Decision label is 'this_month' (not act_now/emergency), aligning with the medium score. No CISA KEV entry and no EPSS score were provided, so exploitation-in-the-wild and statistical exploit probability are both UNKNOWN here - do not treat absence as proof of safety or of exploitation. A public PoC reference exists via the VulnCheck and GHSA advisories (a Windows-junction local reproduction), but it is not verified as a packaged working remote exploit, and the GHSA itself states network exploitability 'depends on how the application exposes Tina's GraphQL/content operations.' Net: a real issue worth patching on a normal cycle, materially de-prioritized versus a raw CVSS read by the authentication requirement and the pre-existing-symlink precondition. CONFLICT TO VERIFY: the CVE description lists 2.2.2 through 4.1.0 as vulnerable while the GHSA package metadata lists vulnerable <=2.2.0 fixed in 2.2.2 - the affected/fixed range is contradictory across sources. |
| Exploit ScenarioDerived | An authenticated low-privileged user (or a repository where a dangling symlink/junction was committed into the content tree) issues a GraphQL/content mutation whose relativePath points at the pre-existing symlink inside an allowed collection such as content/posts. Because FilesystemBridge validates only the lexical string path, the write follows the link and lands outside the content root - for example dropping an attacker-controlled authorized_keys into a server-writable location. A public PoC reference exists (GHSA/VulnCheck local junction reproduction); it is not verified as working remote exploit code, and reachability depends on how the host application exposes Tina's write operations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Authenticated users of the @tinacms/graphql npm package can write files outside the configured content root by directing GraphQL document writes through a pre-existing dangling symlink or junction inside an allowed collection. The flaw is a medium-severity, precondition-gated integrity issue: it requires a link already present in the content tree, authenticated write access, and host-application exposure of Tina's GraphQL content operations; no CISA KEV entry or released exploit code is present in the supplied data, although the public advisory includes a local reproduction. Successful exploitation can place attacker-controlled content, such as authorized_keys, into server-writable locations outside the intended root.
RemediationAI
Apply the vendor fix referenced by GHSA-g9c2-gf25-3x67 (https://github.com/tinacms/tinacms/security/advisories/GHSA-g9c2-gf25-3x67) and patch commit f124eabaca10dac9a4d765c9e4135813c4830955. The supplied package metadata lists Vendor-released patch: @tinacms/graphql 2.2.2, but this conflicts with the CVE/VulnCheck range of 2.2.2 through 4.1.0, so verify the actually fixed release before relying on 2.2.2. Until that is confirmed, prevent the precondition by removing or refusing dangling symlinks and junctions under every allowed content root, restrict document create, modify, and delete operations through Tina's GraphQL API to trusted authenticated users, and avoid exposing those content operations beyond the intended network boundary; the advisory notes that network exploitability depends on how the host application exposes them. The advisory's code-level fix is to replace string-based checks with fs.realpath-aware containment for every filesystem sink, including write paths whose nearest existing parent is canonicalized.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
@tinacms/graphql implements TinaCMS's GraphQL/local-database content layer, and its FilesystemBridge validates paths with path.resolve(path.join(baseDir, filepath)) followed by startsWith(resolvedBase + path.sep). That blocks lexical ../ sequences but does not canonicalize symlink or junction targets with fs.realpath, so get(), put(), delete(), and glob() can follow a pre-existing link inside an allowed collection (for example content/posts/pivot) to a filesystem target outside the content root; the resolver's own validatePath check is likewise string-based. This is CWE-59 link following combined with a path-traversal bypass, and the trigger requires an existing dangling link plus the described GraphQL write flow rather than a default unauthenticated remote request. The CPE cpe:2.3:a:tinacms:@tinacms/graphql:*:*:*:*:*:*:*:* identifies the npm package but is wildcarded and does not resolve the version-range inconsistency in the supplied data.
Know when Tinacms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
AC:H because a dangling symlink must already exist inside the content root (attacker-uncontrolled precondition), PR:L for authenticated API access, and integrity-only write impact (I:H, C:N/A:N) matching the documented file-write escape.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
@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.
Blast Radius
ecosystem impact- 6 npm packages depend on @tinacms/graphql (3 direct, 3 indirect)
Ecosystem-wide dependent count for version 2.2.2.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Cross-tenant authorization bypass in TinaCMS self-hosted deployments allows any holder of a legitimate TinaCloud account
Remote code execution in TinaCMS affects versions prior to 3.1.1, @tinacms/cli before 2.0.4, and @tinacms/graphql before
Cross-site request forgery in the TinaCMS CLI dev server allows an attacker-controlled web page to write arbitrary files
Broken access control across all four first-party TinaCMS production media adapters (next-tinacms-s3, next-tinacms-dos,
Off-origin preview framing in TinaCMS (tinacms <= 3.13.0 and @tinacms/app <= 2.5.13) lets an unauthenticated attacker wh
Code injection in the @tinacms/mdx serializer (all versions before 2.4.2) lets an authenticated content editor, or anyon
Code injection in @tinacms/cli versions up to and including 2.7.0 lets a crafted Git branch name break out of the string
Stored cross-site scripting in TinaCMS's @tinacms/web-components package (all versions up to and including 0.2.0) lets a
EUVD-2026-126459
GHSA-pqm4-95x4-2g57
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB