GHSA-j7rw-325j-2rmx: Duplicate Advisory Grav Has Insecure Deserialization Vulnerability

LOW
CVSS 5.0
CWE-20
Published
Advisory Summary

GHSA-j7rw-325j-2rmx is a LOW (CVSS 5.0) grav has insecure deserialization vulnerability (CWE-20: Improper Input Validation) affecting Duplicate Advisory libraries in the Packagist ecosystem. The issue involves grav has insecure deserialization in file cache. Remediation is available by upgrading affected packages to version 2.0.0-beta.2.

GHSA-j7rw-325j-2rmx at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j7rw-325j-2rmx
Severity LOW
CVSS v3.1 Base Score 5.0
CWE Classification CWE-20: Improper Input Validation
Affected Product Duplicate Advisory
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix GHSA-j7rw-325j-2rmx

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

getgrav/grav fixed: 2.0.0-beta.2
Upgrade getgrav/grav to 2.0.0-beta.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for getgrav/grav

How to Check if You Are Affected

To determine whether your application is affected by GHSA-j7rw-325j-2rmx, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for getgrav/grav

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0-beta.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-gwfr-jfjf-92vv. This link is maintained to preserve external references. ### Original Description A vulnerability was found in Grav CMS up to 1.7.49.5/2.0.0-beta.1. Affected by this vulnerability is the function FileCache::doGet of the file system/src/Grav/Framework/Cache/Adapter/FileCache.php of the component Cache Value Handler. The manipulation results in deserialization. The attack may be launched remotely. The attack requires a high level of complexity. The exploitation appears to be difficult. The exploit has been made public and could be used. Upgrading to version 2.0.0-beta.2 addresses this issue. The patch is identified as c66dfeb5f. The affected component should be upgraded.

GHSA-j7rw-325j-2rmx Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
2.0.0-beta.2
Product / Package Ecosystem Affected Versions Fixed Version
getgrav/grav
Packagist
< 2.0.0-beta.2
2.0.0-beta.2

References

Frequently Asked Questions

What is GHSA-j7rw-325j-2rmx?
GHSA-j7rw-325j-2rmx is a security vulnerability in Duplicate Advisory involving Grav has Insecure Deserialization in File Cache under CWE-20: Improper Input Validation.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 2.0.0-beta.2 across affected packages: getgrav/grav.
What version fixes GHSA-j7rw-325j-2rmx?
Upgrading to 2.0.0-beta.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is getgrav/grav affected?
Yes, getgrav/grav is affected in releases prior to 2.0.0-beta.2. Upgrade your dependency to 2.0.0-beta.2 or later.
What is the CVSS score of GHSA-j7rw-325j-2rmx?
GHSA-j7rw-325j-2rmx has a CVSS v3.1 base score of 5.0 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with GHSA-j7rw-325j-2rmx?
GHSA-j7rw-325j-2rmx is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Packagist dependencies for GHSA-j7rw-325j-2rmx?
Run the dependency tree command: 'inspect dependencies for getgrav/grav'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-j7rw-325j-2rmx",
  "modified" : "2026-05-06T21:57:13Z",
  "published" : "2026-04-29T00:30:23Z",
  "withdrawn" : "2026-05-06T21:57:13Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Grav has Insecure Deserialization in File Cache",
  "details" : "### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-gwfr-jfjf-92vv. This link is maintained to preserve external references.\n\n### Original Description\nA vulnerability was found in Grav CMS up to 1.7.49.5/2.0.0-beta.1. Affected by this vulnerability is the function FileCache::doGet of the file system/src/Grav/Framework/Cache/Adapter/FileCache.php of the component Cache Value Handler. The manipulation results in deserialization. The attack may be launched remotely. The attack requires a high level of complexity. The exploitation appears to be difficult. The exploit has been made public and could be used. Upgrading to version 2.0.0-beta.2 addresses this issue. The patch is identified as c66dfeb5f. The affected component should be upgraded.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "getgrav/grav"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.0-beta.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/getgrav/grav/security/advisories/GHSA-gwfr-jfjf-92vv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-7317"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/getgrav/grav/commit/c66dfeb5f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/devsamuelsantiago/grav-cms-filecache-object-injection"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/submit/798732"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/359965"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/vuln/359965/cti"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-06T21:57:13Z",
    "nvd_published_at" : "2026-04-28T22:16:51Z"
  }
}