VDB
Sign up
MEDIUM4.9

GHSA-9c9v-w225-v5rg

Ghost vulnerable to arbitrary file read via symlinks in content import

Quick fix

GHSA-9c9v-w225-v5rg — ghost: upgrade to the fixed version with the command below.

npm install ghost@5.59.1

Details

### Impact

A vulnerability in Ghost allows authenticated users to upload files which are symlinks. This can be exploited to perform an arbitrary file read of any file on the operating system.

Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost's `content/` folder

### Vulnerable versions

This security vulnerability is present in Ghost ≤ v5.59.0.

### Patches

v5.59.1 contains a fix for this issue.

### For more information

If you have any questions or comments about this advisory: * Email us at [security@ghost.org](mailto:security@ghost.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/ghost
Introduced in: 0Fixed in: 5.59.1
Fixnpm install ghost@5.59.1

References