/

CVE-2026-130870

Severity:

HIGH RISK

(7.4)

Improper Authorization (CWE-863) in ClearFlask Invites

CVE-2026-130870

Received

Vulnerability type

Category:

Improper Authorization

CWE:

CWE-863

Impact:

Unauthorized Privilege Escalation

Severity:

HIGH RISK

(7.4)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

ClearFlask improperly authorizes invitation acceptance without ensuring that the account redeeming an invitation matches the invited email address. Someone who obtains a forwarded or shared invitation link may be able to accept it and gain project administrator privileges.

Affected context

The issue occurs in ClearFlask invitation handling, including the accountAcceptInvitationAdmin and accountSignupAdmin flows. It becomes a risk when an invitation ID can be accessed by someone other than the intended recipient and the application does not verify that the redeeming account is authorized for that invitation.

Exploit preconditions

  • Attack surface: Invitation acceptance or signup flows
  • Required access: An invitation ID, such as one obtained from a forwarded or shared invitation link
  • Trigger point: Redeeming the invitation through an affected account endpoint
  • Why exploitation is possible: The invitation can be accepted without checking that the account's email matches the invited email

Why this happens

The application fails to enforce authorization rules when redeeming an invitation. An invitation ID is treated as sufficient authority to accept the invitation, without binding it to the intended recipient's identity. This is an authorization decision flaw mapped to CWE-863: Incorrect Authorization.

Potential impact

  • An unintended account may gain project administrator privileges
  • Project settings or content could be changed without authorization
  • Administrative access could be used to invite additional accounts or alter project membership
  • Project data or user trust could be affected

General mitigation guidance

Defensive patterns include verifying the redeeming account against the invitation's intended recipient before granting access, and treating invitation identifiers as references rather than standalone authorization.

Common safeguards include:

  • Binding invitations to a verified email address or another authenticated identity
  • Applying consistent authorization checks across invitation acceptance and signup flows
  • Making invitation tokens short-lived, single-use, and difficult to expose
  • Granting only the minimum role necessary, with explicit checks before assigning administrative privileges
  • Avoiding reliance on forwarded links as proof of recipient identity

How teams detect issues like this

Review invitation acceptance and signup handlers for checks that bind the authenticated account to the intended invitee. Static analysis and code review can look for authorization decisions based only on an invitation ID, or inconsistent checks between related endpoints.

Monitor invitation redemption events for mismatches between the invited email and the accepting account, and apply policy checks that require recipient verification before privileged roles are assigned. Automated code review tools may help identify missing or inconsistent authorization checks.

Sources

SourceLink
github.comgithub.com/clearflask/clearflask/blob/2.7.2/clearflask-server/src/main/java/com/smotana/clearflask/web/resource/AccountResource.java#L1198-L1211
github.comgithub.com/clearflask/clearflask/commit/54e387023d6149058244f0f2bdac37d0e02cd2bd
github.comgithub.com/clearflask/clearflask/releases/tag/2.7.3
github.comgithub.com/clearflask/clearflask/security/advisories/GHSA-q2q3-44pf-4m3f
vulncheck.comvulncheck.com/advisories/clearflask-before-2.7.3-improper-authorization-via-project-admin-invitation-acceptance

Frequently asked

questions

An attacker who obtains an invitation ID may be able to redeem it through the affected application flows; access to the invitation is the key prerequisite.

The description indicates that an account holding the invitation ID can accept it. The exact account creation or authentication requirements depend on the flow and deployment.

Verify that the authenticated or newly registered account matches the intended invitee before accepting the invitation or granting a role.

Apply consistent recipient-bound authorization checks across invitation flows, limit token exposure and lifetime, and review privileged role assignment paths.

Find out what's already
exploitable in your codebase.