|
| 1 | +.. date: 2026-10-22-08-04-33 |
| 2 | +.. gh-issue: 160300 |
| 3 | +.. nonce: q7Zk2B |
| 4 | +.. release date: 2026-10-25 |
| 5 | +.. section: Security |
| 6 | +
|
| 7 | +Fix :class:`http.cookiejar.DefaultCookiePolicy` accepting and returning |
| 8 | +cookies with a negative ``Version`` attribute without checking their domain |
| 9 | +against the request host. Such cookies are now ignored. |
| 10 | + |
| 11 | +.. |
| 12 | +
|
| 13 | +.. cve: CVE-2026-114583 |
| 14 | +.. date: 2026-10-21-19-58-53 |
| 15 | +.. gh-issue: 160097 |
| 16 | +.. nonce: -opfAL |
| 17 | +.. section: Security |
| 18 | +
|
| 19 | +:func:`tarfile.tar_filter` now rejects link members whose path resolves to |
| 20 | +the destination directory itself, as :func:`tarfile.data_filter` already |
| 21 | +did. |
| 22 | + |
| 23 | +.. |
| 24 | +
|
| 25 | +.. cve: CVE-2026-115557 |
| 26 | +.. date: 2026-10-21-16-55-07 |
| 27 | +.. gh-issue: 160040 |
| 28 | +.. nonce: 9PjFjC |
| 29 | +.. section: Security |
| 30 | +
|
| 31 | +:mod:`ssl` now rejects TLS certificate chains that contain any of a set of |
| 32 | +compromised eMudhra intermediate CA keys. This is an extraordinary measure |
| 33 | +and a last line of defense: removing trust is primarily the job of the |
| 34 | +platform root store, and the built-in denylist only blocks connections while |
| 35 | +that update has not yet reached the OS, a container image, or a bundled |
| 36 | +trust store in various Python packages. Entries are added to the denylist |
| 37 | +only under a very high threshold. The denylist matches on the public key |
| 38 | +(the SHA-256 digest of the :rfc:`5280` ``SubjectPublicKeyInfo``), so it also |
| 39 | +covers the cross-signed certificates that reuse one of the distrusted keys. |
| 40 | + |
| 41 | +.. |
| 42 | +
|
| 43 | +.. date: 2026-10-15-03-47-08 |
| 44 | +.. gh-issue: 159428 |
| 45 | +.. nonce: XHRKwY |
| 46 | +.. section: Security |
| 47 | +
|
| 48 | +:mod:`mimetypes` no longer reads the files listed in |
| 49 | +:data:`mimetypes.knownfiles` by default on Windows, and uses only the |
| 50 | +registry. |
| 51 | + |
| 52 | +.. |
| 53 | +
|
| 54 | +.. date: 2026-08-31-16-47-33 |
| 55 | +.. gh-issue: 157953 |
| 56 | +.. nonce: KxCFSN |
| 57 | +.. section: Security |
| 58 | +
|
| 59 | +Update bundled `libexpat <https://libexpat.github.io/>`_ to version 2.9.0. |
| 60 | + |
| 61 | +.. |
| 62 | +
|
| 63 | +.. date: 2026-08-14-11-55-00 |
| 64 | +.. gh-issue: 157579 |
| 65 | +.. nonce: Kq3Vt2 |
| 66 | +.. section: Security |
| 67 | +
|
| 68 | +Fix a race condition in the cleanup of :class:`tempfile.TemporaryDirectory`. |
| 69 | +When working around file system permission errors, files are now removed |
| 70 | +relative to open directory file descriptors instead of resolving their path |
| 71 | +again, so that replacing a directory of the tree with a symbolic link can no |
| 72 | +longer make the cleanup delete files outside of the temporary directory. |
| 73 | +This addresses :cve:`2026-12345`. |
| 74 | + |
| 75 | +.. |
| 76 | +
|
| 77 | +.. date: 2026-10-08-16-18-43 |
| 78 | +.. gh-issue: 87720 |
| 79 | +.. nonce: Elqdl9 |
| 80 | +.. section: Library |
| 81 | +
|
| 82 | +Fixed error in :mod:`email` new policies where header folding failed to |
| 83 | +detect the need to re-quote text obtained from encoded words in certain |
| 84 | +cases. |
0 commit comments