Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-57942

LibreTranslate - IP Spoofing via X-Forwarded-For Header

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

LibreTranslate LibreTranslate

Default version status: unaffected

  • 0 to ≤ 1.9.7affected
  • 397fd224080515d4001a1bc60c8fed53e3c56b6funaffected
pkg:pypi/libretranslate

References