CVE-2026-57942
Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
29/06/2026
Last modified:
29/06/2026
Description
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.
Impact
Base Score 4.0
6.90
Severity 4.0
MEDIUM
Base Score 3.x
5.30
Severity 3.x
MEDIUM
References to Advisories, Solutions, and Tools
- https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f
- https://github.com/LibreTranslate/LibreTranslate/issues/986
- https://github.com/LibreTranslate/LibreTranslate/pull/987
- https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header
- https://github.com/LibreTranslate/LibreTranslate/issues/986



