Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-41691: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in i18next i18next-http-backend

0
Medium
VulnerabilityCVE-2026-41691cvecve-2026-41691cwe-22cwe-74
Published: 05/07/2026 (05/07/2026, 20:09:24 UTC)
Source: CVE Database V5
Vendor/Project: i18next
Product: i18next-http-backend

Description

CVE-2026-41691 is a path traversal and URL injection vulnerability in i18next-http-backend versions prior to 3.0.5. The issue arises because the library interpolates language (lng) and namespace (ns) values directly into URL templates without encoding or sanitization. This allows an attacker controlling these inputs to manipulate the request URL structure, potentially accessing restricted paths. The vulnerability has been fixed in version 3.0.5. Until upgrading, users can mitigate risk by sanitizing lng and ns inputs to remove dangerous characters and limit length.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected software

i18next-http-backend
pkg:npm/i18next-http-backend
Affected versions
<3.0.5

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/15/2026, 11:01:08 UTC

Technical Analysis

The i18next-http-backend library versions before 3.0.5 interpolate user-controllable language and namespace parameters directly into URL templates without proper encoding or path sanitization. This improper limitation of pathname allows attackers to inject characters that alter the URL structure, enabling path traversal and broader URL injection attacks. The vulnerability is addressed by the interpolateUrl sanitization fix introduced in version 3.0.5. Users unable to upgrade immediately can mitigate by sanitizing inputs to strip characters such as '..', '/', '\', '?', '#', '%', whitespace, and control characters, and by capping input length.

Potential Impact

An attacker can manipulate the language or namespace parameters to craft URLs that traverse directories or alter URL structure, potentially leading to unauthorized access to resources or unintended backend requests. The CVSS score of 6.5 (medium severity) reflects limited confidentiality and integrity impact without privilege or user interaction requirements. There are no known exploits in the wild at this time.

Mitigation Recommendations

A fixed version 3.0.5 of i18next-http-backend is available and should be applied to remediate this vulnerability. If immediate upgrading is not possible, users should sanitize the lng and ns inputs before they reach i18next by removing characters such as '..', '/', '\', '?', '#', '%', whitespace, and control characters, and by limiting the length of these inputs. This workaround reduces the risk until the official fix can be deployed.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-22T03:53:24.407Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fcf7c7cbff5d86102fe190

Added to database: 05/07/2026, 20:36:23 UTC

Last enriched: 05/15/2026, 11:01:08 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 107

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses