External Control of File Name or Path Affecting ghost package, versions >=1.20.0 <6.64.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (29th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about External Control of File Name or Path vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-GHOST-21693965
  • published24 Oct 2026
  • disclosed7 Oct 2026
  • creditUnknown

Introduced: 7 Oct 2026

NewCVE-2026-104417  (opens in a new tab)
CVE-2026-105676  (opens in a new tab)
CWE-22  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade ghost to version 6.64.0 or higher.

Overview

ghost is a publishing platform

Affected versions of this package are vulnerable to External Control of File Name or Path via the _readTranslationsFile method in the i18n theme engine, where a locale value supplied by an authenticated administrator is used to construct a file path without first validating that the resolved path remains within the translations directory. An attacker with administrator privileges can supply a path-traversal sequence as the locale value to read arbitrary files from the server's filesystem.

CVSS Base Scores

version 4.0
version 3.1