Skip to main content

TinaCMS GraphQL EUVDEUVD-2026-126459

| CVE-2026-129861 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-11-16 VulnCheck GHSA-pqm4-95x4-2g57
6.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to GraphQL/content API
  2. Delivery
    Target pre-existing dangling symlink in content root
  3. Exploit
    Submit crafted relativePath document write
  4. Execution
    Bypass lexical assertWithinBase check
  5. Persist
    FilesystemBridge follows link, writes outside root
  6. Impact
    Drop 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@tinacms/graphql 2.2.2 ≤4.1.0

Affected Packages

npm @tinacms/graphql fix: 2.2.2
euvd tinacms_graphql no fix

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

Vendor (VulnCheck) PRIMARY 6.0 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 npm packages depend on @tinacms/graphql (3 direct, 3 indirect)

Ecosystem-wide dependent count for version 2.2.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
Low
niche open-source Git-backed headless CMS, limited enterprise footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy