{"items":[{"id":"NVI-00018661","kind":"vulnerability","title":"praisonai-platform: Any workspace member can promote themselves or others to owner via PATCH /workspaces/{id}/members/{user_id}","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-c2m8-4gcg-v22g","CVE-2026-47416"],"plain_summary":"GitHub lists this reviewed advisory for praisonai-platform. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-4cbdc93398c8f7cd0fe6e5dd933f3bac"],"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-05-29T23:01:59.000Z","value":"9.6 critical","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-4cbdc93398c8f7cd0fe6e5dd933f3bac"}],"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-4cbdc93398c8f7cd0fe6e5dd933f3bac","url":"https://github.com/advisories/GHSA-c2m8-4gcg-v22g","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-c2m8-4gcg-v22g","publisher":"GitHub Advisory Database","observed_at":"2026-11-07T00:53:14.635Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-4cbdc93398c8f7cd0fe6e5dd933f3bac"],"technology":"praisonai-platform","known_exclusions":[],"conditions_summary":"## Summary\n\n**Type:** Vertical privilege escalation. The `PATCH /workspaces/{workspace_id}/members/{user_id}` endpoint is gated by `require_workspace_member(workspace_id)`, which defaults to `min_role=\"member\"` and is never overridden by the route. The handler then calls `MemberService.update_role(workspace_id, user_id, body.role)` which sets the target member's role to whatever the request body specifies, with no check that the caller has owner-or-admin privilege, no check that the new role is not higher than the caller's own, and no check that the caller is not silently promoting themselves.\n**File:** `src/praisonai-platform/praisonai_platform/api/routes/workspaces.py`, lines 115-127; `services/member_service.py`, lines 55-69; `api/deps.py`, lines 54-73.\n**Root cause:** `require_workspace_member` exists with a `min_role` parameter (deps.py:58) but FastAPI's `Depends(require_workspace_member)` cannot pass arguments, so every route uses the default `\"member\"`. The route then passes the URL-supplied `user_id` and the body-supplied `role` directly to `MemberService.update_role`, which contains zero permission checks: it loads the member by composite key and assigns `member.role = new","public_affected_ranges":["<= 0.1.2"]}],"null_published_at":"2026-11-07T07:07:39.868Z","source_updated_at":"2026-05-29T23:01:59.000Z","source_disclosed_at":"2026-05-29T23:01:59.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-11-07T00:53:14.635Z"}],"next_cursor":null,"snapshot_revision":"42594"}