CVE-2026-31070 Details
Description
The LalanaChami Pharmacy Management System (commit 5c3d028) allows unauthenticated remote attackers to escalate privileges by self-assigning an administrative role during registration. The /api/user/signup endpoint fails to validate the role parameter in the request body
A vulnerability in the LalanaChami Pharmacy Management System, specifically in commit 5c3d028, allows unauthenticated remote attackers to escalate privileges by self-assigning an administrative role during registration. The issue arises because the /api/user/signup endpoint does not properly validate the role parameter in the request body. Additionally, the application exposes several critical API endpoints without authentication, enabling unauthorized access to sensitive data and operations.
To address this vulnerability, authentication middleware should be added to the /api/user/signup endpoint to validate user roles before granting privileges. Additionally, all critical API endpoints should be secured with authentication to prevent unauthorized access.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 19, 2026CISA-ADP
Assessed May 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51 | CISA-ADP | ExploitRemedyTechnical Analysis |
| https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51 | [email protected] | ExploitRemedyTechnical Analysis |
| https://github.com/LalanaChami/Pharmacy-Mangment-System/blob/5c3d02888631166649856f71d542387114b3010b/backend/routes/user.js#L16 | [email protected] | Broken LinkSource CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| LalanaChami Pharmacy Management System | 5c3d028c520628ece50f034900e0a98c07943d70 0.0.0 (semver) 8.3.6 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 20, 2026 | CVE Modified | CISA-ADP |
| May 19, 2026 | New CVE Received | [email protected] |
Volerion