{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-112780 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-112780 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-112780 is a critical code injection vulnerability in getgrav grav, published on 19 Oct 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-112780 and fix it if it is affected.\n\nWhat it is: CVE-2026-112780 is a critical code injection vulnerability in getgrav grav, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-112780 in the wild and no public exploit code.\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-112780/ (Markdown: https://insights.sbomify.com/CVE-2026-112780/index.md)","id":"CVE-2026-112780","markdown":"https://insights.sbomify.com/CVE-2026-112780/index.md","name":"CVE-2026-112780","record":{"aliases":["GHSA-9rq7-4cch-f22j","GHSA-qq7h-r236-6vc5"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Grav CMS","requires_auth":"none","summary":"Page editors can bypass allowlists to invoke arbitrary static methods, enabling file deletion, overwriting, or reading.","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-749","name":"Exposed Dangerous Method or Function"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Grav 2.0.15 before 2.2.2 Arbitrary Static Method Call via Flex Form replace-name@","id":"CVE-2026-112780","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":"Grav 2.0.0 before 2.2.2 Information Disclosure via Form config-*@ Directives","id":"CVE-2026-112781"},"packages":[],"prev":{"headline":"Grav API Plugin before 1.0.42 Cache Exhaustion and Page Permission Bypass","id":"CVE-2026-112779"},"products":["grav"],"published":"2026-10-19","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-22","vendors":["getgrav"]},"summary":"Page editors can bypass allowlists to invoke arbitrary static methods, enabling file deletion, overwriting, or reading.","url":"https://insights.sbomify.com/CVE-2026-112780/"}