---
id: CVE-2026-55495
title: Cloudreve is a self-hosted file management and sharing system
summary: >-
  Cloudreve is a self-hosted file management and sharing system. Prior to
  4.17.0, the WOPI PUT_RELATIVE handler passes X-WOPI-SuggestedTarget to
  URI.JoinRaw as a path rather than a filename, allowing slash and dot-dot
  segments to escape th…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-22
vendor: cloudreve
product: github.com/cloudreve/Cloudreve/v4
affected:
  - github.com/cloudreve/Cloudreve/v4 < 4.0.0-20260613023150-7968e50429ef
  - github.com/cloudreve/Cloudreve/v3 <= 3.0.0-20250225100611-da4e44b77af4
patched:
  - github.com/cloudreve/Cloudreve/v4 4.0.0-20260613023150-7968e50429ef
published: '2026-07-31'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:51:43.490'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55495'
references:
  - url: >-
      https://github.com/cloudreve/cloudreve/commit/7968e50429efab40ffa8f57fecdfbd5a73d23630
    label: security-advisories@github.com
  - url: 'https://github.com/cloudreve/cloudreve/releases/tag/4.17.0'
    label: security-advisories@github.com
  - url: >-
      https://github.com/cloudreve/cloudreve/security/advisories/GHSA-49h3-cwhj-4737
    label: security-advisories@github.com
  - url: >-
      https://github.com/cloudreve/cloudreve/security/advisories/GHSA-49h3-cwhj-4737
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-49h3-cwhj-4737'
tags:
  - nvd
  - ghsa
  - go
epss: 0.00376
epssPercentile: 0.28897
aliases:
  - GHSA-49h3-cwhj-4737
ecosystem: go
ingestedAt: '2026-07-24T21:39:14.978Z'
---

## Overview

Cloudreve is a self-hosted file management and sharing system. Prior to 4.17.0, the WOPI PUT_RELATIVE handler passes X-WOPI-SuggestedTarget to URI.JoinRaw as a path rather than a filename, allowing slash and dot-dot segments to escape the source file directory and create or conditionally overwrite files elsewhere in the same owner account. This issue is fixed in version 4.17.0.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55495)

Affected packages:

- `github.com/cloudreve/Cloudreve/v4 < 4.0.0-20260613023150-7968e50429ef`
- `github.com/cloudreve/Cloudreve/v3 <= 3.0.0-20250225100611-da4e44b77af4`

Patched in:

- `github.com/cloudreve/Cloudreve/v4 4.0.0-20260613023150-7968e50429ef`

Source: https://github.com/advisories/GHSA-49h3-cwhj-4737
