Grav 2.0.0 before 2.2.5 Unauthorized Page Deletion via Flex Form Directives
Grav from 2.0.0 before 2.2.5 contains an improper access control vulnerability in FlexDirectory::dynamicFlexField() that allows page authors to call arbitrary Flex object methods via flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, directives calling setStorageKey() and delete() run in their session, deleting protected pages neither account may delete.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-114660
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 17:05 UTC · Revision 1
Source evidence
Grav 2.0.0 before 2.2.5 Unauthorized Page Deletion via Flex Form Directives
core-osv · Original sourcePublished 22 Oct 2026, 01:43 UTC
Grav from 2.0.0 before 2.2.5 contains an improper access control vulnerability in FlexDirectory::dynamicFlexField() that allows page authors to call arbitrary Flex object methods via flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, directives calling setStorageKey() and delete() run in their session, deleting protected pages neither account may delete.
osv:CVE-2026-114660
Complete source record
{
"id": "77097161b42e238de809e40f9e58b7669b1990f6e7137a4fb7d2fb21ae4b6fee",
"url": "https://osv.dev/vulnerability/CVE-2026-114660",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Grav 2.0.0 before 2.2.5 Unauthorized Page Deletion via Flex Form Directives",
"summary": "Grav from 2.0.0 before 2.2.5 contains an improper access control vulnerability in FlexDirectory::dynamicFlexField() that allows page authors to call arbitrary Flex object methods via flex-*@ directives in page frontmatter. When a user with page edit rights opens the page, directives calling setStorageKey() and delete() run in their session, deleting protected pages neither account may delete.",
"evidence": "osv:CVE-2026-114660",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-114660",
"aliases": [
"CVE-2026-114660",
"GHSA-95jr-q4xh-27vr"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/getgrav/grav",
"type": "GIT",
"events": [
{
"introduced": "bb4022f44b882ca4615188f4da5a0d646cef02ce"
},
{
"fixed": "3a7ec3e0847717ee1e25a8b3c77e838c89ac12ea"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.5"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-114660.json"
}
}
],
"modified": "2026-10-28T02:30:44.507811490Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114660.json",
"https://github.com/getgrav/grav/security/advisories/GHSA-95jr-q4xh-27vr",
"https://nvd.nist.gov/vuln/detail/CVE-2026-114660",
"https://www.vulncheck.com/advisories/grav-2.0.0-before-2.2.5-unauthorized-page-deletion-via-flex-form-directives"
],
"provider_metadata": {
"cwe_ids": [
"CWE-470"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/114xxx/CVE-2026-114660.json"
}
},
"related_cves": [
{
"value": "CVE-2026-114660",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 512494,
"published_at": "2026-10-22T01:43:44.845+00:00"
}