PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-61873 getgrav CVE debrief

CVE-2026-61873 is a high-severity vulnerability in Grav, a content management system, that allows for arbitrary file writes, including PHP webshells, due to insufficient validation of user-submitted form data. This vulnerability exists in the Form plugin's process.save.filename parameter, which is validated against path traversal before Twig processing but never re-validated after rendering. Attackers can submit form data containing path traversal sequences that are processed through Twig templates, allowing them to write arbitrary files including PHP webshells to the web root or other sensitive directories. Defenders should prioritize verifying exposure and applying patches or to

Vendor
getgrav
Product
grav
CVSS
HIGH 7.2
CISA KEV
Not listed in stored evidence
Original CVE published
2026-07-15
Original CVE updated
2026-10-24
Advisory published
2026-07-15
Advisory updated
2026-10-24

Who should care

Defenders responsible for Grav installations, particularly those with publicly accessible form functionality, should assess exposure and apply patches or mitigations. This includes reviewing form data validation and sanitization, monitoring for suspicious file writes or modifications, and verifying exposure. Additionally, defenders should prioritize verifying exposure and applying patches or mitigations, as this vulnerability could lead to significant and

Why it matters

CVE-2026-61873 is a high-severity vulnerability in Grav that allows for arbitrary file writes, potentially leading to significant compromise. Defenders should prioritize verifying exposure and applying patches or mitigations.

  • Potential for arbitrary file writes, including PHP webshells
  • Risk of compromise through exploitation of vulnerable Grav installations
  • Need for verification of exposure and application of patches or mitigations

Technical summary

The Grav content management system is vulnerable to arbitrary file writes due to insufficient validation of user-submitted form data in the Form plugin's process.save.filename parameter. This allows attackers to write arbitrary files, including PHP webshells, to the web root or other sensitive directories. The vulnerability exists because the filename parameter is validated against path traversal before Twig processing but never re-validated after rendering. Attackers can submit form data containing path traversal sequences that are processed through Twig templates.

Defensive priority

Defenders should prioritize verifying exposure and applying patches or mitigations, as this vulnerability could lead to significant compromise.

Recommended defensive actions

  • Verify Grav version and apply patch or mitigation if vulnerable
  • Review form data validation and sanitization
  • Monitor for suspicious file writes or modifications
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and NVD entry provide details on the vulnerability, but additional information from vendor sources and exploit analysis may be necessary for comprehensive risk assessment. The vulnerability allows attackers to write arbitrary files, including PHP webshells, to the web root or other sensitive directories. Limited source detail is available, so defenders should verify exposure and apply patches or mitigations. Evidence limits suggest that further analysis may be required to fully understand the vulnerability's impact.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-61873 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-61873

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-61873 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-61873

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.