# CVE-2026-57942: LibreTranslate - IP Spoofing via X-Forwarded-For Header

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-29T17:17:09.639Z
- Modified: 2026-11-08T14:06:35.583Z
- Weaknesses: CWE-348
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- LibreTranslate LibreTranslate: up to 1.9.7 (not affected: 397fd224080515d4001a1bc60c8fed53e3c56b6f)

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/LibreTranslate/LibreTranslate/issues/986> (exploit, issue-tracking)
- <https://github.com/LibreTranslate/LibreTranslate/pull/987> (issue-tracking, patch)
- <https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f> (patch)
- <https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-57942](https://www.cve.org/CVERecord?id=CVE-2026-57942), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-57942](https://nvd.nist.gov/vuln/detail/CVE-2026-57942), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-57942 · Whole record: https://cve.day/CVE-2026-57942.json · Rebuilt by cve.day 2026-11-25T22:59:26.632Z
