{"items":[{"id":"NVI-00003139","kind":"vulnerability","title":"Grav API Privilege Escalation to Super Admin","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-r945-h4vm-h736","CVE-2026-42843"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav-plugin-api. 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 1.0.0-beta.15 for getgrav/grav-plugin-api. Confirm the publisher’s latest guidance.","source_ids":["sr-33ea196e231c5d4663385009bf329324"],"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-29894a11bef60dc0c68a4c0b801f8226"],"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":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.350%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.28656. Missing scores are unknown.","source_id":"sr-29894a11bef60dc0c68a4c0b801f8226"}],"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-33ea196e231c5d4663385009bf329324","url":"https://github.com/advisories/GHSA-r945-h4vm-h736","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-r945-h4vm-h736","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.360Z"},{"id":"sr-29894a11bef60dc0c68a4c0b801f8226","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-42843","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.378Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-33ea196e231c5d4663385009bf329324"],"technology":"getgrav/grav-plugin-api","known_exclusions":[],"conditions_summary":"### Summary\n\nAn insecure direct object reference and logic flaw in the Grav API plugin (`UsersController::update`) allows any authenticated user with basic API access (`api.access`) to modify their own permission configuration. An attacker can exploit this to escalate their privileges to Super Administrator (`admin.super` and `api.super`), leading to full system compromise and potential RCE.\n\n### Details\n\nThe vulnerability is located in `user/plugins/api/classes/Api/Controllers/UsersController.php` within the `update` method.\n\nThe API allows users to update their own profiles if they possess the basic `api.access` permission:\n\n```php\n// UsersController.php -> update()\n$isSelf = $currentUser->username === $username;\nif (!$isSelf) {\n    $this->requirePermission($request, 'api.users.write');\n} else {\n    // Self-edit only requires api.access\n    $this->requirePermission($request, 'api.access');\n}\n```\n\nHowever, when filtering the fields that are allowed to be updated via a `PATCH` request, the `access` field (which defines the user's role and permissions) is indiscriminately included in the `$allowedFields` whitelist for all users:\n\n```php\n// Partial update - only update provided field","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.0.0-beta.15"]}],"null_published_at":"2026-10-31T22:27:12.422Z","source_updated_at":"2026-05-13T14:18:41.394Z","source_disclosed_at":"2026-05-05T21:20:03.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:41.360Z"},{"id":"NVI-00003139","kind":"vulnerability","title":"Grav API Privilege Escalation to Super Admin","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-r945-h4vm-h736","CVE-2026-42843"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav-plugin-api. 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 1.0.0-beta.15 for getgrav/grav-plugin-api. Confirm the publisher’s latest guidance.","source_ids":["sr-33ea196e231c5d4663385009bf329324"],"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-33ea196e231c5d4663385009bf329324","url":"https://github.com/advisories/GHSA-r945-h4vm-h736","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-r945-h4vm-h736","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.360Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-33ea196e231c5d4663385009bf329324"],"technology":"getgrav/grav-plugin-api","known_exclusions":[],"conditions_summary":"### Summary\n\nAn insecure direct object reference and logic flaw in the Grav API plugin (`UsersController::update`) allows any authenticated user with basic API access (`api.access`) to modify their own permission configuration. An attacker can exploit this to escalate their privileges to Super Administrator (`admin.super` and `api.super`), leading to full system compromise and potential RCE.\n\n### Details\n\nThe vulnerability is located in `user/plugins/api/classes/Api/Controllers/UsersController.php` within the `update` method.\n\nThe API allows users to update their own profiles if they possess the basic `api.access` permission:\n\n```php\n// UsersController.php -> update()\n$isSelf = $currentUser->username === $username;\nif (!$isSelf) {\n    $this->requirePermission($request, 'api.users.write');\n} else {\n    // Self-edit only requires api.access\n    $this->requirePermission($request, 'api.access');\n}\n```\n\nHowever, when filtering the fields that are allowed to be updated via a `PATCH` request, the `access` field (which defines the user's role and permissions) is indiscriminately included in the `$allowedFields` whitelist for all users:\n\n```php\n// Partial update - only update provided field","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.0.0-beta.15"]}],"null_published_at":"2026-10-31T22:12:38.476Z","source_updated_at":"2026-05-13T14:18:41.394Z","source_disclosed_at":"2026-05-05T21:20:03.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:41.360Z"}],"next_cursor":null,"snapshot_revision":"42594"}