CVE-2026-86161
7.3SourceCodester · Online Voting System
A SQL injection vulnerability in SourceCodester Online Voting System 1.0 allows unauthenticated remote attackers to manipulate the id parameter in /ajax.php?action=delete_category.
Executive summary
An unauthenticated SQL injection vulnerability in the SourceCodester Online Voting System version 1.0 poses a critical risk of unauthorized database access and potential system compromise.
Vulnerability
The application is vulnerable to SQL injection via the id parameter in the /ajax.php?action=delete_category endpoint. This vulnerability allows an unauthenticated attacker to inject malicious SQL queries, which are then executed by the database without proper validation.
Business impact
Successful exploitation of this vulnerability can lead to unauthorized access to the underlying database, enabling attackers to leak sensitive information, modify or delete critical data, and potentially gain full control over the application. Given the nature of a voting system, this compromise could lead to significant reputational damage, loss of data integrity, and disruption of service. While the CVSS score of 7.3 indicates a high severity, the ability for an unauthenticated attacker to manipulate backend queries significantly elevates the risk to business continuity.
Remediation
Immediate Action: As no official vendor patch is currently available, administrators should restrict access to the affected endpoint at the network or web server level and implement strict input validation for the id parameter.
Proactive Monitoring: Review web server access logs for anomalous POST requests directed at /ajax.php, specifically monitoring for unusual patterns or characters associated with SQL injection payloads.
Compensating Controls: Deploy a Web Application Firewall (WAF) with rules configured to detect and block SQL injection attempts targeting the id parameter in application requests.
Exploitation status
Public Exploit Available: Yes — a published proof-of-concept exists, attributed to the security researcher write-up linked in the CVE references.
Analyst recommendation
Due to the lack of a vendor-provided patch, users of the SourceCodester Online Voting System 1.0 must prioritize implementing robust compensating controls such as WAF rules and access restrictions. Organizations should treat this as a high-priority risk and transition to a more secure or maintained alternative if the vendor does not release a formal security update to remediate the underlying code flaw.
More SourceCodester CVEs all →
Sources
Originally found and disclosed by xiaolei (VulDB User), per the CVE Program record.
- VDB-399286 | SourceCodester Online Voting System ajax.php delete_category sql injection Vulnerability database entry
- VDB-399286 | CTI Indicators (IOB, IOC, TTP, IOA)
- CVE-2026-86161 | CVE Analysis and Report Third-party advisory
- Submit #895416 | SourceCodester Online Voting System Project using PHP/MySQL /voting/ajax.php?action=delete_category 1. Third-party advisory
- Exploit / PoC
- sourcecodester.com