PYSEC-2026-1226

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/bugsink/PYSEC-2026-1226.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-1226
Aliases
Published
2026-07-07T16:02:59.100727Z
Modified
2026-07-07T17:47:33.598285954Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Bugsink path traversal via event_id in ingestion
Details

Summary

In affected versions, ingestion paths construct file locations directly from untrusted event_id input without validation. A specially crafted event_id can result in paths outside the intended directory, potentially allowing file overwrite or creation in arbitrary locations.

Submitting such input requires access to a valid DSN. While that limits exposure, DSNs are sometimes discoverable—for example, when included in frontend code—and should not be treated as a strong security boundary.

Impact

A valid DSN holder can craft an event_id that causes the ingestion process to write files outside its designated directory. This allows overwriting files accessible to the user running Bugsink.

If Bugsink runs in a container, the effect is confined to the container’s filesystem. In non-containerized setups, the overwrite may affect other parts of the system accessible to that user.

Mitigation

Update to version 1.7.4, 1.6.4, 1.5.5 or 1.4.3 , which require event_id to be a valid UUID and normalizes it before use in file paths.

References

Affected packages

PyPI / bugsink

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.3
Introduced
1.5.0
Fixed
1.5.5
Introduced
1.6.0
Fixed
1.6.4
Introduced
1.7.0
Fixed
1.7.4
Introduced
1.6.0
Fixed
1.6.4

Affected versions

0.*
0.0.1
0.1.12
0.1.13
0.1.14
0.1.15
0.1.16
0.1.17
0.1.18
0.1.19
0.1.20
1.*
1.0.0
1.0.1
1.1.0
1.1.1
1.1.2
1.2.0
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.6.0
1.6.1
1.6.2
1.6.3
1.7.0
1.7.1
1.7.2
1.7.3

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/bugsink/PYSEC-2026-1226.yaml"