CVE-2026-57942 PUBLISHED

LibreTranslate - IP Spoofing via X-Forwarded-For Header

Assigner: VulnCheck
Reserved: 26.06.2026 Published: 29.06.2026 Updated: 30.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor LibreTranslate
Product LibreTranslate
Versions Default: unaffected
  • affected from 0 to 1.9.7 (incl.)
  • Version 397fd224080515d4001a1bc60c8fed53e3c56b6f is unaffected

Credits

  • George Chen finder

References

Problem Types

  • Use of Less Trusted Source CWE