Skip to main content

Pharmacy Management System CVE-2026-31071

| EUVDEUVD-2026-30949 CRITICAL
Missing Authentication for Critical Function (CWE-306)
2026-05-19 mitre GHSA-jhhm-w7f7-gvp5
9.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Analysis Generated
May 20, 2026 - 14:23 vuln.today
CVSS changed
May 20, 2026 - 14:22 NVD
9.1 (CRITICAL)
CVE Published
May 19, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

API endpoints in LalanaChami Pharmacy Management System (commit 5c3d028) lack authentication middleware. Unauthenticated remote attackers can exploit this to dump all user records (including bcrypt password hashes) via /api/user/getUserData, modify drug inventory, and access private medical prescription data via /api/doctorOder.

AnalysisAI

Unauthenticated API access in LalanaChami Pharmacy Management System (commit 5c3d028) allows remote attackers to dump all user records including bcrypt password hashes, tamper with drug inventory, and read private medical prescription data. The flaw stems from missing authentication middleware on backend Express routes such as /api/user/getUserData and /api/doctorOder. Publicly available exploit code exists, though EPSS rates exploitation probability at only 0.06% (17th percentile), consistent with a low-deployment open-source project rather than mass exploitation.

Technical ContextAI

The affected software is an open-source Node.js/Express pharmacy management backend hosted at github.com/LalanaChami/Pharmacy-Mangment-System. The root cause is CWE-306 (Missing Authentication for a Critical Function): the route definitions under backend/routes do not bind any auth middleware (e.g., JWT verification, session check) in front of sensitive handlers, so the Express router serves them to any caller who can reach the HTTP endpoint. The leaked credential material is bcrypt-hashed but still enables offline cracking against weak passwords, and the prescription endpoint exposes PHI subject to medical-data privacy regimes.

RemediationAI

No vendor-released patch identified at time of analysis - the project is an unmaintained GitHub repository with no tagged release. Operators who deployed this codebase should fork it and add authentication middleware (e.g., an Express JWT or session-check middleware) in front of every route in backend/routes, in particular /api/user/getUserData and /api/doctorOder, before exposing the service; until that fix is in place, place the application behind a network restriction such as a VPN or reverse-proxy ACL that requires authenticated access, accepting the trade-off that legitimate remote users will also need that auth layer. Rotate any passwords whose bcrypt hashes may have been exposed and review prescription-data access logs for prior unauthenticated reads. Refer to the upstream advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-31071 and the PoC gist at https://gist.github.com/nedlir/bc8ad4693c53256819280e8f5de49286 for endpoint specifics.

More in N A

View all
CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

CVE-2026-36356 CRITICAL POC
9.1 May 05

Unauthenticated remote OS command injection in MeiG Smart FORGE_SLT711 cellular gateway firmware MDM9607.LE.1.0-00110-ST

CVE-2025-66391 HIGH POC
8.8 Jun 17

In Citrix Cloud through 2025-11-10, an account with read-only access can trigger the beginning of a workflow for write o

CVE-2026-26740 HIGH POC
8.2 Mar 18

Giflib 5.2.2 contains a buffer overflow in the EGifGCBToExtension function that fails to validate allocated memory when

CVE-2025-60464 HIGH POC
7.8 Jun 25

Denial of service in GPAC's MP4Box multimedia tool (versions before 26.02.0) arises from a use-after-free in the gf_sei_

CVE-2026-36355 HIGH POC
7.7 May 05

Arbitrary kernel memory read/write in Realtek rtl819x Jungle SDK Wi-Fi driver allows local unprivileged attackers to acc

CVE-2025-60474 HIGH POC
7.5 Jun 24

Denial of service in GPAC's MP4Box/libgpac media importer (versions before 26.02.0) lets an attacker crash the tool by s

CVE-2026-38639 HIGH POC
7.5 Jun 26

An issue in the parse_month function (/time/strptime.rs) of relibc commit ab6a2e allows attackers to cause a Denial of S

CVE-2026-38641 HIGH POC
7.5 Jun 26

Denial of service in relibc (the Redox OS C standard library) at commit 61f42d allows attackers to crash a process by ge

CVE-2026-38637 HIGH POC
7.5 Jun 25

An issue in the pthread_rwlockattr_setpshared() function of relibc commit 61f42d allows attackers to cause a Denial of S

CVE-2026-38640 HIGH POC
7.5 Jun 25

Denial of service in relibc (the Redox OS C standard library implementation, commit 61f42d) lets attackers crash a proce

CVE-2025-60467 HIGH POC
7.5 Jun 24

Denial of service in GPAC (libgpac/MP4Box) before 26.02.0 lets an attacker crash the application by feeding it a crafted

Share

CVE-2026-31071 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy