{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:docmost:docmost:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.3.0"
              },
              {
                "fixed": "0.71.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "73ddec4ca7415073d765cc62d100030223936b6c"
            },
            {
              "fixed": "642024ba9d1afcc7c14ad3c34da8495037faeaf1"
            }
          ],
          "repo": "https://github.com/docmost/docmost",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-89fp-2hch-j9gp"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34213.json"
  },
  "details": "Docmost is open-source collaborative wiki and documentation software. Starting in version 0.3.0 and prior to version 0.71.0, improper authorization in Docmost allows a low-privileged authenticated user to overwrite another page's attachment within the same workspace by supplying a victim `attachmentId` to `POST /api/files/upload`. This is a remote integrity issue requiring no victim interaction. Version 0.71.0 contains a patch.",
  "id": "CVE-2026-34213",
  "modified": "2026-07-08T05:39:22.212401169Z",
  "published": "2026-04-14T21:49:55.380Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34213.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/docmost/docmost/security/advisories/GHSA-89fp-2hch-j9gp"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34213"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Docmost has cross-page attachment overwrite via flawed attachmentId overwrite validation"
}