CVE-2026-28791: Tina: Path Traversal in Media Upload Handle
A path traversal vulnerability (CWE-22) exists in the TinaCMS development server’s media upload handler. The code at media.ts:42-43 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.
Attack Vector: Network (HTTP POST request) Impact: Arbitrary file write, potential Remote Code Execution
References
Code Behaviors & Features
Detect and mitigate CVE-2026-28791 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →