CVE-2026-25050
CVE-2026-25050 · Vendure vulnerable to timing attack that enables user enumeration in NativeAuthenticationStrategy
This page contains facts from public vulnerability sources. Check the original advisory before updating.
Vendure is an open-source headless commerce platform. Prior to version 3.5.3, the `NativeAuthenticationStrategy.authenticate()` method is vulnerable to a timing attack that allows attackers to enumerate valid usernames (email addresses). In `packages/core/src/config/auth/native-authentication-strategy.ts`, the authenticate method returns immediately if a user is not found. The significant timing difference (~200-400ms for bcrypt vs ~1-5ms for DB miss) allows attackers to reliably distinguish between existing and non-existing accounts. Version 3.5.3 fixes the issue.
CVSS 2.7 · Low · EPSS 0.4% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
vendure
- Versions
- < 3.5.3: Affected
No fix published
@vendure/core npm
- Affected ranges
- SEMVER: < 3.5.3
Update to 3.5.3