CVE-2026-57942
LibreTranslate - IP Spoofing via X-Forwarded-For Header
- State
- Published
- Severity
- 6.9 Medium
- Published
- Jun 29, 2026
- Updated
- Jun 30, 2026
- Reserved
- Jun 26, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | VulnCheck |
Weaknesses
- CWE-348 Use of Less Trusted Source
Affected Products
| Product | Versions |
|---|---|
LibreTranslateLibreTranslate |
|
References
- Researcher Disclosureissue-tracking
- Pull Requestissue-tracking
- Patch Commitpatch
- https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-headerthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.