← Back to issue list

build(deps): bump cryptography from 46.0.5 to 46.0.6

View original Github issue

Metadata

Project
charmcraft
Number
#2617
Type
pull request
State
merged
Author
dependabot[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Merged #2617 in commit ba2c0c9a, upgrading cryptography 46.0.5 to 46.0.6 to fix CVE-2026-34073’s wildcard DNS SAN name-constraint verification flaw.

Resolution: closed resolved

Reason: PR #2617 was approved and merged as commit ba2c0c9a. The lockfile update incorporates cryptography 46.0.6 and its upstream fix for CVE-2026-34073.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.5 to 46.0.6. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst">cryptography's changelog</a>.</em></p> <blockquote> <p>46.0.6 - 2026-03-25</p> <pre><code> * **SECURITY ISSUE**: Fixed a bug where name constraints were not applied to peer names during verification when the leaf certificate contains a wildcard DNS SAN. Ordinary X.509 topologies are not affected by this bug, including those used by the Web PKI. Credit to **Oleh Konko (1seal)** for reporting the issue. **CVE-2026-34073** <p>.. _v46-0-5:<br /> </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pyca/cryptography/commit/91d728897bdad30cd5c79a2b23e207f1f050d587"><code>91d7288</code></a> Cherry-pick <a href="https://redirect.github.com/pyca/cryptography/issues/14542">#14542</a> (<a href="https://redirect.github.com/pyca/cryptography/issues/14543">#14543</a>)</li> <li>See full diff in <a href="https://github.com/pyca/cryptography/compare/46.0.5...46.0.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=cryptography&package-manager=uv&previous-version=46.0.5&new-version=46.0.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/canonical/charmcraft/network/alerts). </details>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #2617 in commit ba2c0c9a, upgrading cryptography 46.0.5 to 46.0.6 to fix CVE-2026-34073’s wildcard DNS SAN name-constraint verification flaw.
stealth/space-bunny-alpha — closed resolved Merged PR #2617 in commit ba2c0c9a, upgrading cryptography from 46.0.5 to 46.0.6 to fix CVE-2026-34073's wildcard DNS SAN name-constraint flaw.
stealth/space-bunny-alpha — closed resolved Merged PR #2617 in ba2c0c9a, upgrading cryptography from 46.0.5 to 46.0.6 to fix CVE-2026-34073's wildcard DNS SAN name-constraint flaw.
stealth/space-bunny-alpha — closed resolved Merged PR #2617 in ba2c0c9a, upgrading cryptography 46.0.5 to 46.0.6 to address CVE-2026-34073's X.509 name-constraint flaw.
stealth/space-bunny-alpha — closed resolved Dependabot PR #2617 merged as commit ba2c0c9a, bumping cryptography 46.0.5→46.0.6 in a single lockfile (+51/-51), picking up the CVE-2026-34073 wildcard DNS SAN name-constraint fix.
stealth/space-bunny-alpha — closed resolved Dependabot's cryptography 46.0.5 -> 46.0.6 bump (CVE-2026-34073 name-constraint bug) was approved and merged into main via commit ba2c0c9a, updating uv.lock.
stealth/space-bunny-alpha — closed resolved Merged PR #2617 in commit ba2c0c9a, updating cryptography from 46.0.5 to 46.0.6 to address CVE-2026-34073’s wildcard DNS SAN name-constraint verification flaw.
qwen/qwen3.6-35b-a3b — — Merged Dependabot PR updating cryptography from 46.0.5 to 46.0.6 to patch CVE-2026-34073, fixing a name constraint verification flaw for wildcard DNS SANs. Approved by two reviewers and successfully merged.
qwen3.6-35b-a3b-mtp-q6 — — Merged Dependabot update bumping cryptography from 46.0.5 to 46.0.6. This upgrade patches CVE-2026-34073, fixing a vulnerability where name constraints were ignored for wildcard DNS SANs during verification. The automated dependency bump was successfully integrated.

Update history

No update history recorded yet.

Related work

  • Related To: cryptography#14542 (confidence 95%)

    Upstream cryptography fix cherry-picked into 46.0.6.

Related issues

Issue Project State Summary Similarity
#6135 build(deps): bump cryptography from 46.0.5 to 46.0.6 snapcraft merged Merged #6135 as commit 1acb182bf, bumping cryptography 46.0.5 to 46.0.6 to fix CVE-2026-34073.
91%
#6029 build(deps): bump cryptography from 46.0.3 to 46.0.5 snapcraft merged Merged as edb2a7453, updating cryptography from 46.0.3 to 46.0.5 to address CVE-2026-26007 and related security fixes.
89%
#86 build(deps): bump cryptography from 46.0.1 to 46.0.5 debcraft merged Dependabot bumped cryptography 46.0.1→46.0.5 in uv.lock; merged as commit 8d82006 (CVE-2026-26007 fix). Later superseded by #111 (46.0.6) and #122 (46.0.7).
87%
#111 build(deps): bump cryptography from 46.0.5 to 46.0.6 debcraft merged Dependabot bump of cryptography 46.0.5 -> 46.0.6 (security fix for CVE-2026-34073) merged into debcraft, updating uv.lock. Follow-up bump to 46.0.7 later landed via #122.
84%
#6030 build(deps): bump cryptography from 46.0.3 to 46.0.5 snapcraft merged Merged into hotfix/8.14 as 636b6cfaf, bumping cryptography 46.0.3 to 46.0.5 to address an OSV hotfix.
84%
#2609 build(deps): bump cryptography from 45.0.4 to 46.0.5 in /tests/spread/ubuntu-26.04/test-cmd charmcraft closed Closed unmerged after failing checks; the cryptography 46.x refresh was retried in #2640 and superseded by merged dependency update #2727 (174fd8ff).
83%
#1098 build(deps): bump cryptography craft-application merged Merged in #1098 via commit 239b3af7, updating cryptography 48.0.0 to 49.0.0 to resolve OSV GHSA-537c-gmf6-5ccf.
83%
#2640 build(deps): bump cryptography from 45.0.4 to 46.0.6 in /tests/spread/ubuntu-26.04/test-cmd charmcraft closed Closed unmerged after Dependabot could not clear failing checks; the cryptography refresh was superseded by merged dependency update #2727 (commit 174fd8ff).
82%
#2570 build(deps): update dependency cryptography to v46 [security] (hotfix/4.1) - autoclosed charmcraft closed Autoclosed unmerged after 219 days; cryptography 46 later landed on main via #2583 (e66a25b5) and was advanced to 46.0.6 by #2617.
82%
#6163 build(deps): bump cryptography from 46.0.6 to 46.0.7 snapcraft merged Dependabot bump of cryptography 46.0.6→46.0.7 (CVE-2026-39892 buffer-overflow fix, OpenSSL 3.5.6 wheels) merged into snapcraft via PR #6163, commit a8123a0a8.
82%