CVE-2026-134851 in self-hosting-file-uploader
Summary
by MITRE • 11/23/2026
A vulnerability was detected in leonkhoo123 self-hosting-file-uploader up to 473e38ff8fba494f33a485730c6d95c5d8c536ea. This affects an unknown part of the file routes/generator.js of the component Admin Generator API. The manipulation results in missing authentication. The attack may be performed from remote. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/23/2026
The self-hosting-file-uploader project, specifically versions up to commit 473e38ff8fba494f33a485730c6d95c5d8c536ea, contains a critical authentication bypass vulnerability within its Admin Generator API. This flaw resides in the file routes/generator.js and affects an unspecified component of the administrative interface responsible for generating files or managing upload configurations. The core technical issue is characterized by missing authentication controls on specific endpoints exposed through this route handler. In a properly secured application, any request to administrative functions must be preceded by valid credential verification and session validation. However, in this vulnerable implementation, the server fails to enforce these security checks before processing requests directed at the generator functionality. This oversight allows unauthenticated actors to interact with sensitive administrative features that should strictly require elevated privileges.
From a technical perspective, this vulnerability represents a classic case of broken access control where the application logic does not properly verify user identity or authorization levels for specific API endpoints. The absence of authentication middleware in the route definition means that any client capable of reaching the server can invoke these functions without providing valid credentials. This is particularly dangerous because administrative APIs often possess broad permissions, including the ability to modify system configurations, upload malicious payloads, or access sensitive data stored within the application's context. Since the vulnerability affects an unknown part of the generator logic, it may impact various sub-functions such as file processing parameters, metadata manipulation, or backend service interactions that are typically restricted to administrators only.
The operational impact of this flaw is severe due to its remote exploitability and lack of authentication requirements. An attacker located on a different network segment can send crafted HTTP requests directly to the vulnerable endpoint without needing prior access credentials. This capability significantly lowers the barrier for entry, enabling automated scanning tools or opportunistic attackers to discover and exploit the vulnerability with minimal effort. Successful exploitation could lead to unauthorized modification of uploaded files, injection of malicious content into generated outputs, or potentially remote code execution if the generator interacts with system-level processes in an unsafe manner. Furthermore, because this is a self-hosting solution often deployed by organizations for internal file management, such a breach compromises not only the application integrity but also the confidentiality and availability of stored data within the host environment.
This vulnerability aligns closely with CWE-287 Improper Authentication, as the system fails to adequately verify the identity of users attempting to access administrative resources. It also relates to CWE-862 Missing Authorization, since even if some form of identification were present, the lack of proper permission checks allows actions beyond the user's intended scope. In terms of offensive security frameworks, this flaw facilitates techniques associated with ATT&CK T1078 Valid Accounts or more broadly unauthorized access patterns where attackers leverage misconfigured endpoints to gain footholds in internal networks. The rolling release model employed by leonkhoo123 complicates remediation efforts as version numbers are not static indicators of vulnerability status, requiring users to track commit hashes rather than semantic versions for patch verification.
Mitigation strategies must focus on immediate access control enforcement and continuous monitoring. Administrators should apply the latest available commits that address this specific route handler issue by updating their installations to a post-vulnerability release hash. Until an official patched version is confirmed, it is advisable to restrict network-level access to the Admin Generator API endpoints using firewall rules or reverse proxy configurations that require additional authentication layers such as IP whitelisting or token-based validation at the infrastructure level rather than relying solely on application-side checks. Additionally, implementing Web Application Firewall (WAF) rules can help detect and block anomalous requests targeting these unprotected routes. Regular security audits of API route definitions are essential to ensure no other endpoints suffer from similar omissions in authentication logic, thereby maintaining a robust defense-in-depth posture against unauthorized access attempts.