Skip to content

chore(deps): bump security pins (cryptography, urllib3, idna)#97

Merged
nelsonduarte merged 1 commit into
mainfrom
chore/security-pins
Jun 18, 2026
Merged

chore(deps): bump security pins (cryptography, urllib3, idna)#97
nelsonduarte merged 1 commit into
mainfrom
chore/security-pins

Conversation

@nelsonduarte

Copy link
Copy Markdown
Owner

Summary

Closes 5 transitive CVEs surfaced by pip-audit on a fresh requirements.txt resolve.

Vulnerabilities addressed

Package Old floor New floor Advisory
cryptography 48.0.0 48.0.1 GHSA-537c-gmf6-5ccf
urllib3 (transitive) >=2.7.0 (new pin) PYSEC-2026-141, PYSEC-2026-142, GHSA series
idna (transitive) >=3.15 (new pin) PYSEC-2026-215

Style mirrors the existing lxml>=6.1.0 block: transitive pins land below their primary dep with a comment explaining the advisory chain.

pypdf (separate)

The 5 pypdf CVEs (CVE-2026-49460/49461/54530/54531 + GHSA-jm82-fx9c-mx94) flagged in the audit are already covered by the existing pypdf>=6.13.0 floor: fresh CI installs resolve to 6.13.3+ which contains all fixes. The local audit env was venv-stale at 6.12.1; no requirements change needed.

Validation

  • pip install --dry-run -r requirements.txt resolves clean
  • No new pin conflicts
  • No APP_VERSION bump

- cryptography>=48.0.1 closes GHSA-537c-gmf6-5ccf (signature verification
  bypass in legacy OpenSSL providers).
- urllib3>=2.7.0 covers PYSEC-2026-141, PYSEC-2026-142, and related
  request-smuggling / parsing advisories. Transitive via cryptography
  and requests.
- idna>=3.15 covers PYSEC-2026-215 (denial of service via crafted
  Punycode input). Transitive via urllib3.

pypdf CVEs (CVE-2026-49460/49461/54530/54531 + GHSA-jm82-fx9c-mx94)
are already addressed by the existing pypdf>=6.13.0 floor resolving
to 6.13.3+ in fresh CI installs.
@nelsonduarte nelsonduarte added the bug Something isn't working label Jun 18, 2026
@nelsonduarte nelsonduarte merged commit 31ae071 into main Jun 18, 2026
3 checks passed
@nelsonduarte nelsonduarte deleted the chore/security-pins branch June 18, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant