CVE-2025-54433
JSON

7.2high

Bugsink is vulnerable to Path Traversal attacks via event_id in ingestion

Severity
7.2high CVSS:4.0 by GitHub_M
Exploit likelihood
0.66% (higher than 52% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-q78p-g86f-jg6qPYSEC-2026-1226

Description

Bugsink is a self-hosted error tracking service. In versions 1.4.2 and below, 1.5.0 through 1.5.4, 1.6.0 through 1.6.3, and 1.7.0 through 1.7.3, 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, potentially exposing them. 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. This is fixed in versions 1.4.3, 1.5.5, 1.6.4 and 1.7.4.

Affected

Product or packageVersionsReported by
bugsink bugsink>= 1.7.0, < 1.7.4, >= 1.6.0, < 1.6.4, >= 1.5.0, < 1.5.5, < 1.4.3CVE List
bugsink (PyPI)from 1.7.0 before 1.7.4, from 1.6.0 before 1.6.4, from 1.5.0 before 1.5.5, before 1.4.3GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M7.2high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-22

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

What each source says

CVE List

Bugsink is a self-hosted error tracking service. In versions 1.4.2 and below, 1.5.0 through 1.5.4, 1.6.0 through 1.6.3, and 1.7.0 through 1.7.3, 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, potentially exposing them. 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. This is fixed in versions 1.4.3, 1.5.5, 1.6.4 and 1.7.4.

GitHub Advisory Database

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.

NVD (es)

Bugsink es un servicio de seguimiento de errores autoalojado. En las versiones 1.4.2 y anteriores, 1.5.0 a 1.5.4, 1.6.0 a 1.6.3 y 1.7.0 a 1.7.3, las rutas de ingesta construyen ubicaciones de archivos directamente a partir de una entrada event_id no confiable sin validación. Un event_id especialmente manipulado puede generar rutas fuera del directorio previsto, lo que podría permitir la sobrescritura o creación de archivos en ubicaciones arbitrarias. Enviar dicha entrada requiere acceso a un DSN válido, lo que podría exponerlos. Si Bugsink se ejecuta en un contenedor, el efecto se limita al sistema de archivos del contenedor. En configuraciones no contenedorizadas, la sobrescritura puede afectar a otras partes del sistema accesibles para ese usuario. Esto se ha corregido en las versiones 1.4.3, 1.5.5, 1.6.4 y 1.7.4.

References

https://github.com/bugsink/bugsink/security/advisories/GHSA-q78p-g86f-jg6qweb
https://github.com/bugsink/bugsink/commit/1001726f4389e982c486cdd5fa81941cb46cfc33web
https://github.com/bugsink/bugsink/commit/211ddf76758c808c095b5f836c363f148d934d21web
https://github.com/bugsink/bugsink/commit/2c41fbe3881bdea83399a7f9fdc8cff198ae089fweb
https://github.com/bugsink/bugsink/commit/53cf1a17a3e96f7c83c7451fd56f980a09d0c9b0web
https://github.com/bugsink/bugsink/commit/55a155003d0b416ea008c5e7dcde85130ad21d9bweb
https://github.com/bugsink/bugsink/commit/b94aa8a5c96ce8cdd9711b6beb4e518264993ac2web
https://github.com/bugsink/bugsink/commit/c341687bd655543730c812db35c29199f788be6bweb
https://github.com/bugsink/bugsink/commit/c87217bd565122ba70af90436e3ab2cd9bee658fweb
https://nvd.nist.gov/vuln/detail/CVE-2025-54433advisory
https://github.com/bugsink/bugsinkpackage
https://pypi.org/project/bugsinkpackage

Sources

SourceRecordLicence
CVE ListCVE-2025-54433 changed 2025-07-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-q78p-g86f-jg6q changed 2026-07-07CC-BY-4.0
NVDCVE-2025-54433 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1226 changed 2026-07-07CC-BY-4.0