# CVE-2026-31070: The LalanaChami Pharmacy Management System (commit 5c3d028) allows unauthenticated remote attackers to escalate privileges by self-assignin…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-19T00:00:00.000Z
- Modified: 2026-07-24T12:10:00.210Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51> (exploit)
- <https://github.com/LalanaChami/Pharmacy-Mangment-System/blob/5c3d02888631166649856f71d542387114b3010b/backend/routes/user.js#L16>

## Sources

- CVE List: [CVE-2026-31070](https://www.cve.org/CVERecord?id=CVE-2026-31070), CVE Terms of Use, modified 2026-05-20
- NVD: [CVE-2026-31070](https://nvd.nist.gov/vuln/detail/CVE-2026-31070), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-31070 · Whole record: https://cve.day/CVE-2026-31070.json · Rebuilt by cve.day 2026-11-25T22:59:21.985Z
