BreachSpiderVerified, not vibes

CVE-2025-66844 in Getgrav Grav

Critical 9.1

In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig templates when page content is processed by Twig and the configuration allows undefined PHP functions to be registered

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.1
EPSS0.5%
EPSS percentile39th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Getgrav Grav < 1.7.49.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig templates when page content is processed by Twig and the configuration allows undefined PHP functions to be registered

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-66844
BreachSpider IDBS-2025-GLOBAL-033020-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Published2025-12-15
Last modified2026-10-23
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A Server-Side Request Forgery (SSRF) vulnerability exists in Grav versions prior to 1.7.49.5 due to improper handling of Twig templates, allowing attackers to exploit the system by triggering SSRF via undefined PHP functions.

The vulnerability arises when page content processed by Twig templates includes undefined PHP functions that can be manipulated to make requests to arbitrary servers, potentially leading to unauthorized data exposure or server-side actions.

Questions

What is CVE-2025-66844?

A Server-Side Request Forgery (SSRF) vulnerability exists in Grav versions prior to 1.7.49.5 due to improper handling of Twig templates, allowing attackers to exploit the system by triggering SSRF via undefined PHP functions.

What is the CVSS score for CVE-2025-66844?

CVE-2025-66844 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.5%.

Is CVE-2025-66844 actively exploited?

No confirmed active exploitation of CVE-2025-66844 as of 2026-10-29.

How do I remediate CVE-2025-66844?

Priority: IMMEDIATE.

What systems are affected by CVE-2025-66844?

CVE-2025-66844 affects Getgrav Grav.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Getgrav","product":"Grav","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-23.