Skip to content

twine-6.2.0-py3-none-any.whl: 8 vulnerabilities (highest severity is: 8.6) #261

@mend-for-github-com

Description

@mend-for-github-com
Vulnerable Library - twine-6.2.0-py3-none-any.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/pygments-2.19.2-py3-none-any.whl

Vulnerabilities

Vulnerability Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (twine version) Remediation Possible** Reachability
CVE-2026-23949 High 8.6 Not Defined 0.1% jaraco.context-6.0.1-py3-none-any.whl Transitive N/A*
CVE-2026-21441 High 8.6 Not Defined 0.0% urllib3-2.5.0-py3-none-any.whl Transitive N/A*
CVE-2025-66471 High 8.6 Not Defined 0.0% urllib3-2.5.0-py3-none-any.whl Transitive N/A*
CVE-2025-66418 High 8.6 Not Defined 0.0% urllib3-2.5.0-py3-none-any.whl Transitive N/A*
CVE-2026-26007 Medium 5.9 Not Defined 0.0% cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl Transitive N/A*
CVE-2026-39892 Medium 5.3 Not Defined cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl Transitive N/A*
CVE-2026-34073 Low 3.7 Not Defined 0.0% cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl Transitive N/A*
CVE-2026-4539 Low 3.3 Proof of concept 0.0% pygments-2.19.2-py3-none-any.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2026-23949

Vulnerable Library - jaraco.context-6.0.1-py3-none-any.whl

Useful decorators and context managers

Library home page: https://files.pythonhosted.org/packages/ff/db/0c52c4cf5e4bd9f5d7135ec7669a3a767af21b3a308e1ed3674881e52b62/jaraco.context-6.0.1-py3-none-any.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/jaraco.context-6.0.1-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • keyring-25.6.0-py3-none-any.whl
      • jaraco.context-6.0.1-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

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 with multi-level tar files such as "dummy_dir/inner.tar.gz", where the inner.tar.gz includes a traversal "dummy_dir/../../config/.env" that also gets translated to "../../config/.env". Version 6.1.0 contains a patch for the issue.

Publish Date: 2026-01-20

URL: CVE-2026-23949

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-01-20

Fix Resolution: jaraco.context - 6.1.0,https://github.com/jaraco/jaraco.context.git - v6.1.0

CVE-2026-21441

Vulnerable Library - urllib3-2.5.0-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • urllib3-2.5.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

urllib3 is an HTTP client library for Python. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. urllib3 can perform decoding or decompression based on the HTTP "Content-Encoding" header (e.g., "gzip", "deflate", "br", or "zstd"). When using the streaming API, the library decompresses only the necessary bytes, enabling partial content consumption. Starting in version 1.22 and prior to version 2.6.3, for HTTP redirect responses, the library would read the entire response body to drain the connection and decompress the content unnecessarily. This decompression occurred even before any read methods were called, and configured read limits did not restrict the amount of decompressed data. As a result, there was no safeguard against decompression bombs. A malicious server could exploit this to trigger excessive resource consumption on the client. Applications and libraries are affected when they stream content from untrusted sources by setting "preload_content=False" when they do not disable redirects. Users should upgrade to at least urllib3 v2.6.3, in which the library does not decode content of redirect responses when "preload_content=False". If upgrading is not immediately possible, disable redirects by setting "redirect=False" for requests to untrusted source.

Publish Date: 2026-01-07

URL: CVE-2026-21441

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-38jv-5279-wg99

Release Date: 2026-01-07

Fix Resolution: urllib3 - 2.6.3,https://github.com/urllib3/urllib3.git - 2.6.3,urllib3 - 2.6.3

CVE-2025-66471

Vulnerable Library - urllib3-2.5.0-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • urllib3-2.5.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data.

Publish Date: 2025-12-05

URL: CVE-2025-66471

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-2xpw-w6gg-jr37

Release Date: 2025-12-05

Fix Resolution: urllib3 - 2.6.0,https://github.com/urllib3/urllib3.git - 2.6.0

CVE-2025-66418

Vulnerable Library - urllib3-2.5.0-py3-none-any.whl

HTTP library with thread-safe connection pooling, file post, and more.

Library home page: https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl

Path to dependency file: /sample/HelloWorld/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl,/tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/urllib3-2.5.0-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • urllib3-2.5.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.24 and prior to 2.6.0, the number of links in the decompression chain was unbounded allowing a malicious server to insert a virtually unlimited number of compression steps leading to high CPU usage and massive memory allocation for the decompressed data. This vulnerability is fixed in 2.6.0.

Publish Date: 2025-12-05

URL: CVE-2025-66418

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (8.6)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-12-05

Fix Resolution: https://github.com/urllib3/urllib3.git - 2.6.0,urllib3 - 2.6.0

CVE-2026-26007

Vulnerable Library - cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Library home page: https://files.pythonhosted.org/packages/94/0f/f66125ecf88e4cb5b8017ff43f3a87ede2d064cb54a1c5893f9da9d65093/cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • keyring-25.6.0-py3-none-any.whl
      • SecretStorage-3.3.3-py3-none-any.whl
        • cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to 46.0.5, the public_key_from_numbers (or EllipticCurvePublicNumbers.public_key()), EllipticCurvePublicNumbers.public_key(), load_der_public_key() and load_pem_public_key() functions do not verify that the point belongs to the expected prime-order subgroup of the curve. This missing validation allows an attacker to provide a public key point P from a small-order subgroup. This can lead to security issues in various situations, such as the most commonly used signature verification (ECDSA) and shared key negotiation (ECDH). When the victim computes the shared secret as S = [victim_private_key]P via ECDH, this leaks information about victim_private_key mod (small_subgroup_order). For curves with cofactor > 1, this reveals the least significant bits of the private key. When these weak public keys are used in ECDSA , it's easy to forge signatures on the small subgroup. Only SECT curves are impacted by this. This vulnerability is fixed in 46.0.5.

Publish Date: 2026-02-10

URL: CVE-2026-26007

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-r6ph-v2qm-q3c2

Release Date: 2026-02-10

Fix Resolution: cryptography - 46.0.5,https://github.com/pyca/cryptography.git - 46.0.5

CVE-2026-39892

Vulnerable Library - cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Library home page: https://files.pythonhosted.org/packages/94/0f/f66125ecf88e4cb5b8017ff43f3a87ede2d064cb54a1c5893f9da9d65093/cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • keyring-25.6.0-py3-none-any.whl
      • SecretStorage-3.3.3-py3-none-any.whl
        • cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. From 45.0.0 to before 46.0.7, if a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. This vulnerability is fixed in 46.0.7.

Publish Date: 2026-04-08

URL: CVE-2026-39892

Threat Assessment

Exploit Maturity: Not Defined

EPSS:

CVSS 3 Score Details (5.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-p423-j2cm-9vmq

Release Date: 2026-04-08

Fix Resolution: cryptography - 46.0.7,cryptography - 46.0.7

CVE-2026-34073

Vulnerable Library - cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Library home page: https://files.pythonhosted.org/packages/94/0f/f66125ecf88e4cb5b8017ff43f3a87ede2d064cb54a1c5893f9da9d65093/cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • keyring-25.6.0-py3-none-any.whl
      • SecretStorage-3.3.3-py3-none-any.whl
        • cryptography-46.0.1-cp38-abi3-manylinux_2_34_x86_64.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6.

Publish Date: 2026-03-31

URL: CVE-2026-34073

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.0%

CVSS 3 Score Details (3.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-m959-cc7f-wv43

Release Date: 2026-03-28

Fix Resolution: cryptography - 46.0.6

CVE-2026-4539

Vulnerable Library - pygments-2.19.2-py3-none-any.whl

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl

Path to dependency file: /test_requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250921182043_LPXROH/python_OMWQYE/20250921182044/pygments-2.19.2-py3-none-any.whl

Dependency Hierarchy:

  • twine-6.2.0-py3-none-any.whl (Root Library)
    • rich-14.1.0-py3-none-any.whl
      • pygments-2.19.2-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.

Publish Date: 2026-03-22

URL: CVE-2026-4539

Threat Assessment

Exploit Maturity: Proof of concept

EPSS: 0.0%

CVSS 3 Score Details (3.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-5239-wwwm-4pmq

Release Date: 2026-03-22

Fix Resolution: pygments - 2.20.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions