Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-57942 EUVD-2026-40160GHSA-4rjg-9qq9-25m8

LibreTranslate - IP Spoofing via X-Forwarded-For Header

Published Jun 29, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
LibreTranslate LibreTranslate ≤ 1.9.7 —

References