CVE-2026-48713 is a critical-severity (CVSS 9.1) CWE-1321 vulnerability in i18next-fs-backend. A fix is available for i18next-fs-backend — see the affected versions and patch details below.
i18next-fs-backend: Prototype pollution via crafted missing-key string
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-48713.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2026-48713 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 379,842 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.
i18next-fs-backendnpmDescription
Impact
i18next-fs-backend ≤ 2.6.5, when used to persist missing translation keys (e.g. via i18next-http-middleware's missingKeyHandler exposed to untrusted input), is vulnerable to prototype pollution via crafted missing-key strings.
Backend.writeFile() splits each queued missing-key string on the configured keySeparator (default .) before calling the internal setPath() walker. The walker (getLastOfPath in lib/utils.js) did not guard against unsafe segments, so a key like "__proto__.polluted" was split into ["__proto__", "polluted"] and walked straight into Object.prototype, allowing an attacker to write arbitrary properties onto the global object prototype.
Depending on the host application, polluted prototype properties may cause crashes, corrupted translation behaviour, configuration poisoning, or bypasses of property-based security checks.
Affected configuration
Applications are directly affected only if all of the following hold:
i18next-fs-backend≤ 2.6.5 is configured as the backend.i18next-http-middleware'smissingKeyHandler(or another route that forwards untrusted request bodies toi18next.t(..., { ... })withsaveMissing: true) is reachable by untrusted users.- The default behaviour of splitting missing-key strings on
keySeparatoris in use (i.e.keySeparatoris notfalse).
Apps that do not expose missing-key persistence to untrusted input are not directly affected through this attack path.
Patches
Fixed in i18next-fs-backend 2.6.6. The traversal helper now refuses to descend through __proto__, constructor, or prototype segments and drops the offending write silently. Legitimate dotted keys (e.g. "header.title") are unaffected.
A matching defence-in-depth fix has been shipped in i18next-http-middleware 3.9.7 — see the companion advisory.
Workarounds
If users cannot upgrade immediately:
- Do not expose
i18next-http-middleware'smissingKeyHandlerto untrusted users (mount it behind authentication, or remove the route). - Disable missing-key persistence (
saveMissing: false, or nobackend.createimplementation) when accepting writes from untrusted input. - Set
keySeparator: falsein the i18next options to disable backend key splitting (note: this also disables nested translation keys).
Resources
- Original report by @codeswhite.
- Companion advisory in
i18next-http-middleware: GHSA-f49m-vf83-692w. - Previous
i18next-fs-backendsecurity release: GHSA-8847-338w-5hcj (path traversal vialng/ns, fixed in 2.6.4).
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 📦npm | i18next-fs-backend | all versions | 2.6.6npm install i18next-fs-backend@2.6.6 |
Affected Products
i18next-fs-backendi18nextDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for i18next-fs-backend, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update i18next-fs-backend to 2.6.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-48713 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2026-48713 in your dependencies?
Find it across npm, including transitive dependencies.