Security incident · GHSA-jf75-q64q-g65r
Waline login accepts a non-string email as a match-all MongoDB query
Published Oct 28, 2026 · catalog updated Oct 28, 2026 · Waline login accepts a
Last checked Oct 30, 2026. A connected source was read within the last 7 days.
Open the advisory
Exploitation likelihood is not on this record for GHSA-jf75-q64q-g65r. A missing EPSS score is not a low risk. Compare Waline login accepts a with the linked advisory before you change production.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (Waline login accepts a).
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
- EPSS is missing. A missing score is not a low risk.
- Severity
- Medium6.5
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- Awaiting synchronization with FIRST
- Remediation
- Version ranges on file
- Affected products
- npm @waline/vercel
## Summary The login endpoint POST /api/token reads the field from the request body without checking its type and passes it straight into the MongoDB storage query. When is not a string (for example a JSON object such as {"$ne": null}), the MongoDB storage adapter's parseWhere silently DROPS the field rather than rejecting the request, producing an empty filter that matches ALL users. The endpoint then verifies the submitted password against the FIRST user returned (user[0]), which in Waline is the first-registered user — the site administrator. This is a PARTIAL authentication bypass, not a full one. The attacker still needs a valid password for that first user; this is not a zero-knowledge bypass and it does not disclose passwords. Its concrete effects are: (1) the email/identifier factor is removed for the administrator account, (2) user enumeration (a non-string email never fails the "no such user" branch), and (3) credential-stuffing amplification — an attacker can test a leaked or weak password against the administrator account without knowing the administrator's email. ## Details Untyped input — packages/server/src/controller/token.js:17-18: email filter email email email password` as strings before they reach the storage query — for example in packages/server/src/logic/token.js postAction(): Defense in depth: in mongodb.js parseWhere(), reject (rather than silently drop) a value that is neither a string nor a supported array form, or coerce it to {$eq: String(value)}, so a non-string key can never elide the filter.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- npm @waline/vercel<= 1.40.3
How to fix GHSA-jf75-q64q-g65r
Upgrade
GHSA-jf75-q64q-g65r lists a fix boundary at 1.40.3. Compare the installed build with that boundary before you change production.
Version check
Affected <= 1.40.3
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
Exploitation likelihood is not on this record for GHSA-jf75-q64q-g65r. A missing EPSS score is not a low risk. Compare Waline login accepts a with the linked advisory before you change production.
Which versions are affected?
Compare what you have installed with <= 1.40.3. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
CWE-287: Improper Authentication; CWE-943. EPSS is not on this record yet. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Technology hubs
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 28, 2026 · GitHub Advisory Database
Detected
## Summary The login endpoint POST /api/token reads the field from the request body without checking its type and passes it straight into the MongoDB storage query. When is not a string (for example a JSON object such as {"$ne": null}), the MongoDB storage adapter's parseWhere silently DROPS the field rather than rejecting the request, producing an empty filter that matches ALL users. The endpoint
Oct 28, 2026 · GitHub Advisory Database
Updated
## Summary The login endpoint POST /api/token reads the field from the request body without checking its type and passes it straight into the MongoDB storage query. When is not a string (for example a JSON object such as {"$ne": null}), the MongoDB storage adapter's parseWhere silently DROPS the field rather than rejecting the request, producing an empty filter that matches ALL users. The endpoint
Sources
- GitHub Advisory DatabasePackage advisoryGHSA-jf75-q64q-g65r
Waline login accepts a non-string email as a match-all MongoDB query
github.com
References
Freshness
Last verified in this catalog Oct 28, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- GitHub Advisory DatabaseOct 30, 2026