CVE-2026-57942
MEDIUM Exploitation: PoC
5.3
CVSS 3.1
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.
Metadata
Severity & Metrics
5.3
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| LibreTranslate | LibreTranslate | — | 0 ≤ 1.9.7, 397fd224080515d4001a1bc60c8fed53e3c56b6f |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-348 | cna | Use of Less Trusted Source |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.9 | MEDIUM | 4.0 | cna | 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 |
| 5.3 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References (4)
- Researcher Disclosure https://github.com/LibreTranslate/LibreTranslate/issues/986
- Pull Request https://github.com/LibreTranslate/LibreTranslate/pull/987
- Patch Commit https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f
- https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header