{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31070","published":"2026-05-19T16:16:20.363000Z","last_modified":"2026-07-24T12:10:00.210000Z","status":"Deferred","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-269"],"cpes":[],"cpes_truncated":false,"vendors":[],"products":[],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2026-31070/","html_en":"/en/cve/CVE-2026-31070/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31070","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31070"},"untrusted":{"desc_en":"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","affected":[],"references":[{"url":"https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51","tags":[]},{"url":"https://github.com/LalanaChami/Pharmacy-Mangment-System/blob/5c3d02888631166649856f71d542387114b3010b/backend/routes/user.js#L16","tags":[]}]}}