Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-66297

published high CVSS 4.0 · 7.4

Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig Injection

Published
01 Dec 2025, 21:05:44 UTC
Updated
02 Dec 2025, 14:26:52 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
getgrav — grav< 1.8.0-beta.27 Affected Not stated GitHub_M

Description

Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a user with admin panel access and permissions to create or edit pages in Grav CMS can enable Twig processing in the page frontmatter. By injecting malicious Twig expressions, the user can escalate their privileges to admin or execute arbitrary system commands via the scheduler API. This results in both Privilege Escalation (PE) and Remote Code Execution (RCE) vulnerabilities. This vulnerability is fixed in 1.8.0-beta.27.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.4 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
getgrav grav < 1.8.0-beta.27 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-1336 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Grav vulnerable to Privilege Escalation and Authenticated Remote Code Execution via Twig Injection

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
bed473bf308870568730d2645f3db89a34eb6162003f1c1805f5b17d48afa599
Ingested
23 Sep 2026, 08:56:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected