{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-130742 in the wild and no public exploit code.","exposure":"","fix":"Upgrade getgrav grav to 2.2.18 or later. The advisory says that version fixes it.","what":"CVE-2026-130742 is a high-severity vulnerability in getgrav grav, published on 18 Nov 2026."},"fix_prompt":"Check this codebase for CVE-2026-130742 and fix it if it is affected.\n\nWhat it is: CVE-2026-130742 is a high-severity vulnerability in getgrav grav, published on 18 Nov 2026. \nExploitation: There is no known exploitation of CVE-2026-130742 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-130742/ (Markdown: https://insights.sbomify.com/CVE-2026-130742/index.md)","id":"CVE-2026-130742","markdown":"https://insights.sbomify.com/CVE-2026-130742/index.md","name":"CVE-2026-130742","record":{"aliases":["GHSA-679v-ch4q-94qm","GHSA-q88m-rfpx-2w96"],"analysis":null,"analysis_generated_by":null,"assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-470","name":"Use of Externally-Controlled Input to Select Classes or Code"}],"description":"Grav 2.0.0 before 2.2.18 resolves Flex sort and filter field names by first calling them as public methods, so a field named delete invokes FlexObject::delete() without any permission check. Authenticated users with only list access can send GET /api/v1/flex-objects/user-accounts?sort=delete requests to delete every account, then use the reopened API first-run setup to create a super admin.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Grav 2.0.0 before 2.2.18 Object Deletion via Flex Sort Field","id":"CVE-2026-130742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":null,"year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":1,"n_vendor_status":0,"next":{"headline":"Grav 2.0.0 before 2.2.18 RCE and File Read via Blueprint Files","id":"CVE-2026-130743"},"nickname":null,"packages":[],"prev":{"headline":"Grav 2.0.0 before 2.2.18 Arbitrary File Read via Twig Sandbox Bypass","id":"CVE-2026-130741"},"products":["grav"],"published":"2026-11-18","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","text_fixes":["2.2.18"],"updated":"2026-11-19","vendor_status":[],"vendors":["getgrav"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-130742/"}