CVE-2026-57942 MEDIUM

CVE-2026-57942: LibreTranslate - IP Spoofing via X-Forwarded-For Header

Vendor Libretranslate
Product LibreTranslate
Weakness CWE-348
Published June 29, 2026
Last update June 30, 2026

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 29, 2026 CVE published
June 30, 2026 Record updated