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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 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 |
| Provided by | CNA |
Weaknesses
- CWE-348 — Use of Less Trusted Source
Affected products
| Vendor | Product | Versions |
|---|---|---|
| LibreTranslate | LibreTranslate | 0 to <=1.9.7; 397fd224080515d4001a1bc60c8fed53e3c56b6f |
References
- https://github.com/LibreTranslate/LibreTranslate/issues/986 (technical-description)
- https://github.com/LibreTranslate/LibreTranslate/pull/987 (issue-tracking)
- https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f (patch)
- https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header (third-party-advisory)
Generated from the official CVE List on 30 Jun 2026 07:04 UTC.