{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "14.0.0"
                  },
                  {
                    "last_affected": "14.0.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "01b79c77a645d59112a557dedb2310eb5723ba35"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "8ffb73e4996039075cc64c78d8a14feafc987f5d"
            },
            {
              "last_affected": "87ce5c64929a558c11f4129991b6153a5615893e"
            },
            {
              "fixed": "01b79c77a645d59112a557dedb2310eb5723ba35"
            }
          ],
          "repo": "https://github.com/haiwen/seahub",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-918"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142272.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "13.0.31"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-142272",
  "modified": "2026-12-02T17:45:29.812796605Z",
  "published": "2026-12-02T16:49:25.601Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142272.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/haiwen/seahub"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/haiwen/seahub/blob/v14.0.11-server/seahub/api2/endpoints/ocm.py#L100-L216"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/haiwen/seahub/blob/v14.0.11-server/seahub/api2/endpoints/ocm_repos.py#L27-L65"
    },
    {
      "type": "FIX",
      "url": "https://github.com/haiwen/seahub/commit/01b79c77a645d59112a557dedb2310eb5723ba35"
    },
    {
      "type": "FIX",
      "url": "https://github.com/haiwen/seahub/pull/9776"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142272"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/seafile-seahub-before-13.0.31-and-14.0.0-through-14.0.11-ssrf-via-ocm-share-seafileserviceurl"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Seafile Seahub before 13.0.31 and 14.0.0 through 14.0.11 SSRF via OCM Share seafileServiceURL"
}