# GHSA-V5F6-VR9P-5PR6: Convex Auth v1: Account takeover with phone sign-in

- Database: GitHub
- Severity: CVSS 9.3 (Critical)
- Published: 2026-12-03
- Modified: 2026-12-03

## Affected versions

- @convex-dev/auth (npm): fixed in 0.0.99

## Description

### Summary

In `@convex-dev/auth` before 0.0.99, an unauthenticated attacker can take over existing user accounts in apps that use a phone (SMS) sign-in provider.

We rolled out a temporary server-side fix to all Convex cloud deployments that applies the fix at runtime. Self-hosted and local deployments do not receive it.

**We strongly recommend that all users of Convex Auth v1 update to `@convex-dev/auth@0.0.99` (or newer).**

### Details

Full details will be published at a later date, to give users time to upgrade.

### Proof of concept

A proof of concept will be published at a later date, to give users time to upgrade.

### Impact

An attacker without an account can sign in as another user of the app, and get full access to that user's account. Users who sign in with a phone number are at risk.

This happens when:
- The Convex deployment uses a vulnerable (< 0.0.99) version of `@convex-dev/auth`
- AND the app configures a phone sign-in provider (a provider with `type: "phone"`, for example an SMS one-time code provider built on Twilio)

A variant of the bug also lets an attacker add any phone number to their own account as verified, without having access to that number.

Not affected:
- Apps that don't configure a phone sign-in provider
- `@convex-dev/auth` 2.x, which does not support phone login methods yet

Impact by deployment type:
- **Convex cloud deployments** (managed by Convex): protected by a best-effort server-side fix since 2026-12-02 (see below). Updating is still strongly recommended.
- **[Self-hosted deployments](https://docs.convex.dev/self-hosting)** and **[local deployments](https://docs.convex.dev/cli/local-deployments)**: not protected until you update.

### Remediation and mitigation

**We strongly recommend that all users of Convex Auth v1 update to `@convex-dev/auth@0.0.99` (or newer).** This update fixes the root issue and contains no breaking changes. It also fixes [GHSA-8294-qrgq-r2pw](https://github.com/convex/convex-auth/security/advisories/GHSA-8294-qrgq-r2pw).

```sh
npm install @convex-dev/auth@^0.0.99
```

#### Mitigation
Convex rolled out a temporary server-side fix to all Convex cloud deployments: on 2026-12-01 for the Free, Starter and Professional plans, and on 2026-12-02 for the Business and Enterprise plans. It applies the same fix as `@convex-dev/auth@0.0.99` at runtime, without requiring a redeploy.

This mitigation is best-effort. It detects the vulnerable code by recognizing the patterns found in released versions of `@convex-dev/auth` as they are bundled by the Convex CLI. We have tested it against as many combinations of versions as we could, but we cannot guarantee it covers every one. In particular, it does not cover copies of `@convex-dev/auth` that were modified (for example with `patch-package` or `pnpm patch`). **Updating to `@convex-dev/auth@0.0.99` (or newer) is the only way to be sure you are protected.**

Convex [self-hosted](https://docs.convex.dev/self-hosting) deployments and [local deployments](https://docs.convex.dev/cli/local-deployments) do not receive this mitigation. For those, updating to `@convex-dev/auth@0.0.99` (or newer) is the only protection.

## References

- https://github.com/convex/convex-auth/security/advisories/GHSA-v5f6-vr9p-5pr6

Page: https://cve.now/GHSA-V5F6-VR9P-5PR6

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
