CVE-2026-57942 Details
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.
A vulnerability in LibreTranslate versions through 1.9.7 allows unauthenticated attackers to spoof client IP addresses by injecting arbitrary values into the X-Forwarded-For header. This is done without proper validation of trusted proxies, enabling attackers to bypass per-IP rate limits and flood bans. The vulnerability is located in the get_remote_address() function, which is used to determine the client's IP for rate limiting and flood protection. Exploiting this vulnerability can lead to unlimited abuse of the LibreTranslate API, particularly on public instances with free usage caps.
Users can update to LibreTranslate version 1.9.8 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 29, 2026CISA-ADP
Assessed Jun 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LibreTranslate/LibreTranslate/issues/986 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f | [email protected] | Source CodeVendor |
| https://github.com/LibreTranslate/LibreTranslate/issues/986 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/LibreTranslate/LibreTranslate/pull/987 | [email protected] | Source CodeVendor |
| https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-348 | Use of Less Trusted Source | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LibreTranslate | <= 1.9.7 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 29, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | New CVE Received | [email protected] |
Volerion