p PatchFirst

PatchFirst · Latest vulnerabilities

Python stack vulnerabilities · Page 135

Vulnerabilities published for Python in the last 30 days: 351. Listed in the KEV catalogue: 1.

Filter vulnerabilities
Python

Vulnerabilities: 7132

  1. CVE-2025-15367

    Medium · CVSS 5.9EPSS 0.38%Fix available

    POP3 command injection in user-controlled commands

    The poplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.

    • Update to 3.15.0a6
    Published Updated
  2. CVE-2025-15366

    Medium · CVSS 5.9EPSS 0.43%Fix available

    IMAP command injection in user-controlled commands

    The imaplib module, when passed a user-controlled command, can have additional commands injected using newlines. Mitigation rejects commands containing control characters.

    • Update to 3.13.15
    • Update to 3.14.7
    • Update to 3.14.7-1
    • Update to 3.15.0a6
    Published Updated
  3. CVE-2025-15282

    Medium · CVSS 6EPSS 0.54%Fix available

    Header injection via newlines in data URL mediatype

    User-controlled data URLs parsed by urllib.request.DataHandler allow injecting headers through newlines in the data URL mediatype.

    • Update to 2.7.12-1ubuntu0~16.04.18+esm19
    • Update to 2.7.17-1~18.04ubuntu1.13+esm14
    • Update to 2.7.6-8ubuntu0.6+esm29
    • Update to 3.10.12-1~22.04.14
    • Update to 3.10.20
    • Update to 3.11.15
    • Update to 3.11.2-6+deb12u7
    • Update to 3.12.13
    • Update to 3.13.12
    • Update to 3.13.5-2+deb13u1
    • Update to 3.14.3
    • Update to 3.14.3-1
    • Update to 3.15.0a6
    • Update to 3.4.3-1ubuntu1~14.04.7+esm19
    • Update to 3.5.2-2ubuntu0~16.04.13+esm21
    • Update to 3.5.2-2ubuntu0~16.04.4~14.04.1+esm9
    • Update to 3.6.9-1~18.04ubuntu1.13+esm8
    • Update to 3.7.5-2ubuntu1~18.04.2+esm9
    • Update to 3.8.0-3ubuntu1~18.04.2+esm9
    • Update to 3.8.10-0ubuntu1~20.04.18+esm5
    • Update to 3.9.5-3ubuntu0~20.04.1+esm9
    • Update to 7.3.21+dfsg-1
    Published Updated
  4. CVE-2026-0865

    Medium · CVSS 5.9EPSS 0.55%Fix available

    wsgiref.headers.Headers allows header newline injection

    User-controlled header names and values containing newlines can allow injecting HTTP headers.

    • Update to 2.7.12-1ubuntu0~16.04.18+esm19
    • Update to 2.7.17-1~18.04ubuntu1.13+esm14
    • Update to 2.7.6-8ubuntu0.6+esm29
    • Update to 3.10.12-1~22.04.14
    • Update to 3.10.20
    • Update to 3.11.15
    • Update to 3.11.2-6+deb12u7
    • Update to 3.12.13
    • Update to 3.13.12
    • Update to 3.13.5-2+deb13u1
    • Update to 3.14.3
    • Update to 3.14.3-1
    • Update to 3.15.0a6
    • Update to 3.4.3-1ubuntu1~14.04.7+esm19
    • Update to 3.5.2-2ubuntu0~16.04.13+esm21
    • Update to 3.5.2-2ubuntu0~16.04.4~14.04.1+esm9
    • Update to 3.6.9-1~18.04ubuntu1.13+esm8
    • Update to 3.7.5-2ubuntu1~18.04.2+esm9
    • Update to 3.8.0-3ubuntu1~18.04.2+esm9
    • Update to 3.8.10-0ubuntu1~20.04.18+esm5
    • Update to 3.9.5-3ubuntu0~20.04.1+esm9
    • Update to 7.3.21+dfsg-1
    Published Updated
  5. CVE-2025-11468

    Medium · CVSS 5.7EPSS 0.62%Fix available

    Folding email comments of unfoldable characters doesn't preserve parenthesis

    When folding a long comment in an email header containing exclusively unfoldable characters, the parenthesis would not be preserved. This could be used for injecting headers into email messages where addresses are user-controlled and not sanitized.

    • Update to 3.10.12-1~22.04.14
    • Update to 3.10.20
    • Update to 3.11.0~rc1-1~22.04.1~esm8
    • Update to 3.11.15
    • Update to 3.11.2-6+deb12u7
    • Update to 3.12.13
    • Update to 3.12.3-1ubuntu0.11
    • Update to 3.13.12
    • Update to 3.13.5-2+deb13u1
    • Update to 3.13.7-1ubuntu0.3
    • Update to 3.14.0-1ubuntu0.2
    • Update to 3.14.3
    • Update to 3.14.3-1
    • Update to 3.15.0a6
    • Update to 3.6.9-1~18.04ubuntu1.13+esm8
    • Update to 3.7.5-2ubuntu1~18.04.2+esm9
    • Update to 3.8.0-3ubuntu1~18.04.2+esm9
    • Update to 3.8.10-0ubuntu1~20.04.18+esm5
    • Update to 3.9.5-3ubuntu0~20.04.1+esm9
    • Update to 7.3.21+dfsg-1
    Published Updated
  6. CVE-2026-23949

    High · CVSS 8.6EPSS 0.63%Fix available

    jaraco.context Has a Path Traversal Vulnerability

    jaraco.context, an open-source software package that provides some useful decorators and context managers, has a Zip Slip path traversal vulnerability in the `jaraco.context.tarball()` function starting in version 5.2.0 and prior to version 6.1.0. The vulnerability may allow attackers to extract files outside the intended extraction directory when malicious tar archives are processed. The strip_first_component filter splits the path on the first `/` and extracts the second component, while allowing `../` sequences. Paths like `dummy_dir/../../etc/passwd` become `../../etc/passwd`. Note that this suffers from a nested tarball attack as well wi

    • Update to 6.0.1-1+deb13u1
    • Update to 6.0.1-1ubuntu0.1
    • Update to 6.0.1-2
    • Update to 6.1.0
    • Update to 84.0.0-2
    Published Updated
  7. CVE-2026-22219

    High · CVSS 8.3EPSS 5.17%Fix available

    Chainlit < 2.9.4 SQLAlchemy Data Layer SSRF via /project/element

    Chainlit versions prior to 2.9.4 contain a server-side request forgery (SSRF) vulnerability in the /project/element update flow when configured with the SQLAlchemy data layer backend. An authenticated client can provide a user-controlled url value in an Element, which is fetched by the SQLAlchemy element creation logic using an outbound HTTP GET request. This allows an attacker to make arbitrary HTTP requests from the Chainlit server to internal network services or cloud metadata endpoints and store the retrieved responses via the configured storage provider.

    • Update to 2.9.4
    Published Updated
  8. CVE-2026-22218

    High · CVSS 7.1EPSS 9.72%Fix available

    Chainlit < 2.9.4 Arbitrary File Read via /project/element

    Chainlit versions prior to 2.9.4 contain an arbitrary file read vulnerability in the /project/element update flow. An authenticated client can send a custom Element with a user-controlled path value, causing the server to copy the referenced file into the attacker’s session. The resulting element identifier (chainlitKey) can then be used to retrieve the file contents via /project/file/<chainlitKey>, allowing disclosure of any file readable by the Chainlit service.

    • Update to 2.9.4
    Published Updated
  9. CVE-2026-23877

    Medium · CVSS 5.3EPSS 0.6%Fix available

    Directory Traversal & Filesystem can be accessed by a non-admin user

    Swing Music is a self-hosted music player for local audio files. Prior to version 2.1.4, Swing Music's `list_folders()` function in the `/folder/dir-browser` endpoint is vulnerable to directory traversal attacks. Any authenticated user (including non-admin) can browse arbitrary directories on the server filesystem. Version 2.1.4 fixes the issue.

    • Update to 2.1.4
    Published Updated
  10. CVE-2026-23842

    High · CVSS 7.5EPSS 0.54%Fix available

    ChatterBot has Denial of Service via Database Connection Pool Exhaustion

    ChatterBot is a machine learning, conversational dialog engine for creating chat bots. ChatterBot versions up to 1.2.10 are vulnerable to a denial-of-service condition caused by improper database session and connection pool management. Concurrent invocations of the get_response() method can exhaust the underlying SQLAlchemy connection pool, resulting in persistent service unavailability and requiring a manual restart to recover. Version 1.2.11 fixes the issue.

    • Update to 1.2.11
    Published Updated
  11. CVE-2026-23833

    Low · CVSS 1.7EPSS 0.3%Fix available

    ESPHome vulnerable to denial-of-service via out-of-bounds check bypass in the API component

    ESPHome is a system to control microcontrollers remotely through Home Automation systems. In versions 2025.9.0 through 2025.12.6, an integer overflow in the API component's protobuf decoder allows denial-of-service attacks when API encryption is not used. The bounds check `ptr + field_length > end` in `components/api/proto.cpp` can overflow when a malicious client sends a large `field_length` value. This affects all ESPHome device platforms (ESP32, ESP8266, RP2040, LibreTiny). The overflow bypasses the out-of-bounds check, causing the device to read invalid memory and crash. When using the plaintext API protocol, this attack can be performed

    • Update to 2025.12.7
    Published Updated
  12. CVE-2025-68616

    High · CVSS 7.5EPSS 0.7%Fix available

    WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect

    WeasyPrint helps web developers to create PDF documents. Prior to version 68.0, a server-side request forgery (SSRF) protection bypass exists in WeasyPrint's `default_url_fetcher`. The vulnerability allows attackers to access internal network resources (such as `localhost` services or cloud metadata endpoints) even when a developer has implemented a custom `url_fetcher` to block such access. This occurs because the underlying `urllib` library follows HTTP redirects automatically without re-validating the new destination against the developer's security policy. Version 68.0 contains a patch for the issue.

    • Update to 68.0
    • Update to 69.0-1
    Published Updated
  13. CVE-2026-23535

    High · CVSS 8.1EPSS 0.39%Fix available

    wlc Path traversal: Unsanitized API slugs in download command

    wlc is a Weblate command-line client using Weblate's REST API. Prior to 1.17.2, the multi-translation download could write to an arbitrary location when instructed by a crafted server. This vulnerability is fixed in 1.17.2.

    • Update to 1.17.2
    • Update to 1.17.2-1
    Published Updated
  14. CVE-2026-23490

    High · CVSS 7.5EPSS 0.76%Fix available

    pyasn1 has a DoS vulnerability in decoder

    pyasn1 is a generic ASN.1 library for Python. Prior to 0.6.2, a Denial-of-Service issue has been found that leads to memory exhaustion from malformed RELATIVE-OID with excessive continuation octets. This vulnerability is fixed in 0.6.2.

    • Update to 0.1.7-1ubuntu2.1+esm1
    • Update to 0.1.9-1ubuntu0.1~esm1
    • Update to 0.4.2-3ubuntu0.18.04.1~esm1
    • Update to 0.4.2-3ubuntu0.20.04.1~esm1
    • Update to 0.4.8-1ubuntu0.1
    • Update to 0.4.8-3+deb12u1
    • Update to 0.4.8-4ubuntu0.1
    • Update to 0.6.1-1+deb13u1
    • Update to 0.6.1-1ubuntu0.1
    • Update to 0.6.2
    • Update to 0.6.2-1
    Published Updated
  15. CVE-2026-23528

    Medium · CVSS 5.3EPSS 0.23%Fix available

    Dask distributed Vulnerable to Remote Code Execution via Jupyter Proxy and Dashboard

    Dask distributed is a distributed task scheduler for Dask. Prior to 2026.1.0, when Jupyter Lab, jupyter-server-proxy, and Dask distributed are all run together, it is possible to craft a URL which will result in code being executed by Jupyter due to a cross-side-scripting (XSS) bug in the Dask dashboard. It is possible for attackers to craft a phishing URL that assumes Jupyter Lab and Dask may be running on localhost and using default ports. If a user clicks on the malicious link it will open an error page in the Dask Dashboard via the Jupyter Lab proxy which will cause code to be executed by the default Jupyter Python kernel. This vulnerabil

    • Update to 2024.12.1+ds-3
    • Update to 2026.1.0
    Published Updated
  16. CVE-2025-68675

    High · CVSS 7.5EPSS 1.88%Fix available

    Apache Airflow: proxy credentials for various providers might leak in task logs

    In Apache Airflow versions before 3.1.6, and 2.11.1 the proxies and proxy fields within a Connection may include proxy URLs containing embedded authentication information. These fields were not treated as sensitive by default and therefore were not automatically masked in log output. As a result, when such connections are rendered or printed to logs, proxy credentials embedded in these fields could be exposed. Users are recommended to upgrade to 3.1.6 or later for Airflow 3, and 2.11.1 or later for Airflow 2 which fixes this issue

    • Update to 2.11.1
    • Update to 3.1.6
    Published Updated
  17. CVE-2025-68438

    High · CVSS 7.5EPSS 0.62%Fix available

    Apache Airflow: Secrets in rendered templates could contain parts of sensitive values when truncated

    In Apache Airflow versions before 3.1.6, when rendered template fields in a Dag exceed [core] max_templated_field_length, sensitive values could be exposed in cleartext in the Rendered Templates UI. This occurred because serialization of those fields used a secrets masker instance that did not include user-registered mask_secret() patterns, so secrets were not reliably masked before truncation and display. Users are recommended to upgrade to 3.1.6 or later, which fixes this issue

    • Update to 3.1.6
    Published Updated
  18. CVE-2026-0897

    High · CVSS 7.1EPSS 0.33%Public exploitFix available

    Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata

    Allocation of Resources Without Limits or Throttling in the HDF5 weight loading component in Google Keras 3.0.0 through 3.13.0 on all platforms allows a remote attacker to cause a Denial of Service (DoS) through memory exhaustion and a crash of the Python interpreter via a crafted .keras archive containing a valid model.weights.h5 file whose dataset declares an extremely large shape.

    • Update to 3.12.1
    • Update to 3.13.1
    • Update to 3.13.2
    Published Updated
  19. CVE-2026-22779

    Medium · CVSS 6.3EPSS 0.37%Fix available

    BlackSheep ClientSession is vulnerable to CRLF injection

    BlackSheep is an asynchronous web framework to build event based web applications with Python. Prior to 2.4.6, the HTTP Client implementation in BlackSheep is vulnerable to CRLF injection. Missing headers validation makes it possible for an attacker to modify the HTTP requests (e.g. insert a new header) or even create a new HTTP request. Exploitation requires developers to pass unsanitized user input directly into headers.The server part is not affected because BlackSheep delegates to an underlying ASGI server handling of response headers. This vulnerability is fixed in 2.4.6.

    • Update to 2.4.6
    Published Updated
  20. CVE-2026-21889

    Low · CVSS 2.3EPSS 0.39%Fix available

    Weblate leaks information via screenshots

    Weblate is a web based localization tool. Prior to 5.15.2, the screenshot images were served directly by the HTTP server without proper access control. This could allow an unauthenticated user to access screenshots after guessing their filename. This vulnerability is fixed in 5.15.2.

    • Update to 5.15.2
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →