CVE-2026-40162: Bugsink Bugsink Affected By Authenticated Arbitrary Vulnerability
HIGHCVE-2026-40162 is a HIGH (CVSS 7.1) bugsink affected by authenticated arbitrary vulnerability (CWE-20: Improper Input Validation) affecting Bugsink libraries in the PyPI ecosystem. The issue involves bugsink affected by authenticated arbitrary file write in artifactbundle/assemble. Remediation is available by upgrading affected packages to version 2.1.1.
CVE-2026-40162 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L).
How to Fix CVE-2026-40162
To remediate this vulnerability, upgrade all affected Bugsink dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install bugsink>=2.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show bugsink
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-40162, inspect your installed packages using pip:
pip show bugsink
Analyze the terminal output to locate any version of Bugsink in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.1), your application is affected.
Note: The pip show bugsink command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Bugsink, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40162 Affected Bugsink Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bugsink
|
PyPI |
≥ 2.1.0
< 2.1.1
All 1 versions
2.1.0
|
2.1.1
|
References
Frequently Asked Questions
What is CVE-2026-40162?
Which Bugsink versions are affected?
What version fixes CVE-2026-40162?
Is bugsink affected?
What is the CVSS score of CVE-2026-40162?
What CWE is associated with CVE-2026-40162?
How can I check PyPI dependencies for CVE-2026-40162?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8hw4-fhww-273g",
"modified" : "2026-04-10T19:30:42Z",
"published" : "2026-04-10T19:30:42Z",
"aliases" : [ "CVE-2026-40162" ],
"summary" : "Bugsink affected by authenticated arbitrary file write in artifactbundle/assemble",
"details" : "# Authenticated arbitrary file write in artifact bundle assembly\n\n## Summary\n\nAn authenticated file write vulnerability was identified in Bugsink **2.1.0** in the artifact bundle assembly flow.\n\nA user with a valid authentication token could cause the application to write attacker-controlled content to a filesystem location writable by the Bugsink process.\n\nThis issue requires authentication and affects only version **2.1.0**.\n\nThe issue is fixed in **2.1.1**.\n\n## Impact\n\nThis vulnerability allows an authenticated user to create or overwrite files **within locations writable by the Bugsink service account**.\n\nThe practical impact depends on the deployment environment and filesystem permissions of the running process.\n\nPossible consequences include:\n\n* modification of application data files\n* corruption of uploaded assets or temporary files\n* overwriting files in mounted writable volumes\n* disruption of normal application behavior\n\nNo unauthenticated exploitation is known.\n\nNo 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.\n\n## Affected versions\n\n* **Affected:** 2.1.0\n* **Fixed:** 2.1.1\n* **Not affected:** earlier releases\n\n## Mitigation\n\nUpgrade to **2.1.1**.\n\nAs a defense-in-depth measure, deployments should continue to ensure the Bugsink process runs with the **minimum required filesystem permissions**.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "bugsink"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.1"
} ]
} ],
"versions" : [ "2.1.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/security/advisories/GHSA-8hw4-fhww-273g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40162"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bugsink/bugsink"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/releases/tag/2.1.1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-10T19:30:42Z",
"nvd_published_at" : "2026-04-10T18:16:46Z"
}
}