CVE-2026-4013 SourceCodester Web-based Pharmacy Product Management System add_admin.php improper authorization

Medium 5.3 Published Updated

Remote attackers can exploit improper authorization in add_admin.php to gain unauthorized administrative privileges in the pharmacy management system.

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

What is CVE-2026-4013?

CVE-2026-4013 is a medium-severity missing authorization vulnerability in SourceCodester Web-based Pharmacy Product Management System, published on 12 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was identified in SourceCodester Web-based Pharmacy Product Management System 1.0. This affects an unknown function of the file add_admin.php. Such manipulation leads to improper authorization. The attack may be launched remotely.

Weakness: CWE-285, CWE-266

Which versions are affected by CVE-2026-4013?

How do I fix CVE-2026-4013?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-4013 being exploited?

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

Sources

Also known as GHSA-f2wv-rj9r-2v8j.

Is CVE-2026-4013 in your software?

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

Check your SBOMs for free