CVE-2026-140585

Anurag-cod4fun Voting-System Dashboard candidates.php unrestricted upload

Published Dec 1, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
A weakness has been identified in Anurag-cod4fun Voting-System up to 40d49f5728c5936dd5bef9c91ba76a0c67b395f6. Impacted is an unknown function of the file Dashboard/candidates.php of the component Dashboard. This manipulation of the argument img causes unrestricted upload. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. Patch name: 512281238ddbd93b72a8e6b8282ea50fb20123bc. It is recommended to apply a patch to fix this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Analysis

AI-generated

Technical impact

The vulnerability resides in the candidates.php component of the Dashboard module, where the img argument is processed without proper validation. This flaw allows an attacker to upload arbitrary files, potentially including malicious scripts, thus enabling remote code execution. The attacker can trigger this by crafting an HTTP request that submits a file through the img field.

Affected Systems

Affected products belong to the Anurag-cod4fun Voting‑System suite. The issue exists in all releases up to commit 40d49f5728c5936dd5bef9c91ba76a0c67b395f6, and remains present in subsequent roll‑through releases until a patch is applied. No specific version numbers are published due to the rolling‑release workflow, but any deployment that has not incorporated the official fix is vulnerable.

Risk and Exploitability

The CVSS v3.1 score of 6.9 indicates a moderate severity, yet the EPSS score of < 1 % suggests it is rarely exploited in the wild. Nevertheless, a publicly available exploit demonstrates that attackers can leverage the flaw remotely. The vulnerability is cataloged by two CWE IDs: access‑control (CWE‑284) and unrestricted file upload (CWE‑434).

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch released in commit 512281238ddbd93b72a8e6b8282ea50fb20123bc to fix the image upload validation logic.
  • Configure the file upload handling to accept only safe MIME types, such as image/jpeg and image/png, and reject all other file extensions.
  • Enforce a strict maximum file size limit and store uploaded files outside the web‑accessible directory, ensuring that any uploaded files cannot be executed as code.

Generated by OpenCVE AI on December 2, 2026 at 21:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A weakness has been identified in Anurag-cod4fun Voting-System up to 40d49f5728c5936dd5bef9c91ba76a0c67b395f6. Impacted is an unknown function of the file Dashboard/candidates.php of the component Dashboard. This manipulation of the argument img causes unrestricted upload. Remote exploitation of the attack is possible. The exploit has been made available to the public and could be used for attacks. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. Patch name: 512281238ddbd93b72a8e6b8282ea50fb20123bc. It is recommended to apply a patch to fix this issue. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Title Anurag-cod4fun Voting-System Dashboard candidates.php unrestricted upload
First Time appeared Anurag-cod4fun
Anurag-cod4fun voting-system
Weaknesses CWE-284
CWE-434
CPEs cpe:2.3:a:anurag-cod4fun:voting-system:*:*:*:*:*:*:*:*
Vendors & Products Anurag-cod4fun
Anurag-cod4fun voting-system
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

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

cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Dec 1, 2026, 9:52 PM
Reserved
Dec 1, 2026, 6:11 AM
Status
Deferred
Published
Dec 1, 2026, 1:17 PM
Modified
Dec 1, 2026, 10:18 PM