CVE-2026-57942
MediumCVSS 5.3Summary
LibreTranslate through version 1.9.7 has an IP spoofing vulnerability in the get_remote_address() function. An unauthenticated attacker can inject arbitrary values into the X-Forwarded-For header, bypassing per-IP rate limiting and flood bans.
Risk Assessment
Attackers can bypass IP-based rate limits and bans, enabling unlimited API abuse, server overload, and potential resource exhaustion.
Recommendation
Immediately update LibreTranslate to a version containing commit 397fd22 or later. Also configure trusted proxies to validate the X-Forwarded-For header.
Original NVD description (English source)
LibreTranslate through 1.9.7, fixed in commit 397fd22, contains an IP spoofing vulnerability in the get_remote_address() function that allows unauthenticated attackers to spoof client IP addresses by injecting arbitrary values into the X-Forwarded-For header without trusted proxy validation. Attackers can bypass per-IP rate limiting and flood bans by supplying forged addresses in the X-Forwarded-For header to enable unlimited API abuse.

