{"id":"CVE-2026-31070","sourceIdentifier":"cve@mitre.org","published":"2026-05-19T16:16:20.363","lastModified":"2026-07-24T12:10:00.210","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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"},{"lang":"es","value":"El Sistema de Gestión de Farmacias LalanaChami (commit 5c3d028) permite a atacantes remotos no autenticados escalar privilegios autoasignándose un rol administrativo durante el registro. El endpoint /API/user/signup no valida el parámetro role en el cuerpo de la solicitud."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-20T13:54:03.067294Z","id":"CVE-2026-31070","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-269"}]}],"references":[{"url":"https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51","source":"cve@mitre.org"},{"url":"https://github.com/LalanaChami/Pharmacy-Mangment-System/blob/5c3d02888631166649856f71d542387114b3010b/backend/routes/user.js#L16","source":"cve@mitre.org"},{"url":"https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}