{"id":"CVE-2026-57942","state":"PUBLISHED","title":"LibreTranslate - IP Spoofing via X-Forwarded-For Header","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.","publishedAt":"2026-06-29T17:17:09.639Z","updatedAt":"2026-06-30T11:15:44.459Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["LibreTranslate LibreTranslate"],"affected":[{"vendor":"LibreTranslate","product":"LibreTranslate","packageURL":"pkg:pypi/libretranslate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.9.7","versionType":"semver"},{"version":"397fd224080515d4001a1bc60c8fed53e3c56b6f","status":"unaffected","versionType":"git"}],"repo":"https://github.com/LibreTranslate/LibreTranslate"}],"references":["https://github.com/LibreTranslate/LibreTranslate/issues/986","https://github.com/LibreTranslate/LibreTranslate/pull/987","https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f","https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header"],"weaknesses":["CWE-348"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57942","state":"PUBLISHED","datePublished":"2026-06-29T17:17:09.639Z","dateUpdated":"2026-06-30T11:15:44.459Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-06-26T13:57:16.355Z"},"containers":{"cna":{"title":"LibreTranslate - IP Spoofing via X-Forwarded-For Header","descriptions":[{"lang":"en","value":"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":[{"vendor":"LibreTranslate","product":"LibreTranslate","packageURL":"pkg:pypi/libretranslate","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.9.7","versionType":"semver"},{"version":"397fd224080515d4001a1bc60c8fed53e3c56b6f","status":"unaffected","versionType":"git"}],"repo":"https://github.com/LibreTranslate/LibreTranslate"}],"references":[{"url":"https://github.com/LibreTranslate/LibreTranslate/issues/986","name":"Researcher Disclosure","tags":["issue-tracking"]},{"url":"https://github.com/LibreTranslate/LibreTranslate/pull/987","name":"Pull Request","tags":["issue-tracking"]},{"url":"https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f","name":"Patch Commit","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subAvailabilityImpact":"NONE","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.9,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","version":"3.1","baseSeverity":"MEDIUM","baseScore":5.3,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-348","lang":"en","description":"Use of Less Trusted Source","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-06-30T11:15:44.459Z"},"datePublic":"2026-06-13T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck"},"tags":["x_open-source"]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/LibreTranslate/LibreTranslate/issues/986","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-29T18:37:47.012327Z","id":"CVE-2026-57942","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-29T18:37:50.397Z"}}]}}}