Incorrect Privilege AssignmentWeakness · CWE-266

CVE-2026-4548

MEDIUM · 6.3 CVSS v3.1 Published 2026-03-22
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
69/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A vulnerability was detected in mickasmt next-saas-stripe-starter 1.0.0. Affected by this vulnerability is the function updateUserrole of the file actions/update-user-role.ts. The manipulation of the argument userId/role results in improper authorization. The attack may be launched remotely.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · moderate confidence

The updateUserrole function in actions/update-user-role.ts of the next-saas-stripe-starter template lacks proper authorization checks, allowing authenticated users to manipulate the userId and role arguments to escalate privileges or modify other users' roles without appropriate permissions.

MitigationImplement proper authorization checks in the updateUserrole function to verify the caller has administrative privileges before allowing role modifications, and validate that the target user exists and the requested role is valid.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Locate the vulnerable file
    Search the codebase for the file actions/update-user-role.ts from the next-saas-stripe-starter template
    Affected if The file exists in the project and is being used for user role management
  2. Examine the updateUserrole function
    Open actions/update-user-role.ts and locate the updateUserrole or updateUserRole function definition
    Affected if The function exists and handles role modifications for users
  3. Check for authorization logic
    Inspect the function body to see if there are any permission checks (such as verifying admin status, checking session, or validating caller privileges) before allowing role changes
    Affected if No authorization or permission verification code is present before the role modification logic
  4. Verify input validation
    Look for validation of the userId and role parameters to ensure they are properly sanitized and the target user exists
    Affected if The userId and role arguments are used directly without validation that the caller has rights to modify that specific user
  5. Test with non-admin account
    If the code is running, attempt to call the updateUserrole function with an authenticated but non-administrative user account, providing a different userId and elevated role
    Affected if The role modification succeeds without proper authorization errors

If the update-user-role.ts file exists and the updateUserrole function lacks authorization checks before modifying user roles, the environment is affected by this privilege escalation vulnerability.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement proper authorization checks in the updateUserrole function to verify the caller has administrative privileges before allowing role modifications, and validate that the target user exists and the requested role is valid.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA1.0 h
10.0 hours of engineering $1,750
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-4548 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-4548 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data