{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "14.0.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "dd3ba0341031fd29cabe4855b548badde861df52"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "dd3ba0341031fd29cabe4855b548badde861df52"
            }
          ],
          "repo": "https://github.com/haiwen/seahub",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-338"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125362.json"
  },
  "details": "Seahub through 14.0.10 contains a weak randomness vulnerability in MultiShareLinksBatch.post() that generates batch share link passwords using Python's non-cryptographic random.choices(). Authenticated users permitted to create share links can request many generated passwords via the multi-share-links batch endpoint, recover the Mersenne Twister state, and predict other users' share link passwords.",
  "id": "CVE-2026-125362",
  "modified": "2026-11-15T02:31:05.579554006Z",
  "published": "2026-11-09T23:27:35.716Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125362.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125362"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/seahub-through-14.0.10-predictable-share-link-passwords-via-batch-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/haiwen/seahub/issues/9687"
    },
    {
      "type": "FIX",
      "url": "https://github.com/haiwen/seahub/commit/dd3ba0341031fd29cabe4855b548badde861df52"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/haiwen/seahub"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/haiwen/seahub/blob/v14.0.10-pro/seahub/api2/endpoints/multi_share_links.py#L502-L512"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Seahub through 14.0.10 Predictable Share Link Passwords via Batch Endpoint"
}