CVE-2026-57942
LibreTranslate through 1.9.7, fixed in commit 397fd22, contains an …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f
- github.com/LibreTranslate/LibreTranslate/issues/986
- github.com/LibreTranslate/LibreTranslate/pull/987
- www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header
- nvd.nist.gov/vuln/detail/CVE-2026-57942
- cve.org/CVERecord?id=CVE-2026-57942
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.