GHSA-rc6m-346q-rgq6
Pagekit CMS version 1.0.18 has a privilege escalation vulnerability that allows authenticated users with the 'user: manage users' permission to assign arbitrary custom roles to themselves. This occurs due to missing authorization checks in the UserApiController::saveAction() method. Exploiting this flaw, attackers can grant themselves a custom role with the 'system: manage packages' permission, enabling them to upload and install malicious PHP packages via the admin package installer, potentially leading to remote code execution.
AI Analysis
Technical Summary
The vulnerability in Pagekit CMS 1.0.18 arises from insufficient authorization validation in the UserApiController::saveAction() function. Authenticated users who have the 'user: manage users' permission can escalate their privileges by assigning themselves arbitrary custom roles. By assigning a role with the 'system: manage packages' permission, an attacker can upload and install malicious PHP packages through the administrative package installer, resulting in remote code execution on the server.
Potential Impact
Successful exploitation allows an authenticated user with limited privileges to escalate their permissions to administrative levels, specifically gaining the ability to manage packages. This leads to the installation of malicious PHP packages, enabling remote code execution on the affected system. This compromises the confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict the 'user: manage users' permission to trusted administrators only and monitor for suspicious package installation activities. Avoid granting unnecessary permissions to users and consider disabling the package installer if not required.
GHSA-rc6m-346q-rgq6
Description
Pagekit CMS version 1.0.18 has a privilege escalation vulnerability that allows authenticated users with the 'user: manage users' permission to assign arbitrary custom roles to themselves. This occurs due to missing authorization checks in the UserApiController::saveAction() method. Exploiting this flaw, attackers can grant themselves a custom role with the 'system: manage packages' permission, enabling them to upload and install malicious PHP packages via the admin package installer, potentially leading to remote code execution.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Pagekit CMS 1.0.18 arises from insufficient authorization validation in the UserApiController::saveAction() function. Authenticated users who have the 'user: manage users' permission can escalate their privileges by assigning themselves arbitrary custom roles. By assigning a role with the 'system: manage packages' permission, an attacker can upload and install malicious PHP packages through the administrative package installer, resulting in remote code execution on the server.
Potential Impact
Successful exploitation allows an authenticated user with limited privileges to escalate their permissions to administrative levels, specifically gaining the ability to manage packages. This leads to the installation of malicious PHP packages, enabling remote code execution on the affected system. This compromises the confidentiality, integrity, and availability of the system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict the 'user: manage users' permission to trusted administrators only and monitor for suspicious package installation activities. Avoid granting unnecessary permissions to users and consider disabling the package installer if not required.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rc6m-346q-rgq6
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-57518"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a3ef78e27e9c79719ff5b10
Added to database: 06/26/2026, 22:05:02 UTC
Last enriched: 06/26/2026, 22:16:20 UTC
Last updated: 06/27/2026, 01:11:19 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.