<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><id>https://sadrobot.eu/vuln/feed/vendor/python-software-foundation.xml</id><title>Python Software Foundation – sadrobot Vulnerability Log</title><updated>2026-11-26T08:20:19Z</updated><link rel="self" href="https://sadrobot.eu/vuln/feed/vendor/python-software-foundation.xml"/><link href="https://sadrobot.eu/vuln/en/vendor/python-software-foundation/"/><author><name>sadrobot</name></author><entry><id>tag:sadrobot.eu,2026:CVE-2026-107784</id><title>CVE-2026-107784 · 6.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-107784"/><updated>2026-11-23T16:17:25Z</updated><summary>On Windows, the tarfile &quot;tar&quot; and &quot;data&quot; extraction filters did not reject member names or link targets that have a drive but no root, such as &quot;C:foo&quot;. When extracting to a relative destination, such a member was written to the current working directory of that drive instead of the destination, and a symbolic link with such a target pointed outside the destination. The filters now refuse these member names and link targets with AbsolutePathError and AbsoluteLinkError.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-16052</id><title>CVE-2026-16052 · 2.3 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-16052"/><updated>2026-11-12T17:17:44Z</updated><summary>The http.cookies.Morsel class allows separator semicolons in attribute
values
and includes them verbatim in all output formats. An attacker who can
control
these values could use this to relax the cookie&#x27;s Domain or SameSite
restrictions.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-115559</id><title>CVE-2026-115559 · 6.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-115559"/><updated>2026-11-10T19:19:11Z</updated><summary>IMAP4.starttls() wraps the socket in TLS but leaves self._readbuf, imaplib&#x27;s own read-ahead buffer, untouched. Any plaintext bytes that arrived in the same recv() as the tagged OK to STARTTLS are returned by readline() after the handshake, so the client treats them as the first responses on the protected channel. A network attacker who cannot break TLS can append forged lines after the server&#x27;s OK, let the handshake complete with the real server and a valid certificate, and have the client accept the forged CAPABILITY and the forged tagged completion of the next command. This is the STARTTLS command/response injection class of CVE-2011-0411.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-115791</id><title>CVE-2026-115791 · 5.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-115791"/><updated>2026-11-10T17:17:22Z</updated><summary>When tarfile or zipfile command line interface (CLI) is used to

decompress an archive, a Python script shadowing the stdlib can be

created. Then if an error occurs during decompressing the next file,

the newly created Python script is executed. This is especially true

if the created Python is called traceback.py. The problem is that

Python adds the current directory to sys.path when python -m MODULE is

run, and the archive is also decompressed in the current directory.



The fix removes sys.path[0] in gzip, tarfile and zipfile command line

interface to prevent shadowing standard library modules from extracted

files.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-19552</id><title>CVE-2026-19552 · 0.0 None · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-19552"/><updated>2026-11-09T15:17:21Z</updated><summary>When ca_certs parameter was supplied to ssl.get_server_certificate() function, the identity of the certificate is not checked.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-124249</id><title>CVE-2026-124249 · 6.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-124249"/><updated>2026-11-09T15:17:14Z</updated><summary>http.cookiejar.CookieJar deleted a stored cookie when a response carried an
already expired Set-Cookie header for it, using the Domain and Path
attributes from the header without consulting the cookie policy. A server
could therefore delete cookies belonging to other domains from a shared
cookie jar, such as the one used by urllib&#x27;s HTTPCookieProcessor. The fix
consults the cookie policy before an expired cookie may delete an existing
one, as required by RFC 6265 section 5.3.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-119170</id><title>CVE-2026-119170 · 8.2 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-119170"/><updated>2026-11-06T15:17:12Z</updated><summary>There was a regression in how FIPS algorithms were enforced for the hashlib module. Only users that are using OpenSSL in FIPS mode are affected. Only Python 3.14.10 is affected, all other Python versions are unaffected.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-116566</id><title>CVE-2026-116566 · 5.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-116566"/><updated>2026-10-29T18:17:24Z</updated><summary>socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be silently truncated.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-103995</id><title>CVE-2026-103995 · 2.0 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-103995"/><updated>2026-10-27T20:17:11Z</updated><summary>Response body and chunk parsing would handle non-hex or negative integers incorrectly which could result in misinterpreting HTTP response contents.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-115557</id><title>CVE-2026-115557 · 9.4 Critical · Python Software Foundation CPython</title><link href="https://sadrobot.eu/vuln/en/cve/CVE-2026-115557/"/><updated>2026-10-24T15:17:33Z</updated><summary>CPython&#x27;s ssl module did not reject known compromised certificates when revocation checking was not configured. Python added a denylist that rejects them regardless of SSLContext policy. Critical (9.4); updating is recommended.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-114583</id><title>CVE-2026-114583 · 6.9 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-114583"/><updated>2026-10-22T21:17:16Z</updated><summary>tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() with filter=&quot;tar&quot; to write files outside the destination directory, subject to the permissions of the extracting process.

