Skip to content
Heist/ feed
Back to feed
High

Pagekit CMS 1.0.18 Privilege Escalation via UserApiController

Type: advisorySources: OSV

Pagekit CMS 1.0.18 contains a privilege escalation vulnerability that allows authenticated users with the 'user: manage users' permission to escalate privileges by assigning arbitrary custom roles to themselves due to missing authorization checks in UserApiController::saveAction(). Attackers can assign themselves a custom role with the 'system: manage packages' permission and then upload and install a malicious PHP package through the admin package installer to achieve remote code execution.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-57518
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:21 UTC · Revision 1

Source evidence

Pagekit CMS 1.0.18 Privilege Escalation via UserApiController

core-osv · Original source

Published 26 Jun 2026, 15:58 UTC

Pagekit CMS 1.0.18 contains a privilege escalation vulnerability that allows authenticated users with the 'user: manage users' permission to escalate privileges by assigning arbitrary custom roles to themselves due to missing authorization checks in UserApiController::saveAction(). Attackers can assign themselves a custom role with the 'system: manage packages' permission and then upload and install a malicious PHP package through the admin package installer to achieve remote code execution.

osv:CVE-2026-57518
Complete source record
{
  "id": "fad826b3bb769f42d66d959103f3160947f9aec04abe3e4b3f2b0c1fcf8a29e1",
  "url": "https://osv.dev/vulnerability/CVE-2026-57518",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Pagekit CMS 1.0.18 Privilege Escalation via UserApiController",
    "summary": "Pagekit CMS 1.0.18 contains a privilege escalation vulnerability that allows authenticated users with the 'user: manage users' permission to escalate privileges by assigning arbitrary custom roles to themselves due to missing authorization checks in UserApiController::saveAction(). Attackers can assign themselves a custom role with the 'system: manage packages' permission and then upload and install a malicious PHP package through the admin package installer to achieve remote code execution.",
    "evidence": "osv:CVE-2026-57518",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-57518",
      "aliases": [
        "CVE-2026-57518"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pagekit/pagekit",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "95446c5f08fc43993fad5e2b581743ffcce50c35"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.0.18"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.18",
            "1.0.17",
            "1.0.16",
            "1.0.15",
            "1.0.14",
            "1.0.13",
            "1.0.12",
            "1.0.11",
            "1.0.10",
            "1.0.9",
            "1.0.8",
            "1.0.7",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "0.11.3",
            "0.11.2",
            "0.11.1",
            "0.11.0",
            "0.10.4",
            "0.10.3",
            "0.10.2",
            "0.10.1",
            "0.10.0",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2",
            "0.9.1",
            "0.9.0",
            "0.8.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57518.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.368842725Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57518.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-57518",
        "https://www.vulncheck.com/advisories/pagekit-cms-privilege-escalation-via-userapicontroller",
        "https://github.com/pagekit/pagekit",
        "https://gist.github.com/sermikr0/6f0a67e9d101746fcdb04827de137847"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-862"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57518.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-57518",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514232,
  "published_at": "2026-06-26T15:58:20.847+00:00"
}