Original 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 software
- Libre Translate ≤ 1.9.7 repository or package match
Details
- Published
- 2026-06-30
- Last modified
- 2026-11-08
- 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- CWE
- CWE-348
- EPSS (30-day exploit probability)
- 0.23% (percentile 14)
References
- cve.org/CVE-2026-57942
- nvd.nist.gov/vuln/detail/CVE-2026-57942
- github.com/LibreTranslate/LibreTranslate/issues/986
- github.com/LibreTranslate/LibreTranslate/pull/987
- github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f
- www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.