This is the tarfile.tar_filter counterpart of CVE-2026-7774, which covered tarfile.data_filter.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-19553</id><title>CVE-2026-19553 · 7.6 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-19553"/><updated>2026-09-30T17:16:45Z</updated><summary>ssl.SSLContext.wrap_bio() didn&#x27;t require the server_hostname argument
to not be None if ssl.SSLContext.check_hostname was set. Due to a
missing parameter check in SSLObject, if the server_hostname argument
isn&#x27;t supplied then hostname verification would be silently skipped.


This defect could lead to programs where certificate hostname verification
*appeared* to be succeeding with SSLContext.check_hostname = True and no
ValueError being raised due to misconfiguration.


If the program passes a server_hostname value that isn&#x27;t an empty string
or None to any of these APIs then certificate hostname verification
proceeds as expected and the program is not affected by this vulnerability.


Mitigating this vulnerability doesn&#x27;t require updating Python or applying
the patch. To mitigate, pass a valid non-None and non-empty
server_hostname value to SSLContext.wrap_bio(),
asyncio.create_connection(), or asyncio.loop.start_tls() and
certificate hostname verification will proceed as expected. Upgrading to
the latest version of Python or applying the patch only changes the
behavior from silently skipping hostname verification to raising a
ValueError, similar to SSLContext.wrap_socket(), when server_hostname
isn&#x27;t supplied.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-19445</id><title>CVE-2026-19445 · 9.2 Critical · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-19445"/><updated>2026-09-30T17:16:45Z</updated><summary>A remote, unauthenticated TLS client can make a server crash or call
through a freed pointer if its sni_callback assigns a different context to
SSLSocket.context (the documented way to select a certificate per server
name) and nothing else keeps the original ssl.SSLContext alive. Typical
cases are servers that create an SSLContext per connection or replace it
while connections are open; servers that wrap their listening socket with
it are not affected.


Mitigation: keep a reference to every SSLContext that sets sni_callback for
the lifetime of the server. TLS clients are not affected.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-12345</id><title>CVE-2026-12345 · 5.9 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-12345"/><updated>2026-09-29T18:17:14Z</updated><summary>The cleanup of tempfile.TemporaryDirectory is vulnerable to a race condition. An attacker who can modify the tree during cleanup can replace a directory with a symbolic link, causing files outside of the temporary directory to be deleted or have their permissions and file flags reset, with the privileges of the process performing the cleanup. Note that platforms where shutil.rmtree.avoids_symlink_attacks is false, remain affected, and file flags may still be reset outside of the tree on all platforms.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-82049</id><title>CVE-2026-82049 · 8.4 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-82049"/><updated>2026-09-14T19:17:50Z</updated><summary>In CPython 3.13 and earlier, the tarfile module&#x27;s data and tar extraction filters are vulnerable to crafted archives containing a hard link to a symbolic link. Such archives may cause extraction to modify the permissions or modification time of a file outside the destination directory, or expose the contents of that file within the extracted tree.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-87910</id><title>CVE-2026-87910 · 5.7 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-87910"/><updated>2026-09-11T18:16:59Z</updated><summary>When tarfile extracts a link on a system that doesn&#x27;t support links, it falls back to extracting a member from the archive. In this case, the filter function is run twice: once for the extracted member, and once with name set to the location of the link. For one of the calls, the return value was ignored. Instead, the member should be skipped if either call returns None.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-15310</id><title>CVE-2026-15310 · 2.1 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-15310"/><updated>2026-08-25T15:16:30Z</updated><summary>When decompressing crafted zip files using the bzip/LZMA/Zstandard 

compressions, Python could use an attacker-controlled size to 

pre-allocate memory, possibly resulting in memory exhaustion.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-19672</id><title>CVE-2026-19672 · 6.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-19672"/><updated>2026-08-19T16:17:06Z</updated><summary>The tarfile module&#x27;s tar and data
 extraction filters created directories outside the destination for 
