Skip to main content

Microsoft EUVDEUVD-2026-17965

| CVE-2026-34604 HIGH
Path Traversal (CWE-22)
2026-04-01 https://github.com/tinacms/tinacms GHSA-g9c2-gf25-3x67
7.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to TinaCMS
  2. Delivery
    Create symlink in content root
  3. Exploit
    Request file via symlink path
  4. Execution
    Access filesystem outside base directory
  5. Impact
    Modify or exfiltrate files

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Authenticated user with filesystem write access to TinaCMS content root directory where symlink/junction can be pre-created or manipulated. Requires ability to craft FilesystemBridge requests targeting symlink paths (e.g., content/posts/pivot/owned.md) that resolve outside intended base directory.

Impact

Real-world risk is moderate-to-high depending on deployment context. The CVSS 7.1 (High) score reflects Network attack vector, High complexity, Low privileges required, and High confidentiality/integrity impact with Low availability impact. The AC:H (High complexity) rating is justified because exploitation requires either pre-existing symlinks/junctions committed to the content repository or an attacker's ability to create them through separate write access-this is not a simple parameter manipulation attack. The PR:L (Low privileges) requirement means any authenticated Tina CMS user could potentially exploit this if symlinks exist in their content tree. Impact is severe: arbitrary file read enables exposure of credentials, configuration files, and source code; arbitrary write enables code execution via overwriting application files or configuration; delete operations could cause availability impact. No EPSS score provided limits quantitative risk assessment, but absence from CISA KEV indicates no observed in-the-wild exploitation campaigns. The SSVC framework would likely classify this as 'Act' priority if the application stores sensitive data or runs with elevated privileges, given the confirmed exploit scenario (local reproduction demonstrated), automatable nature once symlinks exist, and high technical impact. Primary mitigating factors: attack complexity barrier and authentication requirement reduce opportunistic exploitation likelihood compared to unauthenticated RCE vulnerabilities.

Exploit ScenarioDerived

An authenticated TinaCMS user with content editing privileges discovers or creates a symbolic link within the allowed content directory structure (for example, 'content/posts/pivot' pointing to '/etc' on Linux or 'C:\Windows\System32' on Windows). The attacker then crafts a GraphQL mutation to read, modify, or delete a file by specifying a relativePath parameter like 'pivot/passwd' or 'pivot/config/secrets.json'. The TinaCMS GraphQL resolver validates this path using string-based checks, which confirm the lexical path 'content/posts/pivot/passwd' is within the allowed 'content/posts' collection. The resolver passes this path to FilesystemBridge

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 01, 2026

Path traversal via symlink/junction bypass in @tinacms/graphql FilesystemBridge allows authenticated remote attackers with low privileges to read, write, and delete arbitrary files outside the configured content root. The vulnerability exploits a realpath canonicalization gap where path validation checks lexical string paths but filesystem operations follow symlink targets. Attack complexity is high (CVSS AC:H) as it requires pre-existing symlinks/junctions within the content tree or the ability

Earlier versions of this analysis (1)
v1 Apr 01, 2026 - 00:30 CVSS 7.1

Path traversal via symlink/junction bypass in @tinacms/graphql FilesystemBridge allows authenticated remote attackers with low privileges to read, write, and delete arbitrary files outside the configured content root. The vulnerability exploits a realpath canonicalization gap where path validation checks lexical string paths but filesystem operations follow symlink targets. Attack complexity is high (CVSS AC:H) as it requires pre-existing symlinks/junctions within the content tree or the ability to create them. EPSS data not provided; no CISA KEV listing indicates no confirmed active exploitation. Vendor-released patch available via commit f124eabaca10dac9a4d765c9e4135813c4830955.

RemediationAI

Apply the vendor-released patch immediately by upgrading to a TinaCMS version that includes commit f124eabaca10dac9a4d765c9e4135813c4830955 or later. The patch is available at https://github.com/tinacms/tinacms/commit/f124eabaca10dac9a4d765c9e4135813c4830955. The fix implements realpath-aware canonicalization by resolving both the base directory and candidate file paths using fs.realpath() before performing containment checks, ensuring validation operates on actual filesystem targets rather than lexical path strings. For write operations, the patch canonicalizes the nearest existing parent directory before creating files to prevent race conditions. If immediate patching is not feasible, implement the following interim controls: audit all content repositories for existing symlinks and junctions, removing any that point outside the intended content root; enforce strict access controls on content write operations to prevent authenticated users from creating symlinks; deploy filesystem monitoring to detect symlink creation attempts; consider running the TinaCMS process with restricted filesystem permissions using chroot jails or containers to limit damage from successful exploitation. Review application logs for suspicious file access patterns involving nested paths that might indicate exploitation attempts. Consult the full security advisory at https://github.com/advisories/GHSA-g9c2-gf25-3x67 for additional vendor guidance.

Affected VersionsENISA

tinacms < 2.2.2

Affected Packages

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

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

The vulnerability resides in @tinacms/graphql's FilesystemBridge class, which implements content management filesystem operations. The bridge uses path.resolve() combined with startsWith() string checks to validate that requested file paths remain within the configured base directory. This is a classic TOCTOU (Time-of-Check-Time-of-Use) variant specific to filesystem semantics: the validation operates on lexical path strings (path.resolve() only normalizes directory separators and resolves '..' segments syntactically), but subsequent fs.readFile(), fs.outputFile(), and fs.remove() operations follow symlinks and Windows junctions to their actual targets. This creates a realpath canonicalization gap where a path like 'content/posts/pivot/owned.md' passes validation if 'pivot' is a symlink, even though the real target resolves to a location outside the content root (e.g., '/etc/passwd' or 'C:\Windows\System32\config'). The vulnerability is exploitable through Tina's GraphQL resolver layer, which constructs file paths from user-controlled 'relativePath' parameters and passes them to bridge methods. CWE-22 (Path Traversal) accurately categorizes this as improper limitation of pathname, though the specific failure mode is symlink-following rather than '../' sequence injection.

Know when Canonical 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

GitHub Advisory PRIMARY 7.1 HIGH
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

Lifecycle Timeline

2
Patch released
Apr 01, 2026 - 00:30 nvd
Patch available
CVE Published
Apr 01, 2026 - 00:25 nvd
HIGH 7.1

DescriptionGitHub Advisory

Summary

@tinacms/graphql uses string-based path containment checks in FilesystemBridge:

  • path.resolve(path.join(baseDir, filepath))
  • startsWith(resolvedBase + path.sep)

That blocks plain ../ traversal, but it does not resolve symlink or junction targets. If a symlink/junction already exists under the allowed content root, a path like content/posts/pivot/owned.md is still considered "inside" the base even though the real filesystem target can be outside it.

As a result, FilesystemBridge.get(), put(), delete(), and glob() can operate on files outside the intended root.

Details

The current bridge validation is:

ts
function assertWithinBase(filepath: string, baseDir: string): string {
  const resolvedBase = path.resolve(baseDir);
  const resolved = path.resolve(path.join(baseDir, filepath));
  if (
    resolved !== resolvedBase &&
    !resolved.startsWith(resolvedBase + path.sep)
  ) {
    throw new Error(
      `Path traversal detected: "${filepath}" escapes the base directory`
    );
  }
  return resolved;
}

But the bridge then performs real filesystem I/O on the resulting path:

ts
public async get(filepath: string) {
  const resolved = assertWithinBase(filepath, this.outputPath);
  return (await fs.readFile(resolved)).toString();
}

public async put(filepath: string, data: string, basePathOverride?: string) {
  const basePath = basePathOverride || this.outputPath;
  const resolved = assertWithinBase(filepath, basePath);
  await fs.outputFile(resolved, data);
}

public async delete(filepath: string) {
  const resolved = assertWithinBase(filepath, this.outputPath);
  await fs.remove(resolved);
}

This is a classic realpath gap:

  1. validation checks the lexical path string
  2. the filesystem follows the link target during I/O
  3. the actual target can be outside the intended root

This is reachable from Tina's GraphQL/local database flow. The resolver builds a validated path from user-controlled relativePath, but that validation is also string-based:

ts
const realPath = path.join(collection.path, relativePath);
this.validatePath(realPath, collection, relativePath);

Database write and delete operations then call the bridge:

ts
await this.bridge.put(normalizedPath, stringifiedFile);
...
await this.bridge.delete(normalizedPath);

Local Reproduction

This was verified llocally with a real junction on Windows, which exercises the same failure mode as a symlink on Unix-like systems.

Test layout:

  • content root: D:\bugcrowd\tinacms\temp\junction-repro4
  • allowed collection path: content/posts
  • junction inside collection: content/posts/pivot -> D:\bugcrowd\tinacms\temp\junction-repro4\outside
  • file outside content root: outside\secret.txt

Tina's current path-validation logic was applied and used to perform bridge-style read/write operations through the junction.

Observed result:

json
{
  "graphqlBridge": {
    "collectionPath": "content/posts",
    "requestedRelativePath": "pivot/owned.md",
    "validatedRealPath": "content\\posts\\pivot\\owned.md",
    "bridgeResolvedPath": "D:\\bugcrowd\\tinacms\\temp\\junction-repro4\\content\\posts\\pivot\\owned.md",
    "bridgeRead": "TOP_SECRET_FROM_OUTSIDE\\r\\n",
    "outsideGraphqlWriteExists": true,
    "outsideGraphqlWriteContents": "GRAPHQL_ESCAPE"
  }
}

That is the critical point:

  • the path was accepted as inside content/posts
  • the bridge read outside\secret.txt
  • the bridge wrote outside\owned.md

So the current containment check does not actually constrain filesystem access to the configured content root once a link exists inside that tree.

Impact

  • Arbitrary file read/write outside the configured content root
  • Potential delete outside the configured content root via the same assertWithinBase() gap in delete()
  • Breaks the assumptions of the recent path-traversal fixes because only lexical traversal is blocked
  • Practical attack chains where the content tree contains a committed symlink/junction, or an attacker can cause one to exist before issuing GraphQL/content operations

The exact network exploitability depends on how the application exposes Tina's GraphQL/content operations, but the underlying bridge bug is real and independently security-relevant.

Recommended Fix

The containment check needs to compare canonical filesystem paths, not just string-normalized paths.

For example:

  1. resolve the base with fs.realpath()
  2. resolve the candidate path's parent with fs.realpath()
  3. reject any request whose real target path escapes the real base
  4. for write operations, carefully canonicalize the nearest existing parent directory before creating the final file

In short: use realpath-aware containment checks for every filesystem sink, not path.resolve(...).startsWith(...) alone.

Resources

  • packages/@tinacms/graphql/src/database/bridge/filesystem.ts
  • packages/@tinacms/graphql/src/database/index.ts
  • packages/@tinacms/graphql/src/resolver/index.ts

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.

Executive ViewAI

Why It Matters

A path traversal vulnerability in TinaCMS GraphQL FilesystemBridge allows authenticated users with low privileges to read, write, and delete files outside the configured content directory through symlink manipulation. Organizations using TinaCMS should prioritize patching this HIGH severity vulnerability to prevent unauthorized access to sensitive files on affected servers.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: restrict authenticated user access to TinaCMS to trusted administrators only; disable symlink/junction creation within content root directories via filesystem ACLs or file integrity monitoring; implement strict file system permissions to prevent low-privilege user exploitation; monitor and log all file operations within TinaCMS content directories for anomalous activity.

Threat Intelligence Overview

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

Related Vulnerabilities in TinaCMS Path Traversal Vulnerabilities

View all 2
CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2016-8735 CRITICAL POC
9.8 Apr 06

Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2014-0160 HIGH POC
7.5 Apr 07

The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packe

CVE-2016-5195 HIGH POC
7.0 Nov 10

Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by lev

CVE-2013-2423 LOW POC
3.7 Apr 17

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 17 and earlier, and

CVE-2023-4911 HIGH POC
7.8 Oct 03

Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected

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