Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc6
- 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-
- https://github.com/LibreTranslate/LibreTranslate/issues/986
FAQ
What is CVE-2026-57942?
CVE-2026-57942 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2026-57942?
CVE-2026-57942 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-57942?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.