SecurityContext

CVE-2026-31070: LalanaChami Pharmacy Management System - Broken Access Control

  • Cve: CVE-2026-31070
  • Name: LalanaChami Pharmacy Management System - Broken Access Control
  • 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
  • Impact: Unauthenticated attackers can gain administrative privileges, compromising the entire system's security and control.
  • Remediation: Update to a version that properly validates role parameter or apply patches to enforce role validation during registration.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00476
  • Epss percentile: 0.41688
  • Assignee: [email protected]
  • Published at: 2026-05-19T16:16:20Z
  • Age in days: 189
  • Modified at: 2026-07-24T12:10:00Z
  • References total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-31070
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-269Improper Privilege Management

References

UrlSourceTags
https://gist.github.com/nedlir/22bf6d1a3a07209be3e343744bc81d51nvd
https://github.com/LalanaChami/Pharmacy-Mangment-System/blob/5c3d02888631166649856f71d542387114b3010b/backend/routes/user.js#L16nvd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts