CVE-2019-19723
Improper Authorization in passport-cognito
All versions of passport-cognito are vulnerable to Improper Authorization. The package fails to properly scope the variables containing authorization information, such as access token, refresh token and ID token. This causes a race condition where simultaneous authenticated users may receive authorization tokens for a different user. This would allow a user to take actions on another user's behalf.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
What each source reports
GitHub AdvisoriesGHSA-v6c5-hwqg-3x5q No score
Improper Authorization in passport-cognito
All versions of passport-cognito are vulnerable to Improper Authorization. The package fails to properly scope the variables containing authorization information, such as access token, refresh token and ID token. This causes a race condition where simultaneous authenticated users may receive authorization tokens for a different user. This would allow a user to take actions on another user's behalf.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-v6c5-hwqg-3x5q- Weakness
- CWE-285
- Updated
- 2026-11-02
OSVGHSA-v6c5-hwqg-3x5q No score
Improper Authorization in passport-cognito
All versions of passport-cognito are vulnerable to Improper Authorization. The package fails to properly scope the variables containing authorization information, such as access token, refresh token and ID token. This causes a race condition where simultaneous authenticated users may receive authorization tokens for a different user. This would allow a user to take actions on another user's behalf.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-v6c5-hwqg-3x5q- Weakness
- CWE-285
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
passport-cognitonpm |
0.0.0 and later | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-19723 is a vulnerability with no CVSS score yet in passport-cognito, published September 4, 2020. No source lists public exploit code. No source names a fixed version.