CVE-2026-57942

LibreTranslate - IP Spoofing via X-Forwarded-For Header

State
Published
Severity
6.9 Medium
Published
Jun 29, 2026
Updated
Jun 30, 2026
Reserved
Jun 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

Affected Products

ProductVersions
LibreTranslateLibreTranslate
  • 1.9.7 and earlierAffected
  • 397fd224080515d4001a1bc60c8fed53e3c56b6fNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.