Intel

AIKIDO-2026-58418

devise_invitable is vulnerable to Improper Authentication

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 4 days ago
November 16, 2026

74

CVE Score

High

Improper Authentication

Are you affected? Scan for Free

TL;DR

Before the fix, build_resource in DeviseInvitable::RegistrationsController matched a direct Devise sign-up email to an existing invited, passwordless placeholder record, copied the submitted password onto it, and called accept_invitation, consuming the invitation without its token. An unauthenticated visitor who knew an invited user's email could then sign in as that account, unless Devise's :confirmable sent a confirmation email first. This required an app using the invitable module with registerable sign-up enabled and a pending invitation. The fix separates direct registration from invitation acceptance and blocks pending placeholders from authenticating.

How do I fix this?

Upgrade the devise_invitable package to 3.0.0 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and enable Devise's registerable sign-up with the invitable module and have a pending invitation for an email an unauthenticated visitor knows.

Versions

1.1.3 - 2.0.14

Fixed in 3.0.0

Background info

devise_invitable is vulnerable to Improper Authentication in versions 1.1.3 - 2.0.14.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea