Skip to main content
EPSS 0.6%top 55%

CVE-2026-54738: CWE-799: Improper Control of Interaction Frequency in LemmyNet lemmy

0
Medium
VulnerabilityCVE-2026-54738cvecve-2026-54738cwe-799
Published: 08/19/2026 (08/19/2026, 20:27:45 UTC)
Source: CVE Database V5
Vendor/Project: LemmyNet
Product: lemmy

Description

CVE-2026-54738 is a vulnerability in LemmyNet's lemmy software related to improper control of interaction frequency. It allows unauthenticated attackers to bypass rate limiting by spoofing the client IP address in the X-Forwarded-For header. This affects multiple API endpoints including account registration, login, posting, commenting, searching, image uploading, and account import. The issue is fixed in versions 0.19.19 and 1.0.0-beta.1.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Affected software

LemmyNet

lemmy

Affected versions
<0.19.19>=1.0.0-alpha.5 <1.0.0-beta.1
crates.iomore threats →ai
github/LemmyNet/lemmy
pkg:cargo/github/LemmyNet/lemmy
Affected versions
<0.19.19=1.0.0-beta.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 07:33:11 UTC

Technical Analysis

LemmyNet's lemmy prior to versions 0.19.19 and 1.0.0-beta.1 uses actix-web's ConnectionInfo::realip_remote_addr which reads the first value of the X-Forwarded-For header as the client IP for rate limiting. The bundled docker/nginx.conf configuration appends the real client IP to any existing X-Forwarded-For header rather than replacing it, allowing an attacker to spoof the first IP address in the header on each request. This causes the rate limiting logic to treat each request as coming from a different client IP, effectively bypassing rate limits on several critical API endpoints. This can lead to excessive account creation, brute-force login attempts, spam, scraping, uploads, and repeated imports. The vulnerability is addressed in lemmy versions 0.19.19 and 1.0.0-beta.1.

Potential Impact

An unauthenticated attacker can bypass rate limiting controls on key API endpoints by spoofing the client IP address in the X-Forwarded-For header. This enables excessive account creation, brute-force login attempts, spam posting, data scraping, image uploads, and repeated import operations. The vulnerability impacts the integrity and availability of the lemmy service by allowing abuse of functionality intended to be rate-limited.

Mitigation Recommendations

This vulnerability is fixed in lemmy versions 0.19.19 and 1.0.0-beta.1. Users should upgrade to at least these versions to remediate the issue. No additional mitigation is required if running these fixed versions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-15T23:07:33.233Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a861420acd9273b4997c7dd

Added to database: 08/19/2026, 20:37:52 UTC

Last enriched: 09/11/2026, 07:33:11 UTC

Last updated: 10/03/2026, 02:46:05 UTC

Views: 85

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses