CVE-2026-86162
Received Received - Intake

SQL Injection in Online Voting System 1.0

Vulnerability report for CVE-2026-86162, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-06

Last updated on: 2026-09-06

Assigner: VulDB

Description

A vulnerability was determined in SourceCodester Online Voting System 1.0. This affects an unknown function of the file /ajax.php?action=login. Executing a manipulation of the argument Username can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-06
Last Modified
2026-09-06
Generated
2026-09-06
AI Q&A
2026-09-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester online_voting_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a SQL injection flaw in the Online Voting System Project 1.0. It exists in the /ajax.php file when handling the login action. The issue allows attackers to inject malicious SQL code through the Username parameter due to insufficient input validation. This can lead to unauthorized database access and manipulation without needing valid login credentials.

Detection Guidance

To detect SQL injection vulnerabilities like CVE-2026-86162, you can use tools such as SQLmap to test the /ajax.php?action=login endpoint. Example command: sqlmap -u 'http://target.com/voting/ajax.php?action=login' --data='username=test' --batch. Alternatively, manually test with payloads like ' OR '1'='1 in the username field and observe responses for errors or delays.

Impact Analysis

This vulnerability can allow attackers to steal sensitive data, modify or delete database records, and potentially take control of the system. Attackers could access voter information, alter election results, or disrupt system operations. The impact includes data breaches, integrity loss, and service unavailability.

Compliance Impact

This vulnerability likely violates GDPR and HIPAA requirements for data protection and security. GDPR mandates strict data handling and breach notification, while HIPAA requires safeguards for protected health information. A successful exploit could lead to unauthorized data exposure, resulting in regulatory penalties and legal consequences.

Mitigation Strategies

Immediately apply input validation and sanitization for the username parameter in /ajax.php. Use prepared statements with parameter binding for all database queries. Restrict database user permissions to least privilege. Conduct a security audit to identify other potential vulnerabilities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-86162. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart