LibreTranslate - IP Spoofing via X-Forwarded-For Header
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-57942
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:15 UTC · Revision 1
Source evidence
LibreTranslate - IP Spoofing via X-Forwarded-For Header
core-osv · Original sourcePublished 29 Jun 2026, 17:17 UTC
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.
osv:CVE-2026-57942
Complete source record
{
"id": "fbe451271f39900f79512104adf225ce83abfe788b9043d1f3cdae2dfd984e25",
"url": "https://osv.dev/vulnerability/CVE-2026-57942",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "LibreTranslate - IP Spoofing via X-Forwarded-For Header",
"summary": "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.",
"evidence": "osv:CVE-2026-57942",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-57942",
"aliases": [
"CVE-2026-57942"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/libretranslate/libretranslate",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "397fd22"
},
{
"fixed": "397fd224080515d4001a1bc60c8fed53e3c56b6f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "397fd22"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "397fd22"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"fixed": "397fd224080515d4001a1bc60c8fed53e3c56b6f"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v1.9.6",
"v1.9.5",
"v1.9.4",
"v1.9.3",
"v1.9.2",
"v1.9.1",
"v1.9.0",
"v1.8.4",
"v1.8.3",
"v1.8.2",
"v1.8.1",
"v1.8.0",
"v1.7.3",
"v1.7.2",
"v1.6.5",
"v1.6.4",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.7",
"v1.5.6",
"v1.5.5",
"v1.5.4",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.1",
"v1.3.13",
"v1.3.12",
"v1.3.11",
"v1.3.10",
"v1.3.9",
"v1.3.8",
"v1.3.7",
"v1.3.6",
"v1.3.5",
"v1.3.4",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.9",
"v1.2.8",
"v1.2.7",
"v1.2.5",
"v1.2.4",
"v1.2.3",
"v1.2.2",
"v1.2.0",
"v1.1.0",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57942.json"
}
}
],
"modified": "2026-10-28T02:30:28.028018214Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57942.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-57942",
"https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header",
"https://github.com/LibreTranslate/LibreTranslate/issues/986",
"https://github.com/LibreTranslate/LibreTranslate/pull/987",
"https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f",
"https://github.com/LibreTranslate/LibreTranslate"
],
"provider_metadata": {
"cwe_ids": [
"CWE-348"
],
"cna_assigner": "VulnCheck",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"last_affected": "1.9.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
},
{
"extracted_events": [
{
"range": [
{
"last_affected": "1.9.7"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57942.json"
}
},
"related_cves": [
{
"value": "CVE-2026-57942",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494876,
"published_at": "2026-06-29T17:17:09.639+00:00"
}