{"id":80775,"date":"2026-06-19T09:11:44","date_gmt":"2026-06-19T05:41:44","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-54414-filerise-shared-folder-upload-path-traversal-allows-arbitrary-file-write-and-admin-takeover\/"},"modified":"2026-06-19T09:11:44","modified_gmt":"2026-06-19T05:41:44","slug":"cve-2026-54414-filerise-shared-folder-upload-path-traversal-allows-arbitrary-file-write-and-admin-takeover","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-54414-filerise-shared-folder-upload-path-traversal-allows-arbitrary-file-write-and-admin-takeover\/","title":{"rendered":"CVE-2026-54414 &#8211; FileRise shared-folder upload path traversal allows arbitrary file write and admin takeover"},"content":{"rendered":"<p>CVE ID :CVE-2026-54414<\/p>\n<p>  Published : June 19, 2026, 5:41 a.m. | 2\u00a0hours, 1\u00a0minute ago<\/p>\n<p>  Description :FileRise before 3.16.0 is vulnerable to path traversal in the shared-folder upload endpoint (\/api\/folder\/uploadToSharedFolder.php), leading to arbitrary file write and administrator account takeover. The upload filename is validated by FolderController with basename() and REGEX_FILE_NAME, which permit URL-encoded sequences (the regex blocks \/ and  but not %). The raw filename is then passed to UploadModel::handleUpload, where it is reconstructed as trim(urldecode(basename($fileName))), re-introducing path separators after validation (e.g. ..%2fusers%2fusers.txt becomes ..\/users\/users.txt). UploadNamePolicy::isAllowedForWrite() applies basename() internally and therefore only evaluates the final component (users.txt), allowing the traversal sequence to pass the extension policy. The destination path is then used directly in move_uploaded_file() with no realpath containment check, allowing a write outside the intended upload directory. An attacker who possesses a valid, non-expired, upload-enabled shared-folder link\/token (which are designed to be shared publicly) can overwrite users\/users.txt to create an administrator account, resulting in unauthenticated admin takeover and, depending on configuration, remote code execution. Exploitation requires possession of a valid, non-expired, upload-enabled shared-folder link\/token. This issue is fixed in 3.16.0, which URL-decodes before validation and rejects any path separators in the upload filename.<\/p>\n<p>  Severity: 9.8 | CRITICAL<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-54414 Published : June 19, 2026, 5:41 a.m. | 2\u00a0hours, 1\u00a0minute ago Description :FileRise before 3.16.0 is vulnerable to path traversal in the shared-folder upload endpoint (\/api\/folder\/uploadToSharedFolder.php), leading to arbitrary file write and administrator account takeover. The upload filename is validated by FolderController with basename() and REGEX_FILE_NAME, which permit URL-encoded sequences (the regex &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-80775","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=80775"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/80775\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=80775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=80775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=80775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}