CVE-2026-9542: CodeAstro Leave Management System add_staff.php sql injection
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.
CVE-2026-9542 is a SQL injection issue in CodeAstro Leave Management System 1.0. A remote authenticated user may be able to manipulate the email_id field in /admin/add_staff.php and affect the database. Public proof-of-concept material is referenced, but the supplied sources do not show confirmed active exploitation.
Executive priority
Handle as a moderate-priority remediation item, higher if the application is internet-facing or used for HR data. Public exploit availability increases urgency, but the supplied evidence indicates authentication is required and does not confirm active exploitation.
Technical view
The vulnerability affects an unknown function in /admin/add_staff.php where the email_id argument can be manipulated for SQL injection. The record lists CWE-89 and CWE-74, CVSS v2 6.5, network access, low complexity, and authenticated access required. Scope is CodeAstro Leave Management System 1.0 only, based on supplied evidence.
Likely exposure
Exposure is likely limited to organizations running CodeAstro Leave Management System 1.0 with the admin staff-add route reachable. The CVSS vector indicates authenticated access is required. The bundle provides no internet-wide exposure data, hosted-service details, or evidence of other affected versions.
Exploitation context
The source bundle says exploit material is public and could be used for attacks. KEV is false, and no cited source in the bundle confirms active exploitation. Treat this as elevated watchlist risk because public proof-of-concept availability can accelerate opportunistic testing.
Researcher notes
Evidence is thin: the affected function is unnamed, remediation is not specified, and exploit details are referenced but should not be reproduced. Confirm authentication and role requirements locally. Do not generalize beyond CodeAstro Leave Management System 1.0 without additional vendor evidence.
Mitigation direction
Check CodeAstro and VulDB guidance for any vendor patch or advisory.
Restrict /admin access to trusted administrators and trusted networks.
Review /admin/add_staff.php database handling around email_id.
Use parameterized database queries if maintaining the application code.
Monitor admin actions and database errors involving staff creation.
Validation and detection
Inventory systems for CodeAstro Leave Management System 1.0.
Confirm whether /admin/add_staff.php exists and is reachable.
Verify whether admin routes require authentication and least privilege.
Review logs for unusual staff-creation attempts or database errors.
Based on public source material and reviewed before publication.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-74: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve
time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
4CVSS vectors
6Timeline events
0ADP providers
6Source links
CVSS vector scores
4 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present,
the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-74 · source CWE mapping
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.