Authentication Weakness in keystone

keystone Updated 02 Oct 2025

Summary

19/08/2020
MODERATE
Yes i
Moderate
Not published

GHSA-9xgp-hfw7-73rq: Authentication Weakness in keystone. Affects keystone versions < 0.3.16. Fixed in 0.3.16. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Keystone is an npm package that provides authentication functionality. It allows users to sign in using their email address and password. However, a vulnerability has been discovered in versions prior to 0.3.16 that allows incomplete email addresses to be matched during the sign-in process. While a correct password is still required, this weakness could potentially lead to unauthorized access to user accounts.

Vulnerability Detail

The vulnerability in keystone arises from a bug in the default sign-in functionality. Incomplete email addresses can be matched, allowing an attacker to potentially guess the complete email address and gain unauthorized access to an account by providing the correct password. This vulnerability has a moderate severity rating and has been reviewed by GitHub. No Common Weakness Enumeration (CWE) IDs have been associated with this vulnerability.

How To Fix

Latest published version: 4.2.1 as of 22 Oct 2026

npm install keystone@4.2.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.16

This is the first release that contains the fix.

npm install keystone@0.3.16

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

In conclusion, the keystone package prior to version 0.3.16 has an authentication weakness that allows incomplete email addresses to be matched during sign-in. This could potentially lead to unauthorized access to user accounts. It is recommended to upgrade to version 0.3.16 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for keystone →

Share this vulnerability

FAQ

The vulnerability allows incomplete email addresses to be matched during the sign-in process, potentially leading to unauthorized access to user accounts.

Versions of keystone prior to 0.3.16 are affected by this vulnerability.

Yes, a correct password is still required to complete the sign-in process.

Yes, this vulnerability has been reviewed by GitHub.

No, there are no CWE IDs associated with this vulnerability.

References

Related vulnerabilities

Recent vulnerabilities recorded for keystone.

How To Fix

Latest published version: 4.2.1 as of 22 Oct 2026

npm install keystone@4.2.1

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.3.16

This is the first release that contains the fix.

npm install keystone@0.3.16

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback