CVE-2026-40162
JSON

7.1high

Bugsink affected by authenticated arbitrary file write in artifactbundle/assemble

Severity
7.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-8hw4-fhww-273gPYSEC-2026-2404

Description

Bugsink is a self-hosted error tracking tool. In 2.1.0, 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 vulnerability is fixed in 2.1.1.

Affected

Product or packageVersionsReported by
bugsink bugsink>= 2.1.0, < 2.1.1, 2.1.0CVE List, NVD
bugsink (PyPI)from 2.1.0 before 2.1.1GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
GitHub7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
PyPA Advisory Database7.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Classification

CWE-20

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Bugsink is a self-hosted error tracking tool. In 2.1.0, 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 vulnerability is fixed in 2.1.1.

GitHub Advisory Database

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40162 changed 2026-04-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-8hw4-fhww-273g changed 2026-07-13CC-BY-4.0
NVDCVE-2026-40162 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-2404 changed 2026-07-13CC-BY-4.0