members whose name leaves the destination and returns to it, such as ../evil/../dest/sub/file. The containment check used the resolved path, but intermediate directories were created from the name as given.

Only
 empty directories are created outside the destination. Member contents 
are still extracted inside it. To return to the destination the member&#x27;s
 name must contain the destination directory&#x27;s own final component, so 
extraction into a secure randomised directory is not affected.

This affects POSIX platforms only. On Windows, .. components are collapsed before the path reaches the filesystem, so the directories outside the destination are never created.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-15806</id><title>CVE-2026-15806 · 6.0 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-15806"/><updated>2026-08-18T16:17:02Z</updated><summary>The HTTPPasswordMgr class in the urllib.request module, along with its subclasses HTTPPasswordMgrWithDefaultRealm and HTTPPasswordMgrWithPriorAuth, did not take the URL scheme into account when matching stored credentials against a requested URL. Credentials added for an https:// URL were also used for requests to the same host over http://, so an attacker able to redirect or downgrade a client to plain HTTP (for example, via an HTTPS-to-HTTP redirect or an on-path position) could capture credentials in cleartext. Credentials added for http:// URLs could likewise be sent over https://.

Credential matching is now scoped by URL scheme. Credentials registered with a URL that includes a scheme are only used for requests with the same scheme. Credentials registered with a bare authority (such as example.com or example.com:8080) continue to match any scheme, preserving compatibility with existing code, including proxy authentication.

Users who cannot upgrade immediately can mitigate by ensuring that applications never make plain http:// requests to hosts for which credentials are registered, for example by not following redirects to http:// URLs.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-17084</id><title>CVE-2026-17084 · 6.0 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-17084"/><updated>2026-08-18T14:16:56Z</updated><summary>The &quot;stringprep&quot; module didn&#x27;t process characters from RFC 3454 tables 
B.2 or B.3 correctly: the latest Unicode codepoint attributes were used 
instead of the specified Unicode 3.2.0. This behavior would cause 
mismatches when processing domain names using IDNA 2003 (the &quot;idna&quot; 
codec) and the in_table_b2() function of the &quot;stringprep&quot; module. This 
only affects domain names containing characters that were not previously
 registered or had their Unicode attributes such as case-folding 
behavior updated since Unicode 3.2.0.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-18503</id><title>CVE-2026-18503 · 2.4 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-18503"/><updated>2026-08-10T14:17:21Z</updated><summary>Attacker-controlled CSV samples can trigger super-linear 
regular-expression work during dialect sniffing and consume significant 
CPU when applications pass unbounded input to csv.Sniffer.sniff().</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-6879</id><title>CVE-2026-6879 · 2.0 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-6879"/><updated>2026-07-28T15:17:51Z</updated><summary>`Element.findall()` and fully-consumed `Element.iterfind()` exhibit `O(n^2)` time complexity when using XPath index predicates (e.g. `[1]`, `[last()]`, `[last()-N]`) on XML documents with many same-tag siblings. `Element.find()` is only affected when the first match is near the end  of the sibling list, such as with `[last()]` or `[last()-N]`;  `.//item[1]` short-circuits after the first match.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-15308</id><title>CVE-2026-15308 · 7.5 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-15308"/><updated>2026-07-09T17:16:58Z</updated><summary>The incremental HTML parser (html.parser.HTMLParser) allows for CPU
denial-of-service through repeated unterminated markup declarations when
processing uncontrolled data.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-4360</id><title>CVE-2026-4360 · 5.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-4360"/><updated>2026-06-30T15:16:57Z</updated><summary>In the Tarfile.extract() function, the filter parameter is not passed properly when extracting hardlinks. An affected system that extracts content from untrusted tar files could end up writing files with an unexpected uid/gid despite the user passing filter=&#x27;data&#x27; to the extract() function.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-11972</id><title>CVE-2026-11972 · 8.2 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-11972"/><updated>2026-06-23T23:16:49Z</updated><summary>When using the &quot;tarfile&quot; module with a file opened in &quot;streaming mode&quot; (mode=&quot;r|&quot;) the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-0864</id><title>CVE-2026-0864 · 5.5 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-0864"/><updated>2026-06-23T18:17:41Z</updated><summary>When using the &quot;configparser&quot; module to write configuration files
containing multi-line text values with carriage return characters (\r) the
resulting file could be injected with unexpected keys and values if the
attacker controls the written value.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-11940</id><title>CVE-2026-11940 · 7.8 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-11940"/><updated>2026-06-23T17:16:40Z</updated><summary>tarfile.extractall() with the &#x27;data&#x27; or &#x27;tar&#x27;
 filter could be bypassed by a crafted archive where a hardlink 
