CVE-2026-57942 LibreTranslate - IP Spoofing via X-Forwarded-For Header
MediumCVSS 6.9
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi libretranslate | <= 1.9.7 | after 1.9.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi libretranslate | <= 1.9.7 | No fix listed |
References
- Researcher Disclosure exploit issue-tracking
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-40160 third-party-advisory