Overview
CVE-2026-140586 describes a file and directory information disclosure weakness in the Anurag-cod4fun Voting-System. Because the project ships through a rolling release, the affected code is identified by commit rather than by a fixed version tag; deployments carrying code through commit 108a732dc07f5c8366419a0612fc7d6476ea5ca2 should be treated as potentially affected until the maintainers confirm otherwise.
The vulnerability sits in an unspecified function within the /voting-system/login/ path. Manipulation of that component reportedly exposes filesystem or directory information to a remote caller. The advisory rates the issue at CVSS 5.3 and labels it as medium. A public exploit has been disclosed, and the project was informed through an issue report prior to publication, but no patched release had been issued at the time of writing.
Affected systems
- Product: Anurag-cod4fun Voting-System
- Affected code: up through commit
108a732dc07f5c8366419a0612fc7d6476ea5ca2
- Affected path:
/voting-system/login/
- Affected component: unspecified function within the login route
- Reachability: remotely exploitable over the network
- Distribution model: rolling release, so version-based identification is not available
Because the precise parameter, request method, weakness class, and authentication boundary are not described in the advisory, defenders cannot reconstruct the exact exploit chain from the public record alone. The practical attack surface is the publicly exposed web interface that serves /voting-system/login/.
Mitigation
No official patch is available as of the advisory publication date. Until the maintainers respond or ship a corrective change, defensive measures focus on reducing exposure, detecting probing activity, and hardening the filesystem surface visible to the web process.
- Identify whether any deployed instance contains code at or before commit
108a732dc07f5c8366419a0612fc7d6476ea5ca2.
- Restrict access to
/voting-system/login/through the reverse proxy, web server, or an upstream access-control layer, allowing only trusted users or networks.
- If the login endpoint does not need to be reachable from untrusted networks, disable or remove it after validating that legitimate voting workflows remain functional.
- Audit web-server, application, and reverse-proxy logs for requests to
/voting-system/login/carrying unexpected parameters, path traversal sequences, encoded separators, repeated path segments, or other enumeration-style payloads.
- Inspect web roots and adjacent data directories for unintended directory listings, hidden files, or metadata that should not be served, and disable directory indexes where enabled.
- Apply restrictive filesystem permissions so the web process cannot read unrelated application, configuration, credential, or system files.
- Ensure customized error pages do not reveal absolute paths, stack traces, or source details, while preserving the underlying entries needed for forensics.
- Track the upstream issue tracker and commit history for a corrective change targeting the login route and pin away from the vulnerable commit once a clean build is identified.
If exploitation is suspected, isolate the affected service from untrusted access, preserve logs and disk artifacts for review, rotate any credentials that the web process could read, and redeploy from a known-good build. A rollback is only adequate if the replacement commit is verified not to reintroduce the same flaw.
Expert insight
The most operationally important facts are also the most limited. The advisory confirms remote reachability and a publicly disclosed exploit, which lowers the bar for opportunistic probing, but it leaves the exact weakness class, the affected parameter, and the authentication requirement unspecified. That gap means defenders should design controls against the broader category of file and directory disclosure under /voting-system/login/ rather than against a single payload.
A medium CVSS of 5.3 reflects the practical seriousness of uncontrolled filesystem disclosure on a web-facing endpoint, especially when paired with a public exploit, yet the issue remains bounded: there is no indication of remote code execution, no CISA KEV listing, and no documented real-world exploitation in the available intelligence. Project unresponsiveness also suggests a small footprint deployment base, which constrains blast radius but also raises the likelihood that vulnerable instances will remain unpatched for an extended period.
The right defensive posture is conservative access control plus monitoring, because the public nature of the exploit lowers the cost of opportunistic scanning while the missing patch raises the residual risk.