references a symlink stored at a deeper name than the hardlink itself.  
The extraction fallback validated the symlink at it&#x27;s archived location 
but recreated it at the hardlink&#x27;s shallower
path, letting a relative
 target the filter judged contained escape the destination directory.  
This allowed a malicious tar archive to create a symlink pointing 
outside the destination, enabling out-of-destination file reads or 
writes. This was an incomplete fix of CVE-2025-4330.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-12003</id><title>CVE-2026-12003 · 5.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-12003"/><updated>2026-06-16T17:16:31Z</updated><summary>To allow builds of Python to be run from an in-tree layout (rather than
an installed file layout), the VPATH variable is defined at build time
and used to locate certain landmarks - specifically,
Modules/setup.local. When this landmark is found relative to VPATH
relative to the executable, Python assumes it is running in a source
tree and generates a different default sys.path. This code remains in
release builds, so that release-ready builds can be built in-tree.

On Windows, since builds are written to &#x27;PCbuild/&#x27;, the value of
VPATH is set to &#x27;..\..&#x27;, which results in a landmark of
&#x27;..\..\Modules\setup.local&#x27;. This path is outside the install directory
of Python, and may have different permissions, potentially allowing a
low-privilege user to create the landmark and an alternative `Lib`
folder that will be discovered by an otherwise restricted install.

Such a setup occurs with the legacy default install location for all
users (in the now superseded EXE installer), due to how Windows allows
all users to create folders in the root directory of their OS drive.

