# CVE-2026-142265: Open Source Point of Sale through 3.4.3 Privilege Escalation via Employee::canModifyEmployee()

Source: https://aplosec.si/cve/CVE-2026-142265/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142265

Medium 5.1 · Reported · No fix listed · CWE-863 · Server

# Open Source Point of Sale through 3.4.3 Privilege Escalation via Employee::canModifyEmployee()

CVE-2026-142265 · published 2026-12-02

In plain words: this type of bug lets a user see or change things that belong to someone else (broken access control). No fixed release is listed yet.

## Summary

CVE-2026-142265 affects Open Source Point of Sale (Server) <= 3.4.3: Privilege Escalation via Employee::canModifyEmployee() (CWE-863). No fixed release is listed. CVSS 4.0 base score 5.1 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

Open Source Point of Sale through 3.4.3 contains a privilege escalation vulnerability in Employee::canModifyEmployee() that allows authenticated users with the employees permission to take over higher-privileged accounts. Attackers can submit the employee save form setting a new username and password for a non-administrator employee without grant fields, then log in to access permissions like store configuration.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/open-source-point-of-sale-through-3.4.3-privilege-escalation-via-employee-canmodifyemployee](https://www.vulncheck.com/advisories/open-source-point-of-sale-through-3.4.3-privilege-escalation-via-employee-canmodifyemployee)

- [Vulnerable codehttps://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Models/Employee.php#L584-L595](https://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Models/Employee.php#L584-L595)

- [Vulnerable codehttps://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Controllers/Employees.php#L117-L129](https://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Controllers/Employees.php#L117-L129)

- [Vulnerable codehttps://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Models/Employee.php#L167-L178](https://github.com/opensourcepos/opensourcepos/blob/3.4.3/app/Models/Employee.php#L167-L178)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142265](https://www.cve.org/CVERecord?id=CVE-2026-142265)

**Severity:** Medium 5.1 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142265)

**Package:** Open Source Point of Sale

**Ecosystem:** Server

**Affected:** <= 3.4.3

**Fixed:** None

**Weakness:** CWE-863

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
