# CVE-2026-140585: Anurag-cod4fun Voting-System Dashboard candidates.php unrestricted upload

Status: published. Published: 2026-12-01. Updated: 2026-12-01.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/Anurag-cod4fun/Voting-System/commit/512281238ddbd93b72a8e6b8282ea50fb20123bc

## Affected products and versions

- Anurag-cod4fun / Voting-System: 40d49f5728c5936dd5bef9c91ba76a0c67b395f6 (affected). Source: CNA: VulDB

## Severity and prioritization

- CVSS 4.0: 6.9 (medium); 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; source: CNA: VulDB

- CVSS 3.1: 7.3 (high); 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; source: CNA: VulDB

- CVSS 3.0: 7.3 (high); 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; source: CNA: VulDB

- CVSS 2.0: 7.5 (high); AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C; source: CNA: VulDB

- CVSS 4.0: 5.5 (medium); 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X; source: NVD: cna@vuldb.com

- CVSS 3.1: 7.3 (high); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L; source: NVD: cna@vuldb.com

- CVSS 2.0: 7.5 (high); AV:N/AC:L/Au:N/C:P/I:P/A:P; source: NVD: cna@vuldb.com

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: exploitation poc; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-434, CWE-284

## Exploit evidence

- exploit: https://github.com/Anurag-cod4fun/Voting-System/issues/3 (CNA: VulDB)

## References

- https://vuldb.com/vuln/446936 (CNA: VulDB; vdb-entry, technical-description)

- https://vuldb.com/vuln/446936/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-140585 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1092051 (CNA: VulDB; third-party-advisory)

- https://github.com/Anurag-cod4fun/Voting-System/issues/3 (CNA: VulDB; exploit, issue-tracking)

- https://github.com/Anurag-cod4fun/Voting-System/commit/512281238ddbd93b72a8e6b8282ea50fb20123bc (CNA: VulDB; patch)

- https://github.com/Anurag-cod4fun/Voting-System/ (CNA: VulDB; product)

- https://github.com/Anurag-cod4fun/Voting-System/ (cna@vuldb.com)

- https://github.com/Anurag-cod4fun/Voting-System/commit/512281238ddbd93b72a8e6b8282ea50fb20123bc (cna@vuldb.com)

- https://github.com/Anurag-cod4fun/Voting-System/issues/3 (cna@vuldb.com)

- https://vuldb.com/cve/CVE-2026-140585 (cna@vuldb.com)

- https://vuldb.com/submit/1092051 (cna@vuldb.com)

- https://vuldb.com/vuln/446936 (cna@vuldb.com)

- https://vuldb.com/vuln/446936/cti (cna@vuldb.com)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-140585; retrieved 2026-12-01; source updated 2026-12-01

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-140585; retrieved 2026-12-01; source updated 2026-12-01

Revision: afbc1eb3e7fe23a5f839d99be200803bb319b0683b58522a1e96b086137bd5ef

Canonical: https://y2.dev/cve/CVE-2026-140585

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.