Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Feb 10, 2026

Summary

Adds patched versions of 4 packages to the Sentry PyPI mirror to address Dependabot security alerts on getsentry/sentry:

Package Version Severity CVEs Dependabot Alerts
Django 5.2.11 3 HIGH, 2 MEDIUM, 3 LOW CVE-2026-1312, CVE-2026-1287, CVE-2026-1207, CVE-2025-64460, CVE-2025-13372, CVE-2026-1285, CVE-2025-14550, CVE-2025-13473 #446, #445, #444, #443, #442, #441, #423, #422
protobuf 5.29.6 HIGH CVE-2026-0994 #447
h2 4.3.0 MEDIUM CVE-2025-57804 #418
werkzeug 3.1.5 MEDIUM CVE-2026-21860 #428

This unblocks upgrading these dependencies in sentry's pyproject.toml and uv.lock to resolve 13 open Dependabot alerts (4 HIGH, 4 MEDIUM, 5 LOW).

@BYK BYK enabled auto-merge (squash) February 10, 2026 00:28
BYK added a commit to getsentry/sentry that referenced this pull request Feb 10, 2026
Python:
- Bump Django minimum to >=5.2.11 (3 HIGH SQL injection, 2 MEDIUM, 3 LOW)
- Bump protobuf minimum to >=5.29.6 (HIGH: JSON recursion depth bypass)
- Upgrade Werkzeug 3.0.6 -> 3.1.3 (MEDIUM: safe_join device name bypass)
- Upgrade filelock 3.13.1 -> 3.20.3 (MEDIUM: TOCTOU race condition)

Note: uv.lock will need re-locking once getsentry/pypi#1896 merges to
make Django 5.2.11, protobuf 5.29.6, h2 4.3.0, and werkzeug 3.1.5
available on the Sentry PyPI mirror. Until then, werkzeug 3.1.3 and
filelock 3.20.3 are the latest available versions on the mirror.

npm:
- Bump diff 8.0.2 -> 8.0.3 (LOW: DoS in parsePatch/applyPatch)
- Add pnpm override for @isaacs/brace-expansion 5.0.1 (HIGH: ReDoS)
- Add pnpm overrides for transitive diff@4.x -> 4.0.4, diff@5.x -> 5.2.2
- Add pnpm override for lodash >=4.17.23 in api-docs/ (MEDIUM: prototype pollution)
@BYK BYK merged commit 88f839c into main Feb 10, 2026
13 of 14 checks passed
@BYK BYK deleted the security-dep-upgrades branch February 10, 2026 08:34
BYK added a commit to getsentry/sentry that referenced this pull request Feb 10, 2026
Python:
- Bump Django minimum to >=5.2.11 (3 HIGH SQL injection, 2 MEDIUM, 3 LOW)
- Bump protobuf minimum to >=5.29.6 (HIGH: JSON recursion depth bypass)
- Upgrade Werkzeug 3.0.6 -> 3.1.3 (MEDIUM: safe_join device name bypass)
- Upgrade filelock 3.13.1 -> 3.20.3 (MEDIUM: TOCTOU race condition)

Note: uv.lock will need re-locking once getsentry/pypi#1896 merges to
make Django 5.2.11, protobuf 5.29.6, h2 4.3.0, and werkzeug 3.1.5
available on the Sentry PyPI mirror. Until then, werkzeug 3.1.3 and
filelock 3.20.3 are the latest available versions on the mirror.

npm:
- Bump diff 8.0.2 -> 8.0.3 (LOW: DoS in parsePatch/applyPatch)
- Add pnpm override for @isaacs/brace-expansion 5.0.1 (HIGH: ReDoS)
- Add pnpm overrides for transitive diff@4.x -> 4.0.4, diff@5.x -> 5.2.2
- Add pnpm override for lodash >=4.17.23 in api-docs/ (MEDIUM: prototype pollution)
BYK added a commit to getsentry/sentry that referenced this pull request Feb 10, 2026
Python:
- Bump Django minimum to >=5.2.11 (3 HIGH SQL injection, 2 MEDIUM, 3 LOW)
- Bump protobuf minimum to >=5.29.6 (HIGH: JSON recursion depth bypass)
- Upgrade Werkzeug 3.0.6 -> 3.1.3 (MEDIUM: safe_join device name bypass)
- Upgrade filelock 3.13.1 -> 3.20.3 (MEDIUM: TOCTOU race condition)

Note: uv.lock will need re-locking once getsentry/pypi#1896 merges to
make Django 5.2.11, protobuf 5.29.6, h2 4.3.0, and werkzeug 3.1.5
available on the Sentry PyPI mirror. Until then, werkzeug 3.1.3 and
filelock 3.20.3 are the latest available versions on the mirror.

npm:
- Bump diff 8.0.2 -> 8.0.3 (LOW: DoS in parsePatch/applyPatch)
- Add pnpm override for @isaacs/brace-expansion 5.0.1 (HIGH: ReDoS)
- Add pnpm overrides for transitive diff@4.x -> 4.0.4, diff@5.x -> 5.2.2
- Add pnpm override for lodash >=4.17.23 in api-docs/ (MEDIUM: prototype pollution)
BYK added a commit to getsentry/sentry that referenced this pull request Feb 10, 2026
Python:
- Bump Django minimum to >=5.2.11 (3 HIGH SQL injection, 2 MEDIUM, 3 LOW)
- Bump protobuf minimum to >=5.29.6 (HIGH: JSON recursion depth bypass)
- Upgrade Werkzeug 3.0.6 -> 3.1.3 (MEDIUM: safe_join device name bypass)
- Upgrade filelock 3.13.1 -> 3.20.3 (MEDIUM: TOCTOU race condition)

Note: uv.lock will need re-locking once getsentry/pypi#1896 merges to
make Django 5.2.11, protobuf 5.29.6, h2 4.3.0, and werkzeug 3.1.5
available on the Sentry PyPI mirror. Until then, werkzeug 3.1.3 and
filelock 3.20.3 are the latest available versions on the mirror.

npm:
- Bump diff 8.0.2 -> 8.0.3 (LOW: DoS in parsePatch/applyPatch)
- Add pnpm override for @isaacs/brace-expansion 5.0.1 (HIGH: ReDoS)
- Add pnpm overrides for transitive diff@4.x -> 4.0.4, diff@5.x -> 5.2.2
- Add pnpm override for lodash >=4.17.23 in api-docs/ (MEDIUM: prototype pollution)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants