{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "23.0.4"
              },
              {
                "fixed": "24.0.1"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "cb82037066c1c71f7c867482e9e92975222dfc14"
            },
            {
              "fixed": "b7958385f00a92219f76a4dfea67dae93df97a25"
            },
            {
              "fixed": "cd05688dbed8a4af6eef32faf4fc1e823a37bce9"
            }
          ],
          "repo": "https://github.com/dolibarr/dolibarr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89013.json"
  },
  "details": "Dolibarr 23.0.4 before 24.0.1 ontains an authorization bypass vulnerability that allows unauthenticated attackers to read arbitrary files through the document storage endpoints by supplying a crafted hashp parameter value. Attackers can send a request with hashp=shared to skip token validation while satisfying the authorization condition in htdocs/document.php and htdocs/viewimage.php, gaining access to application logs, uploaded business documents, database backups containing password hashes, and files belonging to other multicompany entities.",
  "id": "CVE-2026-89013",
  "modified": "2026-09-14T03:30:40.885565723Z",
  "published": "2026-09-11T15:54:59.282Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89013.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Dolibarr/dolibarr/releases/tag/24.0.1"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-89013"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dolibarr-authorization-bypass-via-hashp-parameter-in-document-php"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dolibarr/dolibarr/commit/cd05688dbed8a4af6eef32faf4fc1e823a37bce9"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Dolibarr/dolibarr"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dolibarr 23.0.4 \u003c 24.0.1 Authorization Bypass via hashp Parameter in document.php"
}