CVE-2026-112780

Grav 2.0.15 before 2.2.2 Arbitrary Static Method Call via Flex Form replace-name@

State
Published
Severity
9.3 Critical
Published
Oct 19, 2026
Updated
Oct 22, 2026
Reserved
Oct 19, 2026

Read the record on cve.org

Description

Grav from 2.0.15 before 2.2.2 contains an allowlist bypass vulnerability that allows page editors to call arbitrary public static methods by renaming Flex form fields with replace-name@. Attackers with page-edit permission can smuggle data-*@ directives past the callable check to invoke Folder::delete, Folder::move, or Utils::download, deleting directories, overwriting files, or reading files.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-749 Exposed Dangerous Method or Function

Affected Products

ProductVersions
gravgetgrav
  • 2.0.15 to before 2.2.2Affected
  • 2.2.2Not affected

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.