# CVE-2026-9542: CodeAstro Leave Management System SQL injection in add_staff.php

Source: https://junglewise.ai/threats/cve-2026-9542-codeastro-leave-management-system-sql-injection-in-add-staff-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-26. Updated: 2026-05-26  
License: CC BY 4.0 with a link back

CVE-2026-9542 · Severity: medium · CVSS 6.3 · Published 2026-05-26

CodeAstro Leave Management System, a web application used for managing employee time-off requests, contains a security vulnerability in its staff management module. An attacker with basic user access can exploit this flaw to interfere with the underlying database. This could lead to the unauthorized viewing of sensitive employee information, modification of records, or disruption of the system's availability.

Technologies: [CodeAstro Leave Management System](https://junglewise.ai/threats/technologies/leave-management-system). Vendors: [CodeAstro](https://junglewise.ai/threats/vendors/codeastro).

## Quick answers

**Is CVE-2026-9542 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-9542 being exploited in the wild.

**How severe is CVE-2026-9542?** Medium severity, with a CVSS score of 6.3, published 26 May 2026.

**Which products and versions are affected?** CodeAstro Leave Management System 1.0.

**Is there a fix for CVE-2026-9542?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-9542 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-9542?** Check whether you run CodeAstro Leave Management System at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in CodeAstro Leave Management System 1.0 within the /admin/add_staff.php file (and its associated processing script /admin/add_staff_db.php). The root cause is the improper neutralization of special elements in the 'email_id' POST parameter, which is used directly in SQL queries without sufficient validation or prepared statements. A remote attacker with low-level privileges can provide malicious input to perform boolean-based blind, error-based, or time-based blind SQL injection. This allows for unauthorized database access, data extraction, and potential tampering with system records. A public exploit (PoC) using sqlmap has been disclosed.

## Affected products

- CodeAstro Leave Management System 1.0

## Timeline

- 2026-04-28: disclosed: Initial disclosure on GitHub issue tracker
- 2026-05-26: advisory: NVD publication date

## References

- [https://codeastro.com/](https://codeastro.com/)
- [https://github.com/wangchaoxing/CVE/issues/8](https://github.com/wangchaoxing/CVE/issues/8)
- [https://vuldb.com/submit/814866](https://vuldb.com/submit/814866)
- [https://vuldb.com/vuln/365603](https://vuldb.com/vuln/365603)
- [https://vuldb.com/vuln/365603/cti](https://vuldb.com/vuln/365603/cti)

## Related threats

- [CodeAstro Leave Management System SQL injection in add_leave.php](https://junglewise.ai/threats/cve-2026-11510-codeastro-leave-management-system-sql-injection-in-add-leave-php)
- [CodeAstro Leave Management System SQL injection in search_staff_for_updation.php](https://junglewise.ai/threats/cve-2026-11509-codeastro-leave-management-system-sql-injection-in-search-staff)
- [CodeAstro Leave Management System SQL injection in search_staff_to_assign_pc.php](https://junglewise.ai/threats/cve-2026-11508-codeastro-leave-management-system-sql-injection-in-search-staff)
- [CodeAstro Leave Management System SQL injection in delete_leave_type.php](https://junglewise.ai/threats/cve-2026-11507-codeastro-leave-management-system-sql-injection-in-delete-leave)
- [CodeAstro Leave Management System SQL injection in search_staff_for_deletion.php](https://junglewise.ai/threats/cve-2026-11506-codeastro-leave-management-system-sql-injection-in-search-staff)
