CVE-2025-68278

tinacms vulnerable to arbitrary code execution

State
Published
Severity
7.3 High
Published
Dec 18, 2025
Updated
Dec 18, 2025
Reserved
Dec 16, 2025

Read the record on cve.org

Description

Tina is a headless content management system. In tinacms prior to version 3.1.1, tinacms uses the gray-matter package in an insecure way allowing attackers that can control the content of the processed markdown files, e.g., blog posts, to execute arbitrary code. tinacms version 3.1.1, @tinacms/cli version 2.0.4, and @tinacms/graphql version 2.0.3 contain a fix for the issue.

Scores

CVSSScoreVectorSource
4.07.3 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:PGitHub_M

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
tinacmstinacms
  • tinacms < 3.1.1Affected
  • @tinacms/cli < 2.0.4Affected
  • @tinacms/graphql < 2.0.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.