All vulnerabilities

npm

CVE-2026-115565

storyblok-backup: Stored path traversal via unsanitized Storyblok component names in backup output

Severity
Medium 5.7
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.7.1
Exploit chance
0.4% in the next 30 daysHigher than 30% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Also known as
GHSA-vcx7-pfrh-mcfg
Sources
OSV.dev and GitHub

Description

storyblok-backup writes files using unsanitized names for Storyblok components, which are content type or schema definitions. This allows a component name containing path traversal sequences to cause backup files to be written outside the intended backup directory. Anyone with component management access in the source Storyblok space, not server access, can plant a malicious component name that causes arbitrary file writes on the machine of anyone who later runs a backup against that space.

The writeJson function, which takes a folder, a file name, and content, builds the output file path by directly concatenating the backup directory, the folder, and the file name as strings, with no path sanitization or containment check.

For the components resource type specifically, the file name used is the component's own name field, which is free text and editable by anyone with component management access in the Storyblok CMS.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
storyblok-backupnpm · osv:npm:storyblok-backup
  • Every version before 0.7.1

About storyblok-backup

Weekly downloads (npm)
1,573npm, 24 Nov 2026

This is the only vulnerability in storyblok-backup in our list.

References