CVE-2026-142272: Seafile Seahub before 13.0.31 and 14.0.0 through 14.0.11 SSRF via OCM Share seafileServiceURL
Seafile Seahub before 13.0.31 and 14.0.0 through 14.0.11 contains a server-side request forgery vulnerability that allows unauthenticated attackers to plant OCM shares with an unvalidated seafileServiceURL via POST /api/v2.1/ocm/shares/. A low-privileged user addressing the share to their own account can browse it to make the server request loopback, private network, or cloud metadata addresses and read JSON responses.
Affected Software
Event History
Frequently Asked Questions
Which deployments are affected?
Seafile Seahub versions before 13.0.31 and versions 14.0.0 through 14.0.11 are affected.
What access does an attacker need to trigger server-side requests?
An unauthenticated attacker can submit a crafted OCM share through POST /api/v2.1/ocm/shares/. To trigger browsing of that share and read the resulting JSON response, a low-privileged user must address the share to their own account and browse it.
What internal targets can the vulnerable server be induced to contact?
The crafted seafileServiceURL can cause requests to loopback addresses, private-network addresses, or cloud metadata addresses. JSON responses from those targets can be read through the share-browsing flow.