Read the docs

Path traversal in storyblok-backup lets component names overwrite files

Priority MEDIUM 59CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

storyblok-backup, an npx CLI tool for backing up Storyblok spaces, is affected before 0.7.1. Its writeJson function used the editable Storyblok component name as a filename without checking the path, so a name containing path traversal sequences could escape the backup directory (CWE-22). A user with component-management access in a Storyblok space can cause a later backup run of that space to write a JSON file outside the backup directory on the backup host, potentially overwriting existing files. The flaw affects components only, not stories, datasources or assets.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

storyblok-backup is an npx CLI tool to create backups of a Storyblok space and restore individual resources. Prior to 0.7.1, the writeJson function used the editable Storyblok component name field as a filename without path containment. A person with component-management access in a Storyblok space could store a component name containing path traversal sequences; when another user later ran a backup for that space, the stored name escaped the configured backup directory and caused a JSON file to be written outside it on the backup host. Depending on the path chosen and the backup process's permissions, this could overwrite existing files at attacker-chosen locations. The vulnerability is specific to components: stories and datasources use numeric identifiers, and asset names are reduced to a final path segment. This issue is fixed in version 0.7.1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00391 24th percentileScored 2026-11-30
Fix Fixed storyblok-backup (webflorist): 0.7.1storyblok-backup (npm): 0.7.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
webfloriststoryblok-backupbefore 0.7.10.7.1Patch availableCNA
—storyblok-backup (npm)before 0.7.10.7.1Patch availableGHSA-vcx7-pfrh-mcfg
  • storyblok-backup Vendorwebflorist Affected before 0.7.1 Fixed in 0.7.1 Patch available CNA
  • storyblok-backup (npm) Vendor— Affected before 0.7.1 Fixed in 0.7.1 Patch available GHSA-vcx7-pfrh-mcfg

Remediation

Update storyblok-backup on npm to version 0.7.1, which fixes the flaw. The sources list no advisory identifier for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA storyblok-backup (webflorist) Fixed in 0.7.1
  • Fix · GHSA-vcx7-pfrh-mcfg storyblok-backup (npm) Fixed in 0.7.1 Advisory →

Timeline

  1. 2026-11-19 Threatist record created from CVE-2026-115565
  2. 2026-11-19 CISA SSVC decision points changed
  3. 2026-11-20 Alias added: GHSA-vcx7-pfrh-mcfg
  4. 2026-11-20 Fix available: npm/[email protected] · GHSA-vcx7-pfrh-mcfg
  5. 2026-11-20 CVSS score added · GHSA-vcx7-pfrh-mcfg
  6. 2026-11-20 Weakness changed · GHSA-vcx7-pfrh-mcfg
  7. 2026-11-20 5 new references · GHSA-vcx7-pfrh-mcfg

References

Sources