Sign-up via reusable invitation links skips single sign-on
Summary
Summary
In Zulip organizations where only external authentication methods are enabled (e.g. SAML, OpenID Connect or Google), anyone with a reusable invitation link could create an account without using any of those methods. They only needed to control an email address the organization allows....
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| —Zulip server |
< 12.4→ 12.4 |
12.4 |
| —Zulip server |
= 13.0-rc1→ 13.0-rc2 |
13.0-rc2 |
Original description The description as published by the source.
Summary
In Zulip organizations where only external authentication methods are enabled (e.g. SAML, OpenID Connect or Google), anyone with a reusable invitation link could create an account without using any of those methods. They only needed to control an email address the organization allows. Severity is low: it requires a valid reusable invitation link, which only administrators can create by default.
Details
A reusable invitation link's sign-up page doesn't show the email form when no password-based authentication method (email or LDAP) is enabled. However, the server still accepted an email address submitted to the link (/join//). It sent a confirmation email to that address, and following the confirmation link created the account and logged the user in.
The check that rejects email-based sign-up in such organizations, added for CVE-2025-31478 in HomepageForm.clean_email (zerver/forms.py), was skipped for requests coming from reusable invitation links (from_multiuse_invite).
Impact
This lets someone skip the organization's single sign-on requirement. It affects organizations that:
- have no password-based authentication method enabled; and
- have at least one active reusable invitation link.
The person must possess the link and control the email address used. The resulting account has the role and channel subscriptions specified by the link. Restricting sign-up to specific email domains limits which addresses can be used. Revoking reusable invita…
Source: GitHub Repository Security Advisories (Game のスタック) GitHub Advisory OSV
References
- GITHUB_REPO_ADVISORY zulip/zulip