CVE-2025-21622

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21622
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21622.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-21622
Aliases
  • GHSA-5qpx-23rw-36gg
Published
2025-01-07T15:33:40.680Z
Modified
2025-12-05T08:14:08.879239Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
ClipBucket V5 Avatar URL Path Traversal to Arbitrary File Delete
Details

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 avatarurl 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 avatarurl) 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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21622.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/macwarrior/clipbucket-v5

Affected ranges

Type
GIT
Repo
https://github.com/macwarrior/clipbucket-v5
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

5.*

5.3
5.3.1
5.4.0
5.4.1
5.5.0

Database specific

source

"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21622.json"