CVE-2026-8157: Vitepos WordPress plugin privilege escalation in REST API

CVE-2026-8157 · Severity: info · CVSS 7.2 · Published 2026-06-22

The Vitepos plugin for WordPress, which provides Point of Sale (POS) functionality, contains a security flaw that allows low-privileged users to grant themselves administrative access. By exploiting a weakness in how the plugin handles new user creation, an attacker with basic access can take full control of the website. This could lead to the theft of customer data, website defacement, or a total shutdown of business operations.

Technologies: Vitepos. Vendors: Vitepos.

Quick answers

Is CVE-2026-8157 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-8157 being exploited in the wild.
How severe is CVE-2026-8157?
Informational severity, with a CVSS score of 7.2, published 22 June 2026.
Which products and versions are affected?
Vitepos < 3.4.2.
Is there a fix for CVE-2026-8157?
A patch was published on 2026-06-22: Fixed in version 3.4.2 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-8157 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-8157?
Check whether you run Vitepos at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A privilege escalation vulnerability exists in the Vitepos WordPress plugin due to improper input validation and authorization checks within a specific REST API endpoint used for user creation. The endpoint fails to restrict the 'role' parameter, allowing an authenticated user (specifically those with custom plugin roles like Outlet Manager) to create new accounts with the 'administrator' role. An attacker can leverage this to gain full administrative control over the WordPress environment. The issue is addressed in version 3.4.2.

Affected products

  • Vitepos Vitepos < 3.4.2

Timeline

  • 2026-06-01: disclosed: Initial public disclosure by WPScan
  • 2026-06-22: advisory: CVE published to NVD
  • 2026-06-22: patched: Fixed in version 3.4.2

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.