CVE-2025-21622CWE-22

ClipBucket V5 Avatar URL Path Traversal to Arbitrary File Delete

High · published January 7, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
62.4
In the wild
Unconfirmed
What it is

ClipBucket V5 provides open source video hosting with PHP. During the user avatar upload workflow, a user can choose to upload and change their avatar at any time. During deletion, ClipBucket checks for the avatar_url as a filepath within the avatars subdirectory. If the URL path exists within the avatars directory, ClipBucket will delete it. There is no check for path traversal sequences in the provided user input (stored in the DB as avatar_url) therefore the final $file variable could be tainted with path traversal sequences. This leads to file deletion outside of the intended scope of the avatars folder. This vulnerability is fixed in 5.5.1 - 237.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00998 · 62.4th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-01-07T15:33Z
EPSS history
Timeline
  • 07 JAN 15:33Z
    ClipBucket V5 Avatar URL Path Traversal to Arbitrary File Delete
    cvelistv5