Vulnerability in Libretranslate
CVE-2026-57942
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.003 (18.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 18.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Libretranslate — versions 0, 397fd224080515d4001a1bc60c8fed53e3c56b6f
Weakness classification (CWE)
References
- github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed5… (patch)
- github.com/LibreTranslate/LibreTranslate/issues/986 (issue-tracking, technical-description)
- github.com/LibreTranslate/LibreTranslate/pull/987 (issue-tracking)
- www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-hea… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-57942?
- CVE-2026-57942 is a medium-severity vulnerability in Libretranslate, classified under CWE-348. CVSS score: 5.3/10. Published 2026-06-29.
- How severe is CVE-2026-57942?
- Medium severity. CVSS v3 base score is 5.3 out of 10.