Live threats

All CVEs / Seafile

CVE-2021-43820Seafile Server

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
1.0%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Dec 14, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-639
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

Seafile is an open source cloud storage system. A sync token is used in Seafile file syncing protocol to authorize access to library data. To improve performance, the token is cached in memory in seaf-server. Upon receiving a token from sync client or SeaDrive client, the server checks whether the token exist in the cache. However, if the token exists in cache, the server doesn't check whether it's associated with the specific library in the URL. This vulnerability makes it possible to use any valid sync token to access data from any **known** library. Note that the attacker has to first find out the ID of a library which it has no access to. The library ID is a random UUID, which is not possible to be guessed. There are no workarounds for this issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Seafile Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
seafileseafile_server< 8.0.8
seafileseafile_server< 8.0.15
seafileseafile_server≥ 9.0.0 < 9.0.2

Official sources

References

Links published by the sources. Open them with care.