{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0.0"
                  },
                  {
                    "last_affected": "24.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "c65014dbeb63a369acaac70347a116afc60ee825"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "efe4807f8277e21ed1812f3526a08785c57fbb52"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "3b9266060c731683cf64b10b727c8769ece42f8e"
            },
            {
              "last_affected": "4865620345dcca93e42bad34479d19c850bceea2"
            },
            {
              "fixed": "c65014dbeb63a369acaac70347a116afc60ee825"
            },
            {
              "fixed": "efe4807f8277e21ed1812f3526a08785c57fbb52"
            }
          ],
          "repo": "https://github.com/dolibarr/dolibarr",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142691.json"
  },
  "details": "Dolibarr ERP CRM 8.0.0 through 24.0.4 contains an authentication bypass and path traversal vulnerability in htdocs/dav/fileserver.php that allows unauthenticated attackers to write arbitrary files when DAV_ALLOW_PUBLIC_DIR is enabled. Attackers can upload a file to the public directory, then MOVE or COPY it using %2e%2e segments in the Destination header to plant PHP files for remote code execution.",
  "id": "CVE-2026-142691",
  "modified": "2026-12-03T01:45:15.548538847Z",
  "published": "2026-12-03T00:09:35.901Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142691.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Dolibarr/dolibarr"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Dolibarr/dolibarr/blob/4865620345dcca93e42bad34479d19c850bceea2/htdocs/dav/fileserver.php#L246-L252"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dolibarr/dolibarr/commit/c65014dbeb63a369acaac70347a116afc60ee825"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dolibarr/dolibarr/commit/efe4807f8277e21ed1812f3526a08785c57fbb52"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Dolibarr/dolibarr/pull/43743"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142691"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dolibarr-erp-crm-8.0.0-through-24.0.4-unauthenticated-file-write-via-webdav-move-copy"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Dolibarr ERP CRM 8.0.0 through 24.0.4 Unauthenticated File Write via WebDAV MOVE/COPY"
}