CVE-2025-54433: Bugsink Path Traversal Vulnerability
HIGHCVE-2025-54433 is a HIGH path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Bugsink libraries in the PyPI ecosystem. The issue involves bugsink path traversal via event_id in ingestion. Remediation is available by upgrading affected packages to version 1.7.4, 1.6.4, 1.5.5, 1.4.3.
CVE-2025-54433 at a Glance
How to Fix CVE-2025-54433
To remediate this vulnerability, upgrade all affected Bugsink dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install bugsink>=1.7.4
pip install bugsink>=1.6.4
pip install bugsink>=1.5.5
pip install bugsink>=1.4.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show bugsink
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-54433, inspect your installed packages using pip:
pip show bugsink
Analyze the terminal output to locate any version of Bugsink in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.4), your application is affected.
Note: The pip show bugsink command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Bugsink, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-54433 Affected Bugsink Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bugsink
|
PyPI |
≥ 1.7.0
< 1.7.4
|
1.7.4
|
|
bugsink
|
PyPI |
≥ 1.6.0
< 1.6.4
|
1.6.4
|
|
bugsink
|
PyPI |
≥ 1.5.0
< 1.5.5
|
1.5.5
|
|
bugsink
|
PyPI |
< 1.4.3
|
1.4.3
|
References
Frequently Asked Questions
What is CVE-2025-54433?
Which Bugsink versions are affected?
What version fixes CVE-2025-54433?
Is bugsink affected?
What CWE is associated with CVE-2025-54433?
How can I check PyPI dependencies for CVE-2025-54433?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q78p-g86f-jg6q",
"modified" : "2025-07-30T15:42:22Z",
"published" : "2025-07-29T20:13:51Z",
"aliases" : [ "CVE-2025-54433" ],
"summary" : "Bugsink path traversal via event_id in ingestion",
"details" : "## 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "bugsink"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.7.0"
}, {
"fixed" : "1.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "bugsink"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.6.0"
}, {
"fixed" : "1.6.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "bugsink"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.5.0"
}, {
"fixed" : "1.5.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "bugsink"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/security/advisories/GHSA-q78p-g86f-jg6q"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-54433"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/1001726f4389e982c486cdd5fa81941cb46cfc33"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/211ddf76758c808c095b5f836c363f148d934d21"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/2c41fbe3881bdea83399a7f9fdc8cff198ae089f"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/53cf1a17a3e96f7c83c7451fd56f980a09d0c9b0"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/55a155003d0b416ea008c5e7dcde85130ad21d9b"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/b94aa8a5c96ce8cdd9711b6beb4e518264993ac2"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/c341687bd655543730c812db35c29199f788be6b"
}, {
"type" : "WEB",
"url" : "https://github.com/bugsink/bugsink/commit/c87217bd565122ba70af90436e3ab2cd9bee658f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bugsink/bugsink"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-07-29T20:13:51Z",
"nvd_published_at" : "2025-07-30T15:15:35Z"
}
}