Description
Lemmy is a link aggregator and forum for the fediverse. Prior to 0.19.19 and 1.0.0-beta.1, Lemmy's login endpoint in crates/api/api/src/local_user/login.rs returns different errors depending on whether the username_or_email value exists. LocalUserView::find_by_email_or_name propagates a NotFound response for an unknown account, while an existing account with a wrong password returns LemmyErrorType::IncorrectLogin. This observable response discrepancy, including HTTP 404 for a nonexistent account and HTTP 400 for an incorrect password on an existing account, allows an unauthenticated attacker to confirm registered usernames or email addresses and use the results for targeted credential attacks or social engineering. This issue is fixed in versions 0.19.19 and 1.0.0-beta.1.
Published: 2026-08-19
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Lemmy’s login endpoint previously returned distinct HTTP status codes based on whether a supplied username or email existed. If an account was nonexistent the service returned a 404 error, whereas an existing account with an incorrect password yielded a 400 error. This differential caused the login API to expose information about registered users, permitting an attacker to confirm the existence of usernames or email addresses without credentials. The vulnerability is a classic information disclosure through error response, mapped to CWE‑204, and does not allow arbitrary code execution or privilege escalation. The potential impact is the compromise of account enumeration for credential stuffing or social engineering, affecting confidentiality of user identities and potentially leading to targeted attacks.

Affected Systems

The affected product is LemmyNet’s Lemmy. Versions prior to 0.19.19 and 1.0.0‑beta.1 are vulnerable. No specific sub‑components or operating systems are listed beyond the Lemmy codebase authentication endpoint.

Risk and Exploitability

The CVSS score of 6.9 classifies the issue as moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector is inferred to be remote over the network, as the login endpoint is publicly accessible. An unauthenticated attacker can repeatedly request the login endpoint with arbitrary usernames or emails, observing the differing HTTP status codes. No exploitation requires special privileges or code execution. The overall risk is moderate, with a tangible threat to user privacy and potential stepping stone to further attacks.

Generated by OpenCVE AI on August 20, 2026 at 11:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Lemmy to version 0.19.19 or 1.0.0‑beta.1 where the login endpoint returns a non‑discriminatory error response.
  • If an immediate upgrade is not possible, modify or wrap the login endpoint to return a generic error for both non‑existent accounts and incorrect passwords to eliminate the information‑leakage channel.
  • Implement rate limiting, account lockout, or CAPTCHA on the login endpoint to reduce the feasibility of large‑scale enumeration attempts.

Generated by OpenCVE AI on August 20, 2026 at 11:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 19 Aug 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Lemmynet
Lemmynet lemmy
Vendors & Products Lemmynet
Lemmynet lemmy

Wed, 19 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Description Lemmy is a link aggregator and forum for the fediverse. Prior to 0.19.19 and 1.0.0-beta.1, Lemmy's login endpoint in crates/api/api/src/local_user/login.rs returns different errors depending on whether the username_or_email value exists. LocalUserView::find_by_email_or_name propagates a NotFound response for an unknown account, while an existing account with a wrong password returns LemmyErrorType::IncorrectLogin. This observable response discrepancy, including HTTP 404 for a nonexistent account and HTTP 400 for an incorrect password on an existing account, allows an unauthenticated attacker to confirm registered usernames or email addresses and use the results for targeted credential attacks or social engineering. This issue is fixed in versions 0.19.19 and 1.0.0-beta.1.
Title Lemmy: Login Endpoint User Enumeration via HTTP Response Code Differential
Weaknesses CWE-204
References
Metrics cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T21:48:33.495Z

Reserved: 2026-06-15T23:07:33.233Z

Link: CVE-2026-54739

cve-icon Vulnrichment

Updated: 2026-08-21T21:09:49.661Z

cve-icon NVD

Status : Deferred

Published: 2026-08-19T21:16:58.227

Modified: 2026-09-09T21:15:59.613

Link: CVE-2026-54739

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-20T11:30:16Z

Weaknesses
  • CWE-204

    Observable Response Discrepancy