{"id":"CVE-2026-57942","summary":"LibreTranslate - IP Spoofing via X-Forwarded-For Header","details":"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.","modified":"2026-08-12T03:51:29.935130550Z","published":"2026-06-29T17:17:09.639Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57942.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"1.9.7"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"fixed":"1.9.7"}],"source":"DESCRIPTION"}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-348"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57942.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57942"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header"},{"type":"REPORT","url":"https://github.com/LibreTranslate/LibreTranslate/issues/986"},{"type":"REPORT","url":"https://github.com/LibreTranslate/LibreTranslate/pull/987"},{"type":"FIX","url":"https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f"},{"type":"PACKAGE","url":"https://github.com/LibreTranslate/LibreTranslate"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/libretranslate/libretranslate","events":[{"introduced":"0"},{"fixed":"397fd224080515d4001a1bc60c8fed53e3c56b6f"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v1.9.6","v1.9.5","v1.9.4","v1.9.3","v1.9.2","v1.9.1","v1.9.0","v1.8.4","v1.8.3","v1.8.2","v1.8.1","v1.8.0","v1.7.3","v1.7.2","v1.6.5","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.7","v1.5.6","v1.5.5","v1.5.4","v1.5.3","v1.5.2","v1.5.1","v1.5.0","v1.4.1","v1.3.13","v1.3.12","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.9","v1.2.8","v1.2.7","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.0","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57942.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}