CVE-2025-66844: In grav <1.7.49.5, a SSRF (Server-Side Request Forgery) vector may be triggered via Twig templates when page c
50
This week
CRITICAL 9.1REMOTEUPGRADE
CVE-2025-66844 is a critical-severity flaw (CVSS 9.1) affecting grav. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 79%) |
| CISA exploited list | No |
| Weakness | CWE-918 |
| Published | 2025-12-15 |
| Last modified | 2026-10-23 |
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
getgrav grav UPGRADE
Affected: < 1.7.49.5
Fixed in: 1.7.49.5
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy grav || rpm -q grav || grav --version
2. UPGRADE to 1.7.49.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade grav
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade grav
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Exact fixes by distribution
Composer (PHP) · getgrav/grav · NO FIX YET · vulnerable: <= 1.7.49.5 · source
Fedora 46 · python-trimesh · FIXED · 5.2.0-1.fc46 · FEDORA-2026-429b4bad4c · source
sudo dnf upgrade --advisory=FEDORA-2026-429b4bad4c
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.