{"items":[{"id":"NVI-00006695","kind":"vulnerability","title":"Grav: Path Traversal in MediaUploadTrait::deleteFile() Allows Arbitrary File Deletion","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-jq29-c7v8-rg55","CVE-2026-72695"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-bf172fe041e2a5bc503cdbd27e036c88"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-18f1da18b7b707dcb8f45e4317bae9fb"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"8.1 HIGH (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-512e545af8d2ac2d040cfbb8d48edc33"},{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"7.1 HIGH (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-512e545af8d2ac2d040cfbb8d48edc33"},{"kind":"EPSS","as_of":"2026-11-03T12:00:27.000Z","value":"0.631%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.50281. Missing scores are unknown.","source_id":"sr-18f1da18b7b707dcb8f45e4317bae9fb"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-bf172fe041e2a5bc503cdbd27e036c88","url":"https://github.com/advisories/GHSA-jq29-c7v8-rg55","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-jq29-c7v8-rg55","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.968Z"},{"id":"sr-512e545af8d2ac2d040cfbb8d48edc33","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72695","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-72695","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:49.802Z"},{"id":"sr-18f1da18b7b707dcb8f45e4317bae9fb","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-72695","publisher":"FIRST EPSS","observed_at":"2026-11-03T17:45:16.078Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-bf172fe041e2a5bc503cdbd27e036c88"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"# Path Traversal in MediaUploadTrait::deleteFile() Allows Arbitrary File Deletion\n\n## Summary\n\nA path traversal vulnerability in `MediaUploadTrait::deleteFile()` allows an authenticated user with media management permissions to delete arbitrary files on the server. The method validates only the basename portion of the filename using `Utils::checkFilename()`, while the directory path (which may contain `../` sequences) is preserved and passed unvalidated to `unlink()`. This enables directory escape from the intended media storage path.\n\n## Severity\n\n**High (8.1)** - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H\n\n## CWE\n\nCWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\n\n## Details\n\nIn `system/src/Grav/Common/Media/Traits/MediaUploadTrait.php`, the `deleteFile()` method (lines 332-365) performs filename validation only on the basename, not the full path:\n\n```php\npublic function deleteFile(string $filename, ?array $settings = null): void\n{\n    $settings = $this->getUploadSettings($settings);\n    $filesystem = Filesystem::getInstance(false);\n\n    // Line 339-340: Only the BASENAME is validated\n    $basename = $filesystem->basename($filename);  // e.g","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-11-07T14:01:55.383Z","source_updated_at":"2026-09-17T20:45:05.940Z","source_disclosed_at":"2026-09-17T20:34:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:30.968Z"},{"id":"NVI-00006695","kind":"vulnerability","title":"Grav: Path Traversal in MediaUploadTrait::deleteFile() Allows Arbitrary File Deletion","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-jq29-c7v8-rg55","CVE-2026-72695"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-bf172fe041e2a5bc503cdbd27e036c88"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-512e545af8d2ac2d040cfbb8d48edc33"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"8.1 HIGH (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-512e545af8d2ac2d040cfbb8d48edc33"},{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"7.1 HIGH (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-512e545af8d2ac2d040cfbb8d48edc33"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-bf172fe041e2a5bc503cdbd27e036c88","url":"https://github.com/advisories/GHSA-jq29-c7v8-rg55","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-jq29-c7v8-rg55","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.968Z"},{"id":"sr-512e545af8d2ac2d040cfbb8d48edc33","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72695","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-72695","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:49.802Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-bf172fe041e2a5bc503cdbd27e036c88"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"# Path Traversal in MediaUploadTrait::deleteFile() Allows Arbitrary File Deletion\n\n## Summary\n\nA path traversal vulnerability in `MediaUploadTrait::deleteFile()` allows an authenticated user with media management permissions to delete arbitrary files on the server. The method validates only the basename portion of the filename using `Utils::checkFilename()`, while the directory path (which may contain `../` sequences) is preserved and passed unvalidated to `unlink()`. This enables directory escape from the intended media storage path.\n\n## Severity\n\n**High (8.1)** - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H\n\n## CWE\n\nCWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\n\n## Details\n\nIn `system/src/Grav/Common/Media/Traits/MediaUploadTrait.php`, the `deleteFile()` method (lines 332-365) performs filename validation only on the basename, not the full path:\n\n```php\npublic function deleteFile(string $filename, ?array $settings = null): void\n{\n    $settings = $this->getUploadSettings($settings);\n    $filesystem = Filesystem::getInstance(false);\n\n    // Line 339-340: Only the BASENAME is validated\n    $basename = $filesystem->basename($filename);  // e.g","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-11-02T20:21:10.255Z","source_updated_at":"2026-09-17T20:45:05.940Z","source_disclosed_at":"2026-09-17T20:34:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:30.968Z"},{"id":"NVI-00006695","kind":"vulnerability","title":"Grav: Path Traversal in MediaUploadTrait::deleteFile() Allows Arbitrary File Deletion","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-jq29-c7v8-rg55","CVE-2026-72695"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-bf172fe041e2a5bc503cdbd27e036c88"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-bf172fe041e2a5bc503cdbd27e036c88","url":"https://github.com/advisories/GHSA-jq29-c7v8-rg55","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-jq29-c7v8-rg55","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:30.968Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-bf172fe041e2a5bc503cdbd27e036c88"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"# Path Traversal in MediaUploadTrait::deleteFile() Allows Arbitrary File Deletion\n\n## Summary\n\nA path traversal vulnerability in `MediaUploadTrait::deleteFile()` allows an authenticated user with media management permissions to delete arbitrary files on the server. The method validates only the basename portion of the filename using `Utils::checkFilename()`, while the directory path (which may contain `../` sequences) is preserved and passed unvalidated to `unlink()`. This enables directory escape from the intended media storage path.\n\n## Severity\n\n**High (8.1)** - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H\n\n## CWE\n\nCWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\n\n## Details\n\nIn `system/src/Grav/Common/Media/Traits/MediaUploadTrait.php`, the `deleteFile()` method (lines 332-365) performs filename validation only on the basename, not the full path:\n\n```php\npublic function deleteFile(string $filename, ?array $settings = null): void\n{\n    $settings = $this->getUploadSettings($settings);\n    $filesystem = Filesystem::getInstance(false);\n\n    // Line 339-340: Only the BASENAME is validated\n    $basename = $filesystem->basename($filename);  // e.g","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-10-31T22:13:10.069Z","source_updated_at":"2026-09-17T20:45:05.940Z","source_disclosed_at":"2026-09-17T20:34:05.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:30.968Z"}],"next_cursor":null,"snapshot_revision":"42594"}