GHSA-3qmc-2r76-4rqp
Redwood is vulnerable to account takeover via dbAuth "forgot-password"
Impact
What kind of vulnerability is it? Who is impacted?
This is an API vulnerability in Redwood's [dbAuth], specifically the dbAuth forgot password feature:
- only projects with the dbAuth "forgot password" feature are affected
- this vulnerability was introduced in v0.38.0
User Accounts are Vulnerable to Takeover (Hijacking)
A reset token for any user can be obtained given knowledge of their username or email via the forgot-password API. With the leaked reset token, a malicious user could request to reset a user's password, changing their credentials and gaining access to their account.
How to Determine if Projects have been Attacked
To determine if a project has been attacked, we recommend checking logs for suspicious activity; namely, the volume of requests to the forgot-password API using emails that don't exist. Another indication is if users inform you that they can't access their accounts.
If you have question or concerns, reach out via the "For More Information" section below.
Patch Releases Available
The problem has been patched on the v3 and v2 release lines. Users should upgrade to v3.3.1+ or v2.2.5+ respectively.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
We recommend upgrading to the Patch Releases above. If upgrading is not possible, there are several workarounds:
Manually strip out resetToken and resetTokenExpiresAt in the forgotPassword.handler()
Users on all release lines can have their forgotPassword.handler() function strip out the sensitive fields manually before returning
handler: (user) => {
// your code to notify/email user of the link to reset their password...
const = { resetToken, resetTokenExpiresAt, ...rest }
return rest
}
Use yarn patch to manually apply the fix
Users on v3 and v2 can use [yarn patch] to apply the fix if they're using yarn v3. See the dbAuth "forgot-password" Account Takeover Vulnerability high gist for instructions.
Disable the forgot password flow entirely v3 only
Users on v3 can disable the forgot password flow entirely.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- Low
What each source reports
GitHub Advisories Score used 8.2
Redwood is vulnerable to account takeover via dbAuth "forgot-password"
Impact
What kind of vulnerability is it? Who is impacted?
This is an API vulnerability in Redwood's [dbAuth], specifically the dbAuth forgot password feature:
- only projects with the dbAuth "forgot password" feature are affected
- this vulnerability was introduced in v0.38.0
User Accounts are Vulnerable to Takeover (Hijacking)
A reset token for any user can be obtained given knowledge of their username or email via the forgot-password API. With the leaked reset token, a malicious user could request to reset a user's password, changing their credentials and gaining access to their account.
How to Determine if Projects have been Attacked
To determine if a project has been attacked, we recommend checking logs for suspicious activity; namely, the volume of requests to the forgot-password API using emails that don't exist. Another indication is if users inform you that they can't access their accounts.
If you have question or concerns, reach out via the "For More Information" section below.
Patch Releases Available
The problem has been patched on the v3 and v2 release lines. Users should upgrade to v3.3.1+ or v2.2.5+ respectively.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
We recommend upgrading to the Patch Releases above. If upgrading is not possible, there are several workarounds:
Manually strip out resetToken and resetTokenExpiresAt in the forgotPassword.handler()
Users on all release lines can have their forgotPassword.handler() function strip out the sensitive fields manually before returning
handler: (user) => {
// your code to notify/email user of the link to reset their password...
const = { resetToken, resetTokenExpiresAt, ...rest }
return rest
}
Use yarn patch to manually apply the fix
Users on v3 and v2 can use [yarn patch] to apply the fix if they're using yarn v3. See the dbAuth "forgot-password" Account Takeover Vulnerability high gist for instructions.
Disable the forgot password flow entirely v3 only
Users on v3 can disable the forgot password flow entirely.
- Record
GHSA-3qmc-2r76-4rqp- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - Updated
- 2026-11-02
OSV 8.2
Redwood is vulnerable to account takeover via dbAuth "forgot-password"
Impact
What kind of vulnerability is it? Who is impacted?
This is an API vulnerability in Redwood's [dbAuth], specifically the dbAuth forgot password feature:
- only projects with the dbAuth "forgot password" feature are affected
- this vulnerability was introduced in v0.38.0
User Accounts are Vulnerable to Takeover (Hijacking)
A reset token for any user can be obtained given knowledge of their username or email via the forgot-password API. With the leaked reset token, a malicious user could request to reset a user's password, changing their credentials and gaining access to their account.
How to Determine if Projects have been Attacked
To determine if a project has been attacked, we recommend checking logs for suspicious activity; namely, the volume of requests to the forgot-password API using emails that don't exist. Another indication is if users inform you that they can't access their accounts.
If you have question or concerns, reach out via the "For More Information" section below.
Patch Releases Available
The problem has been patched on the v3 and v2 release lines. Users should upgrade to v3.3.1+ or v2.2.5+ respectively.
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
We recommend upgrading to the Patch Releases above. If upgrading is not possible, there are several workarounds:
Manually strip out resetToken and resetTokenExpiresAt in the forgotPassword.handler()
Users on all release lines can have their forgotPassword.handler() function strip out the sensitive fields manually before returning
handler: (user) => {
// your code to notify/email user of the link to reset their password...
const = { resetToken, resetTokenExpiresAt, ...rest }
return rest
}
Use yarn patch to manually apply the fix
Users on v3 and v2 can use [yarn patch] to apply the fix if they're using yarn v3. See the dbAuth "forgot-password" Account Takeover Vulnerability high gist for instructions.
Disable the forgot password flow entirely v3 only
Users on v3 can disable the forgot password flow entirely.
- Record
GHSA-3qmc-2r76-4rqp- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@redwoodjs/apinpm | 0.38.0 up to 2.2.5 | 2.2.5 |
@redwoodjs/apinpm | 3.0.0 up to 3.3.1 | 3.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-3qmc-2r76-4rqp is a high vulnerability (CVSS 8.2) in @redwoodjs/api, published November 10, 2022. No source lists public exploit code. Fixed in @redwoodjs/api 2.2.5.
References
github.com/redwoodjs/redwood/security/advisories/GHSA-3qmc-2r76-4rqp
github.com/redwoodjs/redwood/issues/6343
github.com/redwoodjs/redwood/pull/6778
github.com/redwoodjs/redwood/releases/tag/v2.2.5
github.com/redwoodjs/redwood/releases/tag/v3.3.1
github.com/advisories/GHSA-3qmc-2r76-4rqp
github.com/redwoodjs/redwood