PT-2026-78696 · Lemmy+2 · Lemmy+2

CVE-2026-54738

·

Published

2026-08-19

·

Updated

2026-08-21

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Name of the Vulnerable Software and Affected Versions Lemmy versions prior to 0.19.19 Lemmy versions prior to 1.0.0-beta.1
Description An issue exists where the ConnectionInfo::realip remote addr function in actix-web reads the first value of the X-Forwarded-For header as the client address used by raw ip key in crates/utils/src/rate limit/mod.rs. Because the bundled docker/nginx.conf uses $proxy add x forwarded for instead of $remote addr, it appends the real client address to any X-Forwarded-For value provided by the client. An unauthenticated attacker can spoof the address in each request to obtain a new rate-limit bucket, bypassing restrictions on the following endpoints:
  • 'POST /api/v4/account/auth/register'
  • 'POST /api/v4/account/auth/login'
  • 'POST /api/v4/post'
  • 'POST /api/v4/comment'
  • 'GET /api/v4/search'
  • 'POST /api/v4/image'
  • 'POST /api/v4/account/import settings'
This allows for excessive account creation, brute-force attacks, spam, scraping, unauthorized uploads, and repeated imports.
Recommendations Update to version 0.19.19. Update to version 1.0.0-beta.1.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54738
GHSA-2HRG-7X4G-9VPG

Affected Products

Lemmy
Actix-Web
Nginx