Executive Summary
CVE-2026-116049 is a SQL injection vulnerability in the open-source krupalshah EmployeeRecruitmentSystem PHP project, published to NVD on 2026-10-25 with a CVSS score of 7.3 (High).
The flaw sits in the mysql_query call used by /source/registerform2.php, part of the Registration Wizard component. Manipulating the university/institute-related form arguments lets an attacker alter the SQL statement executed against the backend database.
| Attribute | Value |
|---|---|
| CVE ID | CVE-2026-116049 |
| CVSS Score | 7.3 (High) |
| Type | SQL Injection |
| Affected File | /source/registerform2.php |
| Affected Versions | Up to commit 922ff6d208278282e7c8e36d70d9ae356adec9fe |
| Published | 2026-10-25 |
| Source | NVD |
Technical Details
The project concatenates user-supplied registration form values directly into a query passed to the legacy mysql_query function, without parameterization or escaping. This is the classic pattern behind SQL injection: input intended as data is interpreted as SQL.
Depending on database permissions, a successful injection could allow an attacker to:
- Read candidate and applicant records (names, contact details, qualifications)
- Modify or insert records in the recruitment database
- Extract credentials stored by the application
Note: The NVD description available at publication was truncated. Confirm the exact vulnerable parameter names and any exploit disclosure against the NVD entry before relying on this summary.
Affected Scope
The project is a small, commit-based repository without versioned releases, so the affected range is expressed as a commit hash. Anyone running a deployment of this code at or before that commit should consider it vulnerable. No fixed release has been identified.
Remediation
- Do not expose this application to the internet until it is fixed
- Replace string-built queries with prepared statements (PDO or mysqli) throughout
/source/ - Migrate off
mysql_*functions, which were removed in PHP 7 - Use a least-privilege database account so injection cannot reach unrelated tables
- Place a WAF in front as a stopgap; it does not replace fixing the code
Detection
- Review web server logs for requests to
/source/registerform2.phpcontaining SQL metacharacters (',--,UNION,SLEEP() - Look for database errors in application logs following registration form submissions
- Audit the database for unexpected rows or modified applicant records