CVE-2026-57518 Pagekit CMS 1.0.18 Privilege Escalation via UserApiController

High 8.7 Published Updated

Authenticated users can escalate privileges to install malicious packages, leading to remote code execution in Pagekit CMS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-57518?

CVE-2026-57518 is a high-severity vulnerability in pagekit, published on 26 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-862

Which versions are affected by CVE-2026-57518?

How do I fix CVE-2026-57518?

No fix has been published for CVE-2026-57518 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-57518 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-57518 exists.

Sources

Also known as GHSA-rc6m-346q-rgq6.

Is CVE-2026-57518 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free