# CVE-2026-41885: Path traversal / URL injection via unsanitised lng/ns/projectId/version in i18next-locize-backend

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-04-22T20:28:27.000Z
- Modified: 2026-10-26T18:10:00.173Z
- Also known as: GHSA-mgcp-mfp8-3q45
- Weaknesses: CWE-22, CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

i18next-locize-backend is a simple i18next backend for locize.com which can be used in Node.js, in the browser and for Deno. Prior to version 9.0.2, i18next-locize-backend interpolates lng, ns, projectId, and version directly into the configured loadPath / privatePath / addPath / updatePath / getLanguagesPath URL templates with no path-component validation and no encoding. When an application exposes any of these values to user-controlled input (?lng= / ?ns= query parameters via i18next-browser-languagedetector, cookies, request headers, or a URL-derived projectId), a crafted value can change the structure of the outgoing request URL. Affected call sites in lib/index.js (pre-patch): the interpolate() helper is used at the five URL-build sites — _readAny/read (line 415 for private, 426 for public), getLanguages (lines 271 and 296), and writePage (lines 616 and 622) for the missing-key and update POST paths. The helper interpolate in lib/utils.js substitutes raw values with no encoding. This issue has been patched in version 9.0.2.

(As written by CVE List.)

## Affected

- locize i18next-locize-backend: < 9.0.2
- i18next-locize-backend (npm): before 9.0.2

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/locize/i18next-locize-backend/security/advisories/GHSA-mgcp-mfp8-3q45> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41885> (advisory)
- <https://github.com/locize/i18next-locize-backend/commit/8f81ad4707aa0e90647fde4da5fbe5b23153c6e1> (web)
- <https://github.com/locize/i18next-locize-backend> (package)
- <https://github.com/locize/i18next-locize-backend/releases/tag/v9.0.2> (web)

## Sources

- CVE List: [CVE-2026-41885](https://www.cve.org/CVERecord?id=CVE-2026-41885), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-mgcp-mfp8-3q45](https://github.com/advisories/GHSA-mgcp-mfp8-3q45), CC-BY-4.0, modified 2026-05-13
- NVD: [CVE-2026-41885](https://nvd.nist.gov/vuln/detail/CVE-2026-41885), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-41885 · Whole record: https://cve.day/CVE-2026-41885.json · Rebuilt by cve.day 2026-11-25T22:59:21.096Z
