GitHub Advisoryadvisory · PyPI

GHSA-5389-f7vh-wxj8 Bugsink: Project scoping missing in sourcemap and debug-file lookup

MEDIUM Published 2026-06-05 Modified 2026-06-05 Official page ↗
Aliases
CVE-2026-47728
Ecosystem
PyPI
Packages
bugsink
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-862
Reviewed
2026-06-05

Affected packages

• PyPI bugsink: < 2.2.0 → fixed in 2.2.0

Description

Summary Bugsink before 2.2.0 resolved sourcemaps and debug files by debug ID without scoping that lookup to the project that owned the uploaded metadata. An authenticated user with access to one project could cause event processing in that project to use sourcemap/debug-file metadata uploaded for another project in the same Bugsink instance, if the same debug ID was referenced. Impact This could disclose source context or symbolication-derived context from another project on the same Bugsink instance. For sourcemaps, the documented upload flow used `sentry-cli sourcemaps upload` with `--project=ignoredfornow`. In other words, Bugsink did not historically treat the project value supplied during sourcemap upload as meaningful project ownership. This was documented, but at the same time the `sentry-cli`, which requires project as a parameter, was the recommended mechanism for uploads. This could reasonably lead people to expect that sourcemaps uploads would respect the provided project-boundary. For minidumps/debug files specifically, the affected functionality also required `FEATURE_MINIDUMPS` to be enabled. That feature was marked experimental. The practical impact is further limited by Bugsink’s deployment model: self-hosted instances are commonly operated within a single organization/trust domain, and Hosted Bugsink uses separate Bugsink instances per tenant. The issue does not cross Hosted Bugsink tenant boundaries. Affected Versions 2.1.3 and earlier are affected. Patched Versions 2.2.0 fixes this issue. Post-Upgrade Notes After upgrading, upload sourcemaps/debug files with project information. To remove legacy projectless sourcemap metadata immediately, run, after upgrading: ``` bugsink-manage delete_legacy_sourcemaps ```

Related

Alias · CVE (1)

  • CVE-2026-47728 Bugsink is a self-hosted error tracking tool. vulnerability

Weakness · CWE (1)

  • CWE-862 Missing Authorization weakness

References