Our recommended mitigation on Windows is to migrate away from the
legacy installer and use the new [Python install
manager](https://www.python.org/downloads/latest/pymanager/) to install
for the current user. Installs where the directory two levels above the
Python installation directory have equivalent permissions are unaffected
(in general, a per-user install cannot be modified at all by other
users, removing any escalation of privilege risk, and could be directly
modified by a privileged user, making the potential tampering
irrelevant). Alternative mitigations might include preemptively creating
and restricting access to a `Modules` directory. Be aware that only 3.13
and 3.14 will receive updated legacy installers - earlier fixes are only
provided as sources.

Platforms other than Windows allow VPATH to be overridden, but as they
don&#x27;t usually use a separated directory in the build for binaries, are
unlikely to have a landmark reference outside of the install directory.

The landmark detection involving VPATH is a fallback for when a more
specific landmark - .\pybuilddir.txt - is absent, and was included for
compatibility. Future releases of Python will no longer include the
fallback, and so builds will need to generate or preserve the
pybuilddir.txt file in order to work in-tree. This landmark file has
been generated on Windows since 3.11, and on other platforms for longer.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-9669</id><title>CVE-2026-9669 · 8.2 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-9669"/><updated>2026-06-08T23:17:25Z</updated><summary>bz2.BZ2Decompressor objects could be reused after a decompression error. If an application caught the resulting OSError and retried with the same decompressor, crafted input could cause the decompressor to resume from an invalid internal state and perform out-of-bounds writes to a stack buffer. This could crash the process when processing untrusted data.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-7774</id><title>CVE-2026-7774 · 6.9 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-7774"/><updated>2026-06-04T16:16:42Z</updated><summary>tarfile.data_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like names, to redirect later archive members outside the intended extraction directory. This allowed a malicious tar archive to cause tarfile.extractall() to write files outside the destination directory, subject to the permissions of the extracting process.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-3276</id><title>CVE-2026-3276 · 6.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-3276"/><updated>2026-06-03T16:16:29Z</updated><summary>unicodedata.normalize() can take excessive CPU time when processing
specially crafted Unicode input containing long runs of combining characters
with alternating Canonical Combining Class values.
This affects all normalization forms.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-8328</id><title>CVE-2026-8328 · 5.9 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-8328"/><updated>2026-05-13T21:16:50Z</updated><summary>The ftpcp() function in Lib/ftplib.py was not updated when 
CVE-2021-4189 was fixed. While makepasv() was patched to replace 
server-supplied PASV host addresses with the actual peer address 
(getpeername()[0]), ftpcp() still calls parse227() directly and passes 
the raw attacker-controllable IP address and port to target.sendport(). This patch is related to CVE-2021-4189.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-7210</id><title>CVE-2026-7210 · 7.5 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-7210"/><updated>2026-05-11T18:16:42Z</updated><summary>`xml.parsers.expat` and `xml.etree.ElementTree` use insufficient entropy for Expat hash-flooding protection, which allows a crafted XML document to trigger hash flooding.\r\n\r\nFully mitigating this vulnerability requires both updating libexpat to 2.8.0 or later and applying this patch.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-3087</id><title>CVE-2026-3087 · 7.5 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-3087"/><updated>2026-04-27T21:16:42Z</updated><summary>If `shutil.unpack_archive()` is given a ZIP archive with an absolute Windows path containing a drive (`C:\\...`) then the archive will be extracted outside the target directory which is different than other operating systems. Only Windows is affected by this vulnerability.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-6019</id><title>CVE-2026-6019 · 6.1 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-6019"/><updated>2026-04-22T20:16:42Z</updated><summary>http.cookies.Morsel.js_output() returns an inline &lt;script&gt; snippet and only escapes &quot; for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence &lt;/script&gt; inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-3298</id><title>CVE-2026-3298 · 8.8 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-3298"/><updated>2026-04-21T15:16:37Z</updated><summary>The method &quot;sock_recvfrom_into()&quot; of &quot;asyncio.ProacterEventLoop&quot; (Windows only) was missing a boundary check for the data buffer when using nbytes parameter. This allowed for an out-of-bounds buffer write if data was larger than the buffer size. Non-Windows platforms are not affected.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-5713</id><title>CVE-2026-5713 · 5.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-5713"/><updated>2026-04-14T16:16:48Z</updated><summary>The &quot;profiling.sampling&quot; module (Python 3.15+) and &quot;asyncio introspection capabilities&quot; (3.14+, &quot;python -m asyncio ps&quot; and &quot;python -m asyncio pstree&quot;) features could be used to read and write addresses in a privileged process if that process connected to a malicious or &quot;infected&quot; Python process via the remote debugging feature. This vulnerability requires persistently and repeatedly connecting to the process to be exploited, even after the connecting process crashes with high likelihood due to ASLR.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-4786</id><title>CVE-2026-4786 · 7.1 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-4786"/><updated>2026-04-13T22:16:30Z</updated><summary>Mitgation of CVE-2026-4519 was incomplete. If the URL contained &quot;%action&quot; the mitigation could be bypassed for certain browser types the &quot;webbrowser.open()&quot; API could have commands injected into the underlying shell. See CVE-2026-4519 for details.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-6100</id><title>CVE-2026-6100 · 8.1 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-6100"/><updated>2026-04-13T18:16:31Z</updated><summary>Use-after-free (UAF) was possible in the `lzma.LZMADecompressor`, `bz2.BZ2Decompressor`, and `gzip.GzipFile` when a memory allocation fails with a `MemoryError` and the decompression instance is re-used. This scenario can be triggered if the process is under memory pressure. The fix cleans up the dangling pointer in this specific error condition.

The vulnerability is only present if the program re-uses decompressor instances across multiple decompression calls even after a `MemoryError` is raised during decompression. Using the helper functions to one-shot decompress data such as `lzma.decompress()`, `bz2.decompress()`, `gzip.decompress()`, and `zlib.decompress()` are not affected as a new decompressor instance is used per call. If the decompressor instance is not re-used after an error condition, this usage is similarly not vulnerable.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-3446</id><title>CVE-2026-3446 · 6.0 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-3446"/><updated>2026-04-10T19:16:26Z</updated><summary>When calling base64.b64decode() or related functions the decoding process would stop after encountering the first padded quad regardless of whether there was more information to be processed. This can lead to data being accepted which may be processed differently by other implementations. Use &quot;validate=True&quot; to enable stricter processing of base64 data.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-1502</id><title>CVE-2026-1502 · 5.7 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-1502"/><updated>2026-04-10T18:16:40Z</updated><summary>CR/LF bytes were not rejected by HTTP client proxy tunnel headers or host.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-5271</id><title>CVE-2026-5271 · 7.8 High · Python Software Foundation pymanager</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-5271"/><updated>2026-04-01T14:16:59Z</updated><summary>pymanager included the current working directory in sys.path meaning modules could be shadowed by modules in the current working directory. As a result, if a user executes a pymanager-generated command (e.g., pip, pytest)
 from an attacker-controlled directory, a malicious module in that 
directory can be imported and executed instead of the intended package.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-4519</id><title>CVE-2026-4519 · 3.3 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-4519"/><updated>2026-03-20T15:16:24Z</updated><summary>The webbrowser.open() API would accept leading dashes in the URL which 
could be handled as command line options for certain web browsers. New 
behavior rejects leading dashes. Users are recommended to sanitize URLs 
prior to passing to webbrowser.open().</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-3479</id><title>CVE-2026-3479 · 0.0 None · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-3479"/><updated>2026-03-18T19:16:06Z</updated><summary>DISPUTED: The project has clarified that the documentation was incorrect, and that pkgutil.get_data() has the same security model as open(). The documentation has been updated to clarify this point. There is no vulnerability in the function if following the intended security model.

pkgutil.get_data() did not validate the resource argument as documented, allowing path traversals.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-4224</id><title>CVE-2026-4224 · 7.5 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-4224"/><updated>2026-03-16T18:16:10Z</updated><summary>When an Expat parser with a registered ElementDeclHandler parses an inline
document type definition containing a deeply nested content model a C stack
overflow occurs.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-3644</id><title>CVE-2026-3644 · 7.5 High · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-3644"/><updated>2026-03-16T18:16:09Z</updated><summary>The fix for CVE-2026-0672, which rejected control characters in http.cookies.Morsel, was incomplete. The Morsel.update(), |= operator, and unpickling paths were not patched, allowing control characters to bypass input validation. Additionally, BaseCookie.js_output() lacked the output validation applied to BaseCookie.output().</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2025-13462</id><title>CVE-2025-13462 · 3.3 Low · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2025-13462"/><updated>2026-03-12T18:16:21Z</updated><summary>The &quot;tarfile&quot; module would still apply normalization of AREGTYPE (\x00) blocks to DIRTYPE, even while processing a multi-block member such as GNUTYPE_LONGNAME or GNUTYPE_LONGLINK. This could result in a crafted tar archive being misinterpreted by the tarfile module compared to other implementations.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-2297</id><title>CVE-2026-2297 · 5.5 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-2297"/><updated>2026-03-04T23:16:10Z</updated><summary>The import hook in CPython that handles legacy *.pyc files (SourcelessFileLoader) is incorrectly handled in FileLoader (a base class) and so does not use io.open_code() to read the .pyc files. sys.audit handlers for this audit event therefore do not fire.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2026-1299</id><title>CVE-2026-1299 · 6.0 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2026-1299"/><updated>2026-01-23T17:16:12Z</updated><summary>The 
email module, specifically the &quot;BytesGenerator&quot; class, didn’t properly quote newlines for email headers when 
serializing an email message allowing for header injection when an email
 is serialized. This is only applicable if using &quot;LiteralHeader&quot; writing headers that don&#x27;t respect email folding rules, the new behavior will reject the incorrectly folded headers in &quot;BytesGenerator&quot;.</summary></entry><entry><id>tag:sadrobot.eu,2026:CVE-2025-12781</id><title>CVE-2025-12781 · 5.3 Medium · Python Software Foundation CPython</title><link href="https://nvd.nist.gov/vuln/detail/CVE-2025-12781"/><updated>2026-01-21T20:16:04Z</updated><summary>When passing data to the b64decode(), standard_b64decode(), and urlsafe_b64decode() functions in the &quot;base64&quot; module the characters &quot;+/&quot; will always be accepted, regardless of the value of &quot;altchars&quot; parameter, typically used to establish an &quot;alternative base64 alphabet&quot; such as the URL safe alphabet. This behavior matches what is recommended in earlier base64 RFCs, but newer RFCs now recommend either dropping characters outside the specified base64 alphabet or raising an error. The old behavior has the possibility of causing data integrity issues.




This behavior can only be insecure if your application uses an alternate base64 alphabet (without &quot;+/&quot;). If your application does not use the &quot;altchars&quot; parameter or the urlsafe_b64decode() function, then your application does not use an alternative base64 alphabet.




The attached patches DOES NOT make the base64-decode behavior raise an error, as this would be a change in behavior and break existing programs. Instead, the patch deprecates the behavior which will be replaced with the newly recommended behavior in a future version of Python. Users are recommended to mitigate by verifying user-controlled inputs match the base64 
alphabet they are expecting or verify that their application would not be 
affected if the b64decode() functions accepted &quot;+&quot; or &quot;/&quot; outside of altchars.</summary></entry></feed>
