{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "26.09.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v26.09.3",
                "range": [
                  {
                    "fixed": "bf680915b6dbaf93eee5234ec72dc33bc5abafbf"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "26.09.3"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bf680915b6dbaf93eee5234ec72dc33bc5abafbf"
            }
          ],
          "repo": "https://github.com/bookstackapp/bookstack",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125870.json"
  },
  "details": "BookStack before 26.09.3 contains a missing authorization vulnerability in ImageController::checkImagePermission() that allows authenticated non-admin users to bypass page-level content restrictions for images whose owning page has been moved to the recycle bin, because the permission check relies on Page::getPage() which returns null for soft-deleted pages and silently skips the PageView check. Attackers can enumerate sequential image IDs via GET /images/edit/{id} to disclose metadata of restricted images, and users with image-update-all/image-delete-all privileges can rename, replace, or permanently delete images belonging to content they cannot view, persisting the damage even after the page is restored.",
  "id": "CVE-2026-125870",
  "modified": "2026-11-14T02:30:21.739498768Z",
  "published": "2026-11-12T12:48:05.387Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125870.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125870"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.bookstackapp.com/blog/bookstack-release-v26-09-3/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/bookstack-before-broken-access-control-via-imagecontroller"
    },
    {
      "type": "FIX",
      "url": "https://codeberg.org/bookstack/bookstack/releases/tag/v26.09.3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/BookStackApp/BookStack/releases/tag/v26.09.3"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bookstackapp/bookstack"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "BookStack before 26.09.3 Broken Access Control via ImageController"
}