CVE-2026-137961 in Budibase
Summary
by MITRE • 11/27/2026
Budibase before 3.51.0 contains a path traversal vulnerability in the workspace create handler that allows authenticated CREATOR users to probe server paths by supplying an unvalidated body.file.path value. Attackers can enumerate filesystem existence and type, and for directories containing db.txt, copy contents into their object store namespace before the directory is recursively deleted.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/27/2026
The vulnerability identified in Budibase versions prior to 3.51.0 represents a critical path traversal flaw located within the workspace creation handler of the application's backend logic. This security defect arises from an insufficient validation mechanism applied to user-supplied input, specifically the file.path parameter contained within the request body during the initialization of new workspaces. While the vulnerability requires authentication and is restricted to users holding CREATOR-level permissions, it poses a significant risk due to its potential for information disclosure and data exfiltration. The core technical failure lies in the application's inability to properly canonicalize or sanitize the file path provided by the user before processing it against the server's filesystem structure. This lack of rigorous input validation allows an attacker to manipulate directory traversal sequences, such as dot-dot-slash characters, to redirect file operations away from the intended workspace directories and into arbitrary locations on the host system.
From a technical perspective, this flaw enables two distinct malicious outcomes depending on the state of the target filesystem paths. First, by supplying crafted path values that point to existing or non-existing files in sensitive areas of the server, an authenticated attacker can probe the underlying operating system's directory structure. This capability effectively allows for local file enumeration, where the application's response codes and error messages reveal whether specific files or directories exist on the disk. Such behavior is characteristic of Local File Inclusion vulnerabilities that have been adapted for reconnaissance purposes rather than direct code execution. The ability to determine filesystem existence and type provides attackers with valuable intelligence about the server environment, which can be leveraged in subsequent stages of an attack chain to identify other potential targets or configuration weaknesses.
The second and more severe aspect of this vulnerability involves data exfiltration through a specific interaction between file copying and directory deletion operations. When an attacker supplies a path that points to a directory containing a db.txt file, the application's logic proceeds to copy the contents of that target location into the user's designated object store namespace. This operation occurs before the system attempts to recursively delete the original workspace directory structure associated with the request. Consequently, sensitive data residing in directories named or containing db.txt files is extracted from its protected environment and stored within a container accessible by the attacker via their authenticated session. This mechanism effectively bypasses standard access controls because the application itself performs the copy operation using server-side privileges, treating the input as legitimate despite it pointing to unauthorized locations.
In terms of industry classification standards, this vulnerability aligns with CWE-22: Improper Limitation of a Pathname to a Restricted Directory, which covers cases where software does not properly neutralize special elements within file paths that can resolve to directories outside of the intended restricted directory. Furthermore, from an offensive security framework perspective, such behavior maps directly to ATT&CK technique T1083: File and Directory Discovery, as it allows for the enumeration of system files and folders. The exfiltration component also relates to data staging techniques where sensitive information is moved to a location controlled by the adversary prior to potential extraction from the networked environment.
The operational impact of this vulnerability extends beyond simple data leakage. By exposing internal file structures and allowing unauthorized access to database configuration or content files, attackers can gain insights into the application's architecture, authentication mechanisms, and stored credentials if such information is present in accessible text files. This compromises the confidentiality integrity of the entire Budibase deployment. For organizations relying on this platform for business process automation, the exposure of internal data structures could lead to regulatory non-compliance depending on the nature of the exposed data, particularly if it includes personally identifiable information or proprietary intellectual property stored within those directories.
Mitigation strategies must prioritize immediate software updates as the primary defense vector. Administrators should upgrade Budibase to version 3.51.0 or later, where this path traversal flaw has been addressed through improved input validation and stricter enforcement of directory boundaries for file operations. In environments where patching is not immediately feasible, network-level controls such as web application firewalls can be configured to detect and block requests containing common path traversal sequences within workspace creation endpoints. Additionally, implementing principle of least privilege for the service account running the Budibase backend process can limit the damage if an exploitation attempt succeeds by restricting read access to sensitive system directories outside of designated data storage paths. Regular auditing of application logs for unusual file operation patterns associated with workspace management APIs is also recommended to detect potential probing activities early in the attack lifecycle.