CVE-2026-57942
JSON

6.9medium

LibreTranslate - IP Spoofing via X-Forwarded-For Header

Severity
6.9medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.23% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
LibreTranslate LibreTranslateup to 1.9.7
Not affected: 397fd224080515d4001a1bc60c8fed53e3c56b6f
CVE List

All scores

VulnCheck6.9medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
VulnCheck5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-348

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

LibreTranslate hasta 1.9.7, corregido en el commit 397fd22, contiene una vulnerabilidad de suplantación de IP en la función get_remote_address() que permite a atacantes no autenticados suplantar direcciones IP de cliente inyectando valores arbitrarios en el encabezado X-Forwarded-For sin validación de proxy de confianza. Los atacantes pueden eludir la limitación de velocidad por IP y las prohibiciones por inundación suministrando direcciones falsificadas en el encabezado X-Forwarded-For para permitir el abuso ilimitado de la API.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-57942 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-57942 changed 2026-10-25Public domain