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.
Published: 2026-05-26
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in the administration script that processes the email_id field in add_staff.php. An attacker supplying crafted input can inject SQL code, enabling unauthorized database queries or modifications. This weakness permits data disclosure, alteration, or potential escalation of privileges if the injected commands succeed.

Affected Systems

The vulnerability affects CodeAstro Leave Management System version 1.0, specifically the add_staff.php module used by administrators to add staff members. The issue is present in the production or development installations where the script is deployed without input sanitization.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the lack of an EPSS score means the exact exploitation probability is unknown. The vulnerability is not listed in CISA’s KEV catalog, suggesting no widespread exploitation has been documented. Nevertheless, the attack can be launched remotely, and publicly available exploits exist, raising the risk of credentialed or unauthenticated exploitation if the target system is exposed to the internet.

Generated by OpenCVE AI on May 26, 2026 at 15:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply any available vendor patch or update to a newer, secure version of the CodeAstro Leave Management System.
  • If a patch is not available, modify the add_staff.php script to use parameterized queries or prepared statements for processing email_id input.
  • Implement strict input validation to reject non-URI–encoded email addresses and escape special characters before database usage.
  • Restrict admin access to trusted IP ranges and enforce strong authentication mechanisms to limit exposure of the vulnerable endpoint.

Generated by OpenCVE AI on May 26, 2026 at 15:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 28 May 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 26 May 2026 13:45:00 +0000

Type Values Removed Values Added
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.
Title CodeAstro Leave Management System add_staff.php sql injection
First Time appeared Codeastro
Codeastro leave Management System
Weaknesses CWE-74
CWE-89
CPEs cpe:2.3:a:codeastro:leave_management_system:*:*:*:*:*:*:*:*
Vendors & Products Codeastro
Codeastro leave Management System
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Codeastro Leave Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-05-28T14:56:04.373Z

Reserved: 2026-05-26T05:54:21.145Z

Link: CVE-2026-9542

cve-icon Vulnrichment

Updated: 2026-05-28T14:55:53.391Z

cve-icon NVD

Status : Deferred

Published: 2026-05-26T14:16:46.173

Modified: 2026-05-26T19:54:40.357

Link: CVE-2026-9542

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-26T15:30:08Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')