chore(deps): bump cryptography from 46.0.6 to 50.0.0 in /envs/repl_env - #1057
chore(deps): bump cryptography from 46.0.6 to 50.0.0 in /envs/repl_env#1057dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.6 to 50.0.0. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.6...50.0.0) --- updated-dependencies: - dependency-name: cryptography dependency-version: 50.0.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Alignment Review Report
chore(deps): bump cryptography 46.0.6 → 50.0.0 in /envs/repl_env — native dependabot/uv/envs/repl_env/cryptography-50.0.0, lock-only diff (envs/repl_env/uv.lock, +57/−60). Third cryptography → 50.0.0 env-lock bump after #1049 (carla_env) and #1055 (sumo_rl_env); same born-clean, security-positive profile.
Automated Checks
- Lint: PASS (for this PR).
.claude/hooks/lint.shexits 1, but only on 26 pre-existingenvs/**/*.pyfiles (incl.envs/repl_env/runner.py,envs/repl_env/server/repl_environment.py). This PR changes onlyenvs/repl_env/uv.lock(TOML — not linted, not a.py). CI's lint job coverssrc/+tests/only (neverenvs/**), so it is unaffected. - Debug code: CLEAN (for this PR).
check-debug.shreports only pre-existingsrc/items (cli/commands/build.py,import_env.py,fork.pyconsole.print;serve.py/__main__.pyTODOs). This PR touches nosrc/.
Open RFCs Context
Active RFCs: 000/001/002/003/004/005 (In Review), 010 (Draft). None govern dependency management / PyPI / packaging, so a lockfile bump has no RFC surface.
Verification (all PASS)
- Born-clean lock —
revision = 3at base and head (not in diff); 0 HF-mirror refs on both sides (126pypi.org/simpleeach) ⇒ no index-flip, no revision bump, norequires-distre-sync side effect. uv lock --check --project envs/repl_env→ PASS (121 packages) — lock consistent withpyproject.toml.- Hash integrity — all 46 locked
cryptography-50.0.0artifacts (1 sdist + 45 wheels) match PyPI exactly (sha256 + size + filename); none yanked;requires-pythonsatisfied by repl_env>=3.10. - No unrelated artifact churn — no non-
cryptographyfiles.pythonhosted.orgline changed. - Security-positive — base 46.0.6 has 5 distinct outstanding advisories, all resolved by ≤ 50.0.0 (see inline). The 50.0.0-only fix
GHSA-g6cj-pr64-35w5/CVE-2026-69247 justifies the target; 50.0.0 has 0 known advisories. - Blast radius: none in env code — no
repl_envmodule importscryptography/secretstorage/keyring/authlib/jwt; deep transitive dep viaauthlib,pyjwt[crypto],secretstorage. - Deploy —
envs/repl_env/server/Dockerfileusesuv sync --frozen(with non-frozen fallback) and installs currentuvon the fly; lock was already rev 3 at base ⇒ no new toolchain floor. - Not stale —
origin/main== the PR base;git merge-treereports no conflict (clean 1-commit-ahead).
Tier 1: Fixes Required
None.
Tier 2: Alignment Discussion
Principle Conflicts
None identified. No Gymnasium-API / rewards-in-env / client-server / MCP / container-isolation / credential-exposure surface is touched. (The reproducibility flag from "Container isolation for reproducibility" would apply on an index-flip, but this lock is born-clean, so it does not.)
RFC Conflicts
None identified.
Process (non-blocking)
ALIGNMENT FLAG: Native dependabot/uv/envs/** PR bypasses the configured exclude-paths
- Principle/RFC at stake: none — this is repo dependency-management policy in
.github/dependabot.yml, not a PRINCIPLES/INVARIANTS/RFC rule. - The concern: the
uvupdater is configured withdirectory: "/"+exclude-paths: ["envs/**"](.github/dependabot.yml:8-9), yet this native PR modifiesenvs/repl_env/uv.lock.exclude-pathsis a valid key but theuvecosystem isn't honoring it; the intended path for env bumps is thecodex/dependabot-envs-*aggregate roll-ups. Same benign observation as #1049/#1055/#1013 — purely process; the bump itself is correct and worth landing. - Suggested reviewer: @burtenshaw (authored the
exclude-pathsconfig, commit5f499da9)
Transparency notes (not issues)
- The diff also carries semantically-equivalent marker normalizations on transitive
pandas2.3.3,pandas3.0.1, andsecretstorage3.5.0 inner deps (e.g. dropping a redundantpython_full_version < '3.11'already implied by the entry'sresolution-markers, and simplifying secretstorage's cryptography/jeepney markers to unconditional). Resolved versions are unchanged anduv lock --checkpasses — a re-resolve artifact, not a regression.
Summary
- 0 mechanical issues to fix
- 1 alignment point for human review (non-blocking
exclude-pathsprocess flag → @burtenshaw) - 0 RFC conflicts
Net: a clean, security-positive, born-clean transitive lock bump. No code changes needed from this review; recommend merge once CI is green.
Sent by Cursor Automation: Pre-review
| [[package]] | ||
| name = "cryptography" | ||
| version = "46.0.6" | ||
| version = "50.0.0" |
There was a problem hiding this comment.
cryptography 46.0.6 → 50.0.0. All 46 locked 50.0.0 artifacts (this sdist + 45 wheels) verified against PyPI — sha256 + size + filename match exactly (PyPI publishes exactly 46), none yanked. requires-python !=3.9.0,!=3.9.1,>=3.9 is satisfied by repl_env >=3.10; the cffi / typing-extensions inner deps are unchanged.
Security-positive: base 46.0.6 has 5 distinct outstanding advisories, all fixed by ≤ 50.0.0 — GHSA-p423-j2cm-9vmq/CVE-2026-39892 (46.0.7), GHSA-537c-gmf6-5ccf (48.0.1), GHSA-m2h6-j472-rp4c/CVE-2026-69248 & GHSA-jwv3-5hgf-82ww/CVE-2026-69249 (49.0.0), GHSA-g6cj-pr64-35w5/CVE-2026-69247 (50.0.0). The last is fixed only in 50.0.0, which justifies this target; 50.0.0 itself has 0 known advisories.
Born-clean (revision = 3 and all pypi.org/simple at both base and head — no index-flip) and uv lock --check passes (121 pkgs). Transitive dep via authlib / pyjwt[crypto] / secretstorage; no repl_env code imports it.
|
Closing in favor of aggregate env Dependabot PR #1015. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |


Bumps cryptography from 46.0.6 to 50.0.0.
Changelog
Sourced from cryptography's changelog.
... (truncated)
Commits
dcb7050Prepare for 50.0.0 release (#15372)53fccd9Don't leak how PKCS#7 encryptedKey decryption failed (#15369)d472f97Addfrom __future__ import annotationsto all src/ Python files (#15371)908773dBump downstream dependencies in CI (#15368)2cc07ccBump BoringSSL, OpenSSL, AWS-LC in CI (#15367)c94ede9chore(deps): bump ruff from 0.16.0 to 0.16.1 (#15366)67a8308chore(deps): bump virtualenv from 21.7.0 to 21.7.1 (#15365)95018ffRelease the GIL in one-shot AEAD encrypt/decrypt (#15361)6954733Release the GIL during DH and DSA parameter generation (#15364)6893b94Import _serialization instead of serialization in x509/extensions (#15363)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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Note
Medium Risk
Major upgrade of a security-critical transitive dependency with no source changes; validate repl_env installs and any TLS/OAuth/keyring paths that use Authlib/SecretStorage.
Overview
Updates
envs/repl_env/uv.lockso the resolvedcryptographypackage moves from 46.0.6 to 50.0.0 (major bump). The change is lockfile-only;cryptographyis pulled in transitively (e.g. Authlib, SecretStorage), not via direct app code edits.The resolver also refreshes related lock metadata (wheel hashes and simplified dependency markers on pandas / secretstorage entries) alongside the cryptography pin.
50.0.0 includes a security fix (CVE-2026-69247) for PKCS#7
encryptedKeydecryption oracles, plus stricter X.509/OCSP parsing and deprecation of finite-field Diffie-Hellman.Reviewed by Cursor Bugbot for commit 1c4bcec. Bugbot is set up for automated code reviews on this repo. Configure here.