{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.90.0"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e10b60228b92b680663110ea2af431643bfc6126"
            },
            {
              "fixed": "e947fc4ba4a434f276d043386e501b1d14eda679"
            }
          ],
          "repo": "https://github.com/payloadcms/payload",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-97rh-rhh2-7vjv"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-1321",
      "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105858.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "4.0.0-canary.0"
          },
          {
            "fixed": "4.0.0-canary.34"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, a crafted request to the public first-register operation can execute code remotely when local authentication is enabled and no initial user has been created. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.",
  "id": "CVE-2026-105858",
  "modified": "2026-10-09T10:30:54.997999716Z",
  "published": "2026-10-06T16:29:52.420Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/payloadcms/payload/releases/tag/v3.90.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105858.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/payloadcms/payload/security/advisories/GHSA-97rh-rhh2-7vjv"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105858"
    },
    {
      "type": "FIX",
      "url": "https://github.com/payloadcms/payload/commit/e947fc4ba4a434f276d043386e501b1d14eda679"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Payload: Remote Code Execution through first-register"
}