CVE-2026-57942
published medium CVSS 4.0 · 6.9LibreTranslate - IP Spoofing via X-Forwarded-For Header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LibreTranslate | — | LibreTranslate0 through 1.9.7 (affected · semver) · 397fd224080515d4001a1bc60c8fed53e3c56b6f (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LibreTranslate | LibreTranslate | 0 through 1.9.7 (affected · semver)397fd224080515d4001a1bc60c8fed53e3c56b6f (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-348 Use of Less Trusted Source
References
4- Patch Commit https://github.com/LibreTranslate/LibreTranslate/commit/397fd224080515d4001a1bc60c8fed53e3c56b6f
- Researcher Disclosure https://github.com/LibreTranslate/LibreTranslate/issues/986
- Pull Request https://github.com/LibreTranslate/LibreTranslate/pull/987
- https://www.vulncheck.com/advisories/libretranslate-ip-spoofing-via-x-forwarded-for-header
Provider assertions
2VulnCheck · cna
LibreTranslate - IP Spoofing via X-Forwarded-For Header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8cc72e4e68ab9009d6f9f159778f7d969d536071dc5e08ba8336b8a7dba5a38
- Ingested
- 08 Nov 2026, 14:13:57 UTC
- Source record
- Official CVE record