p PatchFirst

CVE-2026-39942

CVE-2026-39942 · Directus has a Path Traversal and Broken Access Control in File Management API

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

Directus is a real-time API and App dashboard for managing SQL database content. Prior to 11.17.0, the PATCH /files/{id} endpoint accepts a user-controlled filename_disk parameter. By setting this value to match the storage path of another user's file, an attacker can overwrite that file's content while manipulating metadata fields such as uploaded_by to obscure the tampering. This vulnerability is fixed in 11.17.0.

CVSS 8.5 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • directus

    Versions
    • < 11.17.0: Affected

    No fix published

  • directus npm

    Affected ranges
    • SEMVER: < 11.17.0

    Update to 11.17.0

Original sources

Check your server →