CVE-2025-21622 HIGH

CVE-2025-21622: ClipBucket V5 Avatar URL Path Traversal to Arbitrary File Delete

Vendor Macwarrior
Product clipbucket-v5
Weakness CWE-22 · Path traversal
Published January 7, 2025
Last update January 7, 2025

CVSS base score

7.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 7, 2025 CVE published
January 7, 2025 Record updated