CVE-2026-40162: Bugsink affected by authenticated arbitrary file write in artifactbundle/assemble
Authenticated arbitrary file write in artifact bundle assembly Summary An authenticated file write vulnerability was identified in Bugsink 2.1.0 in the artifact bundle assembly flow. A user with a valid authentication token could cause the application to write attacker-controlled content to a filesystem location writable by the Bugsink process. This issue requires authentication and affects only version 2.1.0.
Published Apr 10, 2026
Affected packages
bugsink
- Ecosystem
- PyPI
- Affected
- = 2.1.0
- Fixed in
- 2.1.1
- Check
pip show bugsink
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Authenticated arbitrary file write in artifact bundle assembly
Summary
An authenticated file write vulnerability was identified in Bugsink 2.1.0 in the artifact bundle assembly flow.
A user with a valid authentication token could cause the application to write attacker-controlled content to a filesystem location writable by the Bugsink process.
This issue requires authentication and affects only version 2.1.0.
The issue is fixed in 2.1.1.
Impact
This vulnerability allows an authenticated user to create or overwrite files within locations writable by the Bugsink service account.
The practical impact depends on the deployment environment and filesystem permissions of the running process.
Possible consequences include:
- modification of application data files
- corruption of uploaded assets or temporary files
- overwriting files in mounted writable volumes
- disruption of normal application behavior
No unauthenticated exploitation is known.
No direct code execution has been demonstrated as part of this issue, though impact may be greater in deployments where the process has broad write permissions.
Affected versions
- Affected: 2.1.0
- Fixed: 2.1.1
- Not affected: earlier releases
Mitigation
Upgrade to 2.1.1.
As a defense-in-depth measure, deployments should continue to ensure the Bugsink process runs with the minimum required filesystem permissions.
Credited to DongyangLyu.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-47715
Bugsink: Issue event views can show an event from another project if its UUID is known
low3.1Jun 5, 2026CVE-2026-47716
Bugsink: Issue bulk actions can affect another project’s issue if its UUID is known
low3.1Jun 5, 2026CVE-2026-47728
Bugsink: Project scoping missing in sourcemap and debug-file lookup
medium4.3Jun 5, 2026CVE-2026-53954
Bugsink: DOS using large numbers of event tags
medium4.3Jun 5, 2026CVE-2026-44502
Bunsink has an SSRF bypass in `validate_webhook_url`
medium4.3May 8, 2026CVE-2026-27614
Bugsink is vulnerable to Stored XSS via Pygments fallback in stacktrace rendering
critical9.3Feb 25, 2026
