p PatchFirst

CVE-2026-28791

CVE-2026-28791 · Path Traversal in Media Upload Handle in Tina

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Tina is a headless content management system. Prior to 2.1.7, a path traversal vulnerability exists in the TinaCMS development server's media upload handler. The code at media.ts joins user-controlled path segments using path.join() without validating that the resulting path stays within the intended media directory. This allows writing files to arbitrary locations on the filesystem. This vulnerability is fixed in 2.1.7.

CVSS 7.4 · High · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • tinacms

    Versions
    • < 2.1.7: Affected

    No fix published

  • tinacms npm

    Affected ranges
    • SEMVER: < 2.1.7

    Update to 2.1.7

Original sources

Check your server →