Security Alert Summary
The Vitepos WordPress plugin before 3.4.2 contains a privilege escalation vulnerability in a REST API endpoint that does not properly restrict which roles can be assigned when creating new users. Authenticated users with a custom Vitepos role may be able to escalate their privileges to administrator.
CVE Details
- CVE ID: CVE-2026-8157
- Affected component: Vitepos WordPress plugin
- Affected versions: Versions before 3.4.2
- Published: June 22, 2026 at 6:16:29 AM UTC
- Last modified: June 22, 2026 at 2:17:54 PM UTC
- CVSS v3.1: Base Score 8.8, Severity HIGH, Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Authentication/Privileges/User Interaction: Authentication required (authenticated user). Privileges required: Low. User interaction: None.
- Primary impact: Confidentiality: High; Integrity: High; Availability: High
- CWE / Weakness: CWE-269
Technical Details
The plugin fails to properly restrict role assignment when creating new users via one of its REST API endpoints. This allows an authenticated user who holds a custom role provided by the Vitepos plugin to specify or obtain an elevated role, including administrator, during user creation. The issue is a privilege management error where role assignment checks are insufficient or missing for that endpoint.
The vulnerability exists because the endpoint does not enforce correct authorization checks on the roles that can be assigned by the caller. As described in the advisory, an authenticated user with a low-privileged Vitepos role can escalate privileges to administrator without additional user interaction.
How This Could Impact Your Website
In a realistic scenario, a site owner delegates routine tasks to internal staff and external contractors. If one of those users has a custom Vitepos role and the site runs an affected version, that user could use the vulnerable REST API endpoint to create or modify accounts with administrator-level privileges. Practical consequences include exposure of sensitive administrative functions, the potential exposure of internal user email addresses if account listings are accessible, and increased risk of targeted phishing or social engineering using privileged accounts.
If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially contributor- and custom-plugin roles that have elevated capabilities.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins and audit custom roles introduced by plugins.
- Monitor site activity and user creation logs for unusual behavior or unexpected new administrator accounts.
If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.