CVE-2026-47412

HIGHPre-NVD 8.18.1
EchelonGraph scoreLOW confidence

This high-severity CVE scores 8.1 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit probability: 0.0%, top 87% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).

Triggered by: NVD CVSS baseline
Sources: cna:github_m, epss
8.1
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 0%CVSS: 8.1Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

praisonai-platform: Any workspace member can delete the entire workspace via DELETE /workspaces/{id}

Summary

Type: Authorization bypass enabling destructive action. The DELETE /workspaces/{workspace_id} endpoint is gated only by require_workspace_member(workspace_id) (default min_role="member"). Any member of the workspace can issue a single DELETE to wipe the entire workspace, including every project, issue, comment, agent, label, and member record (cascading via the foreign-key relationships). There is no owner-role gate, no confirmation token, no soft-delete window, no recovery path. File: src/praisonai-platform/praisonai_platform/api/routes/workspaces.py, lines 77-86; services/workspace_service.py's delete() method. Root cause: the route uses Depends(require_workspace_member) which defaults to min_role="member" and is never overridden. The service method WorkspaceService.delete(workspace_id) performs the destructive operation without any caller-permission verification. The role hierarchy (MemberService.has_role, member_service.py:80-96) is implemented but unused for this endpoint.

Affected Code

File: src/praisonai-platform/praisonai_platform/api/routes/workspaces.py, lines 77-86.

@router.delete("/{workspace_id}", status_code=status.HTTP_204_NO_CONTENT)
async def delete_workspace(
    workspace_id: str,
    user: AuthIdentity = Depends(require_workspace_member),         # <-- BUG: defaults to min_role="member"
    session: AsyncSession = Depends(get_db),
):
    ws_svc = WorkspaceService(session)
    deleted = await ws_svc.delete(workspace_id)                     # <-- destructive, no role check
    if not deleted:
        raise HTTPException(status_code=404, detail="Workspace not found")

Why it's wrong: workspace deletion is the most destructive single action in this product — it wipes every member, project, issue, comment, agent, and label belonging to the tenant. The standard convention is to gate this on owner role, ideally with a confirmation parameter (typed workspace name) and a recovery window. This endpoint does none of that. The require_workspace_member(min_role) parameter exists precisely for this kind of tightening but is never invoked with anything other than the default.

Exploit Chain

  • Attacker is a member of workspace W (joined via invite, signup default, or any other route into membership). State: attacker holds JWT with Member(workspace_id=W, user_id=attacker, role="member").
  • Attacker sends DELETE /workspaces/W with Authorization: Bearer . State: control flow enters delete_workspace.
  • require_workspace_member(W, attacker) passes (attacker is a member, default min_role="member" satisfied). WorkspaceService.delete(W) removes the workspace row; SQLAlchemy cascade rules drop every related row (members, projects, issues, comments, agents, labels). State: workspace W no longer exists.
  • Final state: a low-privilege member has wiped the workspace. The legitimate owner has no recovery: no soft-delete, no audit-trail event for the deletion (the Activity log row would have been deleted too as part of the cascade). The same primitive at scale (script that DELETEs every workspace_id the attacker can enumerate) becomes a multi-tenant griefing tool.

Security Impact

Severity: sec-high. CVSS 8.1: network attack, low complexity, low privileges, no user interaction, scope unchanged, no confidentiality (just destruction), high integrity (every workspace child row wiped), high availability (workspace gone for legitimate owner). Attacker capability: with one workspace-member token plus one DELETE request, the attacker irreversibly deletes the workspace and every child resource. The deletion is silent and immediate. Preconditions: praisonai-platform is deployed multi-tenant; the attacker has any membership token in the target workspace. Differential: source-inspection-verified. The asymmetry between require_workspace_member's clearly-tunable min_role parameter and this endpoint's use of the default value confirms the gap. With the suggested fix below, member-tier tokens fail the gate at the dependency, the destructive action never reaches the service layer, and the endpoint returns 403 instead of 204.

Suggested Fix

--- a/src/praisonai-platform/praisonai_platform/api/routes/workspaces.py
+++ b/src/praisonai-platform/praisonai_platform/api/routes/workspaces.py
@@ -75,11 +75,15 @@
+def _require_workspace_owner(workspace_id: str, user, session):
+    return require_workspace_member(workspace_id, user, session, min_role="owner")
+
 @router.delete("/{workspace_id}", status_code=status.HTTP_204_NO_CONTENT)
 async def delete_workspace(
     workspace_id: str,
  • user: AuthIdentity = Depends(require_workspace_member),
+ user: AuthIdentity = Depends(_require_workspace_owner), session: AsyncSession = Depends(get_db), ): ws_svc = WorkspaceService(session) deleted = await ws_svc.delete(workspace_id) if not deleted: raise HTTPException(status_code=404, detail="Workspace not found")

Defence-in-depth: require a typed-confirmation parameter (e.g. body {"confirm_name": ""}) and implement a 30-day soft-delete with restore. The four companion workspace-mutation endpoints (update_workspace, add_member, update_member_role, remove_member) exhibit the same default-min-role gap and are filed as their own advisories.

CVSS v3
8.1
EG Score
8.1(low)
EPSS
12.8%
KEV
Not listed

Published

June 1, 2026

Last Modified

June 1, 2026

Vendor Advisories for CVE-2026-47412(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Affected Packages

(1 across 1 ecosystem)
PyPI(1)
PackageVulnerable rangeFixed inDependents
praisonai-platform0.1.0, 0.1.1, 0.1.2, 0.1.30.1.4

Data Freshness Timeline

(refreshed 4× in last 7d / 40× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-02 15:46 UTCEG score recompute
  2. 2026-07-02 02:19 UTCEG score recompute
  3. 2026-07-01 13:07 UTCEG score recompute
  4. 2026-07-01 00:31 UTCEG score recompute
  5. 2026-06-30 00:35 UTCEG score recompute
  6. 2026-06-29 11:50 UTCEG score recompute
  7. 2026-06-28 20:18 UTCEG score recompute
  8. 2026-06-28 07:42 UTCEG score recompute
  9. 2026-06-27 19:08 UTCEG score recompute
  10. 2026-06-27 06:32 UTCEG score recompute
  11. 2026-06-26 17:51 UTCEG score recompute
  12. 2026-06-26 05:15 UTCEG score recompute
  13. 2026-06-25 16:39 UTCEG score recompute
  14. 2026-06-25 03:56 UTCEG score recompute
  15. 2026-06-24 15:00 UTCEG score recompute
  16. 2026-06-24 02:07 UTCEG score recompute
  17. 2026-06-18 22:02 UTCEG score recompute
  18. 2026-06-17 23:35 UTCEG score recompute
  19. 2026-06-17 10:44 UTCEG score recompute
  20. 2026-06-16 21:42 UTCEG score recompute
  21. 2026-06-16 09:07 UTCEG score recompute
  22. 2026-06-15 20:20 UTCEG score recompute
  23. 2026-06-15 06:05 UTCEG score recompute
  24. 2026-06-14 23:18 UTCEPSS rescore
  25. 2026-06-14 17:30 UTCEG score recompute
Show 27 more
  1. 2026-06-14 04:55 UTCEG score recompute
  2. 2026-06-13 23:00 UTCEPSS rescore
  3. 2026-06-13 16:19 UTCEG score recompute
  4. 2026-06-13 03:41 UTCEG score recompute
  5. 2026-06-12 23:12 UTCEPSS rescore
  6. 2026-06-12 15:06 UTCEG score recompute
  7. 2026-06-12 02:31 UTCEG score recompute
  8. 2026-06-11 13:56 UTCEG score recompute
  9. 2026-06-11 01:21 UTCEG score recompute
  10. 2026-06-10 12:46 UTCEG score recompute
  11. 2026-06-10 00:11 UTCEG score recompute
  12. 2026-06-09 11:36 UTCEG score recompute
  13. 2026-06-08 23:02 UTCEG score recompute
  14. 2026-06-08 10:26 UTCEG score recompute
  15. 2026-06-07 21:51 UTCEG score recompute
  16. 2026-06-07 09:16 UTCEG score recompute
  17. 2026-06-06 20:41 UTCEG score recompute
  18. 2026-06-06 08:06 UTCEG score recompute
  19. 2026-06-05 19:31 UTCEG score recompute
  20. 2026-06-05 06:56 UTCEG score recompute
  21. 2026-06-04 18:21 UTCEG score recompute
  22. 2026-06-04 05:46 UTCEG score recompute
  23. 2026-06-03 17:11 UTCEG score recompute
  24. 2026-06-03 04:35 UTCEG score recompute
  25. 2026-06-02 16:00 UTCEG score recompute
  26. 2026-06-02 03:25 UTCEG score recompute
  27. 2026-06-01 14:49 UTCEG score recompute

Frequently asked(5)

What is CVE-2026-47412?
CVE-2026-47412 is a high vulnerability published on June 1, 2026. praisonai-platform: Any workspace member can delete the entire workspace via DELETE /workspaces/{id} Summary Type: Authorization bypass enabling destructive action. The DELETE /workspaces/{workspaceid} endpoint is gated only by requireworkspacemember(workspaceid) (default min_role="member"). Any…
When was CVE-2026-47412 disclosed?
CVE-2026-47412 was first published in the National Vulnerability Database on June 1, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-47412 actively exploited?
CVE-2026-47412 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 12.8% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-47412?
CVE-2026-47412 has a CVSS v4.0 base score of 8.1 (CNA self-assessment; NVD's own analysis pending). The EG score is currently aggregating — additional source signals are being incorporated as they become available..
How do I remediate CVE-2026-47412?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-47412, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-47412

Explore →

Is Your Infrastructure Affected by CVE-2026-47412?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.