Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. studiocms
  4. ›
  5. CVE-2026-30944

CVE-2026-30944: StudioCMS has Privilege Escalation via Insecure API Token Generation

March 10, 2026

The /studiocms_api/dashboard/api-tokens endpoint allows any authenticated user (at least Editor) to generate API tokens for any other user, including owner and admin accounts. The endpoint fails to validate whether the requesting user is authorized to create tokens on behalf of the target user ID, resulting in a full privilege escalation.

References

  • github.com/advisories/GHSA-667w-mmh7-mrr4
  • github.com/withstudiocms/studiocms
  • github.com/withstudiocms/studiocms/commit/9eec9c3b45523b635cfe16d55aa55afabacbebe3
  • github.com/withstudiocms/studiocms/commit/f4a209fc090c90195e2419fff47b48a46eab7441
  • github.com/withstudiocms/studiocms/releases/tag/studiocms%400.4.0
  • github.com/withstudiocms/studiocms/releases/tag/studiocms@0.4.0
  • github.com/withstudiocms/studiocms/security/advisories/GHSA-667w-mmh7-mrr4
  • nvd.nist.gov/vuln/detail/CVE-2026-30944

Code Behaviors & Features

Detect and mitigate CVE-2026-30944 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.4.0

Fixed versions

  • 0.4.0

Solution

Upgrade to version 0.4.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-639: Authorization Bypass Through User-Controlled Key
  • CWE-863: Incorrect Authorization

Source file

npm/studiocms/CVE-2026-30944.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:53 +0000.