CVE-2026-54738: CWE-799: Improper Control of Interaction Frequency in LemmyNet lemmy
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.
AI Analysis
Technical Summary
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.
CVE-2026-54738: CWE-799: Improper Control of Interaction Frequency in LemmyNet 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
Affected software
LemmyNet
lemmy
pkg:cargo/github/LemmyNet/lemmyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.