CVE-2026-9542 CodeAstro Leave Management System add_staff.php sql injection

Medium 5.3 Published Updated

Remote attackers can exploit SQL injection in the add_staff.php email_id parameter to read or modify database contents.

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-9542?

CVE-2026-9542 is a medium-severity SQL injection vulnerability in CodeAstro Leave Management System, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A weakness has been identified in CodeAstro Leave Management System 1.0. The affected element is an unknown function of the file /admin/add_staff.php. Executing a manipulation of the argument email_id can lead to sql injection. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2026-9542?

How do I fix CVE-2026-9542?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-9542 being exploited?

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

Sources

Also known as GHSA-jmrp-7jjm-qhcc.

Is CVE-2026-9542 in your software?

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

Check your SBOMs for free