{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-65008 exists.","fix":"No fix has been published for CVE-2026-65008 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-65008 is a critical code injection vulnerability in getgrav grav, published on 21 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-65008 and fix it if it is affected.\n\nWhat it is: CVE-2026-65008 is a critical code injection vulnerability in getgrav grav, published on 21 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-65008 exists.\n\nAffected product: getgrav grav. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-65008/ (Markdown: https://insights.sbomify.com/CVE-2026-65008/index.md)","id":"CVE-2026-65008","markdown":"https://insights.sbomify.com/CVE-2026-65008/index.md","name":"CVE-2026-65008","record":{"aliases":["GHSA-3q93-h5p2-5mx8"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Grav CMS","requires_auth":"none","summary":"Authenticated users can inject malicious code via page frontmatter, leading to remote code execution on the server when the page is accessed.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Grav 2.0.4 (fixed in 2.0.7) contains a remote code execution vulnerability in Blueprint::dynamicData() (system/src/Grav/Common/Data/Blueprint.php), which passes a Class::method callable string and its arguments directly to call_user_func_array() without any allowlist. Because the form plugin routes page frontmatter through this path, an authenticated account with the admin.pages (or api.pages.write) permission can plant a malicious callable directive in a page. The command then executes as the web-server user whenever anyone — including an unauthenticated visitor — accesses the page.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2026-07-27","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-07-27T13:27:53Z","kind":"github_poc","ref":"https://github.com/zer0dayf/CVE-2026-65008","stars":1,"title":" CVE-2026-65008"},{"date":"2026-09-01","kind":"exploitdb","ref":"52669","stars":null,"title":"Grav CMS 2.0.7 - RCE"}],"tier":"weaponised"},"has_fix":false,"headline":"Grav before 2.0.7 Remote Code Execution via Blueprint dynamicData","id":"CVE-2026-65008","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"OpenRemote before 1.26.2 Information Disclosure via Syslog REST API","id":"CVE-2026-65009"},"packages":[],"prev":{"headline":"Grav before 1.0.8 Missing Authorization on API Key Generation","id":"CVE-2026-65007"},"products":["grav"],"published":"2026-07-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["getgrav"]},"summary":"Authenticated users can inject malicious code via page frontmatter, leading to remote code execution on the server when the page is accessed.","url":"https://insights.sbomify.com/CVE-2026-65008/"}