Skip to content

fix(security): bump Django, cryptography, certifi, lxml to patch CVEs#722

Draft
thomasrockhu-codecov wants to merge 1 commit intomainfrom
security/bump-vulnerable-deps
Draft

fix(security): bump Django, cryptography, certifi, lxml to patch CVEs#722
thomasrockhu-codecov wants to merge 1 commit intomainfrom
security/bump-vulnerable-deps

Conversation

@thomasrockhu-codecov
Copy link
Contributor

@thomasrockhu-codecov thomasrockhu-codecov commented Feb 25, 2026

Summary

  • Bump Django lower bound from >=4.2.27 to >=4.2.28 to fix CVE-2025-64459 and CVE-2026-1207 (affects api, worker, parasol, codecov-slack-app)
  • Bump cryptography from >=43.0.1 to >=43.0.3 (latest 43.x patch, bundles OpenSSL security fixes)
  • Bump certifi from >=2024.7.4 to >=2025.1.31 (updated CA certificate bundle)
  • Bump lxml from >=5.3.0 to >=5.3.2 (bundles libxml2 fixes for CVE-2024-34459, CVE-2025-27113)

Issues addressed

Django CVEs (fixed by bumping to 4.2.28)

OpenSSL CVEs (not directly fixable here -- OS-level packages in other repos)

libxml2 CVEs (lxml bump helps for Python-bundled libxml2; relay needs OS-level fix)

h11 CVE (separate repo)

Security advisories

Test plan

  • uv lock resolves cleanly (verified locally)
  • CI passes with updated lockfile
  • Verify Django 4.2.28 is resolved in lockfile
  • Spot-check that no breaking changes in patch-level bumps

Addresses critical/high security vulnerabilities tracked in internal-issues:
- Django 4.2.27 -> 4.2.28: fixes CVE-2025-64459 and CVE-2026-1207 (api, worker)
- cryptography 43.0.1 -> 43.0.3: latest 43.x security patch
- certifi 2024.7.4 -> 2025.1.31: updated CA certificate bundle
- lxml 5.3.0 -> 5.3.2: bundles libxml2 security fixes (CVE-2024-34459, CVE-2025-27113)

Made-with: Cursor
@thomasrockhu-codecov thomasrockhu-codecov force-pushed the security/bump-vulnerable-deps branch from e5b143d to 0bec0f8 Compare February 25, 2026 21:19
@sentry
Copy link

sentry bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.24%. Comparing base (aae0aa4) to head (0bec0f8).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #722   +/-   ##
=======================================
  Coverage   92.24%   92.24%           
=======================================
  Files        1302     1302           
  Lines       47888    47888           
  Branches     1628     1628           
=======================================
  Hits        44175    44175           
  Misses       3404     3404           
  Partials      309      309           
Flag Coverage Δ
apiunit 96.36% <ø> (ø)
sharedintegration 37.00% <ø> (ø)
sharedunit 84.89% <ø> (ø)
workerintegration 58.61% <ø> (ø)
workerunit 90.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link

codecov-notifications bot commented Feb 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codspeed-hq
Copy link

codspeed-hq bot commented Feb 25, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing security/bump-vulnerable-deps (0bec0f8) with main (afa4356)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (aae0aa4) during the generation of this report, so afa4356 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

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.

1 participant