{"id":"CVE-2026-31070","aliases":["EUVD-2026-30945","GHSA-qg5w-7c3j-rfjc"],"status":"published","title":"The LalanaChami Pharmacy Management System (commit 5c3d028) allows unauthenticated remote...","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","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00476,"percentile":0.41601,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-269"],"published":"2026-05-19T00:00:00Z","modified":"2026-07-24T12:10:00Z","references":[{"url":"https://github.com/LalanaChami/Pharmacy-Mangment-System/blob/5c3d02888631166649856f71d542387114b3010b/backend/routes/user.js#L16"},{"url":"https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51","tags":["exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31070"},{"url":"https://github.com/advisories/GHSA-qg5w-7c3j-rfjc"}],"sources":{"cve":[{"id":"CVE-2026-31070","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","status":"published","published":"2026-05-19T00:00:00Z","modified":"2026-05-20T13:55:31.179Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:19:51.277563Z"}],"euvd":[{"id":"EUVD-2026-30945","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","status":"published","published":"2026-05-19T00:00:00Z","modified":"2026-05-20T13:55:31Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T18:21:14.831553Z"}],"ghsa":[{"id":"GHSA-qg5w-7c3j-rfjc","title":"The LalanaChami Pharmacy Management System (commit 5c3d028) allows unauthenticated remote...","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","status":"published","published":"2026-05-19T18:32:11Z","modified":"2026-05-20T15:36:30Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T15:08:13.87243Z"}],"nvd":[{"id":"CVE-2026-31070","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","status":"published","published":"2026-05-19T16:16:20.363Z","modified":"2026-07-24T12:10:00.21Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-269"],"updated_at":"2026-11-02T14:12:19.752984Z"}]}}
