{"id":"CVE-2025-54433","aliases":["CVE-2025-54433","GHSA-q78p-g86f-jg6q","PYSEC-2026-1226"],"related":[],"kind":"vulnerability","state":"published","title":"Bugsink is vulnerable to Path Traversal attacks via event_id in ingestion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nIn 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.\n\nSubmitting 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.\n\n## Impact\n\nA 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.\n\nIf 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.\n\n## Mitigation\n\nUpdate 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-07-29T20:13:51.000Z","modified":"2026-07-07T17:56:59.810Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","score":7.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 1.7.0, < 1.7.4","status":"affected"},{"version":">= 1.6.0, < 1.6.4","status":"affected"},{"version":">= 1.5.0, < 1.5.5","status":"affected"},{"version":"< 1.4.3","status":"affected"}],"vendor":"bugsink","product":"bugsink","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.7.0","status":"affected","fixed":"1.7.4"}],"ecosystem":"PyPI","package":"bugsink","purl":"pkg:pypi/bugsink","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.6.0","status":"affected","fixed":"1.6.4"}],"ecosystem":"PyPI","package":"bugsink","purl":"pkg:pypi/bugsink","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.5.0","status":"affected","fixed":"1.5.5"}],"ecosystem":"PyPI","package":"bugsink","purl":"pkg:pypi/bugsink","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.3"}],"ecosystem":"PyPI","package":"bugsink","purl":"pkg:pypi/bugsink","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.4.3"},{"type":"ecosystem","introduced":"1.5.0","status":"affected","fixed":"1.5.5"},{"type":"ecosystem","introduced":"1.6.0","status":"affected","fixed":"1.6.4"},{"type":"ecosystem","introduced":"1.7.0","status":"affected","fixed":"1.7.4"},{"type":"ecosystem","introduced":"1.6.0","status":"affected","fixed":"1.6.4"}],"ecosystem":"PyPI","package":"bugsink","purl":"pkg:pypi/bugsink","source":"pysec"}],"references":[{"url":"https://github.com/bugsink/bugsink/security/advisories/GHSA-q78p-g86f-jg6q","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/1001726f4389e982c486cdd5fa81941cb46cfc33","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/211ddf76758c808c095b5f836c363f148d934d21","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/2c41fbe3881bdea83399a7f9fdc8cff198ae089f","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/53cf1a17a3e96f7c83c7451fd56f980a09d0c9b0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/55a155003d0b416ea008c5e7dcde85130ad21d9b","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/b94aa8a5c96ce8cdd9711b6beb4e518264993ac2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/c341687bd655543730c812db35c29199f788be6b","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/bugsink/bugsink/commit/c87217bd565122ba70af90436e3ab2cd9bee658f","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54433","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/bugsink/bugsink","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/bugsink","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-q78p-g86f-jg6q","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-30T14:46:38.151Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54433","url":"https://www.cve.org/CVERecord?id=CVE-2025-54433","licence":"CVE Terms of Use","modified":"2025-07-30T14:46:51.691Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q78p-g86f-jg6q","url":"https://github.com/advisories/GHSA-q78p-g86f-jg6q","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:59.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54433","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54433","licence":"Public domain","modified":"2026-06-17T09:40:05.687Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1226","url":"https://osv.dev/vulnerability/PYSEC-2026-1226","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:33.598Z"}],"updatedAt":"2026-11-25T22:59:01.900Z","epss":{"score":0.00658,"percentile":0.52776,"date":"2026-12-01T12:00:22.000Z"}}