
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40162 is an authenticated arbitrary file write vulnerability in Bugsink, a self-hosted error tracking tool, affecting exclusively version 2.1.0. Discovered by researcher DongyangLyu and disclosed on April 9–10, 2026, the flaw resides in the artifact bundle assembly flow (artifactbundle/assemble), allowing an authenticated user with a valid token to write attacker-controlled content to any filesystem location writable by the Bugsink process. It carries a CVSS v3.1 base score of 7.1 (High) (Github Advisory, Bugsink Advisory).
The root cause is improper input validation (CWE-20) introduced in a recent temporary-file assembly change: upload checksum values were incorporated into path construction before being validated, creating a write-before-checksum-mismatch code path. An authenticated caller can supply a crafted checksum value that resolves to an arbitrary writable filesystem path, causing the application to write attacker-controlled file content to that location. Exploitation requires a valid authentication token (low-privilege) and is network-accessible with low attack complexity and no user interaction required. The fix in version 2.1.1 avoids using upload checksums as temporary filenames, ensuring path construction only occurs after checksum validation (Bugsink Advisory, Release 2.1.1).
Successful exploitation allows an authenticated attacker to create or overwrite files within any filesystem location writable by the Bugsink service account, resulting in high integrity impact and low availability impact with no confidentiality impact. Practical consequences include modification of application data files, corruption of uploaded assets or temporary files, overwriting files in mounted writable volumes, and disruption of normal application behavior. In deployments where the Bugsink process runs with broad write permissions, the impact could extend to overwriting application code or configuration files, potentially enabling indirect code execution if those files are subsequently processed by the application (Github Advisory).
No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time. The vulnerability requires a valid authentication token, limiting the attack surface to authenticated users. The EPSS score is approximately 0.084–0.144%, placing it in the 35th percentile for exploitation probability within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Github Advisory).
artifactbundle/assemble) with a crafted checksum value that resolves to a target filesystem path writable by the Bugsink process (e.g., a path traversal sequence embedded in the checksum field)./artifactbundle/assemble or similar) with unusual or path-traversal-containing checksum parameter values; requests originating from unexpected IP addresses using valid authentication tokens.The primary remediation is to upgrade Bugsink from version 2.1.0 to version 2.1.1, which fixes the vulnerability by ensuring upload checksums are validated before being used in path construction (Release 2.1.1). As a defense-in-depth measure, ensure the Bugsink process runs with the minimum required filesystem permissions, limiting the directories it can write to. Additionally, restrict the distribution of authentication tokens, review and rotate tokens for potentially exposed users, and monitor filesystem activity for unexpected write operations to sensitive directories (Bugsink Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."