CVE-2026-31070 Privilege escalation in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can escalate privileges to administrator by self-assigning the admin role during user registration.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-31070?

CVE-2026-31070 is a critical vulnerability in n/a, published on 19 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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

Weakness: CWE-269

Which versions are affected by CVE-2026-31070?

How do I fix CVE-2026-31070?

No fix has been published for CVE-2026-31070 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-31070 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31070 exists.

Sources

Also known as GHSA-qg5w-7c3j-rfjc.

Is CVE-2026-31070 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free