# CVE-2026-142272: Seafile Seahub before 13.0.31 and 14.0.0 through 14.0.11 SSRF via OCM Share seafileServiceURL

Source: https://aplosec.si/cve/CVE-2026-142272/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142272

Medium 5.3 · Reported · No fix listed · CWE-918 · Server

# Seafile Seahub before 13.0.31 and 14.0.0 through 14.0.11 SSRF via OCM Share seafileServiceURL

CVE-2026-142272 · published 2026-12-02

In plain words: this type of bug lets someone trick the server into making requests to places it should not reach (server-side request forgery, SSRF). No fixed release is listed yet.

## Summary

CVE-2026-142272 affects Seahub (Server) < 13.0.31; >= 14.0.0, <= 14.0.11: SSRF via OCM Share seafileServiceURL (CWE-918). No fixed release is listed. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/seafile-seahub-before-13.0.31-and-14.0.0-through-14.0.11-ssrf-via-ocm-share-seafileserviceurl](https://www.vulncheck.com/advisories/seafile-seahub-before-13.0.31-and-14.0.0-through-14.0.11-ssrf-via-ocm-share-seafileserviceurl)

- [Fix pull requesthttps://github.com/haiwen/seahub/pull/9776](https://github.com/haiwen/seahub/pull/9776)

- [Vulnerable codehttps://github.com/haiwen/seahub/blob/v14.0.11-server/seahub/api2/endpoints/ocm.py#L100-L216](https://github.com/haiwen/seahub/blob/v14.0.11-server/seahub/api2/endpoints/ocm.py#L100-L216)

- [Vulnerable codehttps://github.com/haiwen/seahub/blob/v14.0.11-server/seahub/api2/endpoints/ocm_repos.py#L27-L65](https://github.com/haiwen/seahub/blob/v14.0.11-server/seahub/api2/endpoints/ocm_repos.py#L27-L65)

- [Fix commithttps://github.com/haiwen/seahub/commit/01b79c77a645d59112a557dedb2310eb5723ba35](https://github.com/haiwen/seahub/commit/01b79c77a645d59112a557dedb2310eb5723ba35)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142272](https://www.cve.org/CVERecord?id=CVE-2026-142272)

**Severity:** Medium 5.3 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142272)

**Package:** Seahub

**Ecosystem:** Server

**Affected:** < 13.0.31; >= 14.0.0, <= 14.0.11

**Fixed:** None

**Weakness:** CWE-918

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
