Skip to content

yfinance-0.2.27-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 7.5) #76

Description

@mend-bolt-for-github
Vulnerable Library - yfinance-0.2.27-py2.py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Found in HEAD commit: b2b2eb325dc81df00162fc7b87524324be1c6492

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (yfinance version) Remediation Possible**
CVE-2026-49477 High 7.5 soupsieve-2.4.1-py3-none-any.whl Transitive 0.2.28
CVE-2026-49476 High 7.5 soupsieve-2.4.1-py3-none-any.whl Transitive 0.2.28
CVE-2026-41066 High 7.5 lxml-4.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl Transitive 0.2.28

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

Details

CVE-2026-49477

Vulnerable Library - soupsieve-2.4.1-py3-none-any.whl

A modern CSS selector implementation for Beautiful Soup.

Library home page: https://files.pythonhosted.org/packages/49/37/673d6490efc51ec46d198c75903d99de59baffdd47aea3d071b80a9e4e89/soupsieve-2.4.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy:

  • yfinance-0.2.27-py2.py3-none-any.whl (Root Library)
    • beautifulsoup4-4.12.2-py3-none-any.whl
      • soupsieve-2.4.1-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: b2b2eb325dc81df00162fc7b87524324be1c6492

Found in base branch: main

Vulnerability Details

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value in soupsieve/css_parser.py, allowing an attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup .select() / .select_one() to cause CPU exhaustion and denial of service. This issue is fixed in version 2.8.4.

Publish Date: 2026-07-14

URL: CVE-2026-49477

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-836r-79rf-4m37

Release Date: 2026-07-09

Fix Resolution (soupsieve): 2.8.4

Direct dependency fix Resolution (yfinance): 0.2.28

Step up your Open Source Security Game with Mend here

CVE-2026-49476

Vulnerable Library - soupsieve-2.4.1-py3-none-any.whl

A modern CSS selector implementation for Beautiful Soup.

Library home page: https://files.pythonhosted.org/packages/49/37/673d6490efc51ec46d198c75903d99de59baffdd47aea3d071b80a9e4e89/soupsieve-2.4.1-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy:

  • yfinance-0.2.27-py2.py3-none-any.whl (Root Library)
    • beautifulsoup4-4.12.2-py3-none-any.whl
      • soupsieve-2.4.1-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: b2b2eb325dc81df00162fc7b87524324be1c6492

Found in base branch: main

Vulnerability Details

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve allocates unbounded memory when compiling large comma-separated selector lists, allowing an attacker who can supply a crafted selector string to soupsieve.compile() or Beautiful Soup .select() / .select_one() to allocate hundreds of megabytes of heap memory from a relatively small input and cause denial of service. This issue is fixed in version 2.8.4.

Publish Date: 2026-07-14

URL: CVE-2026-49476

CVSS 3 Score Details (7.5)

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: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-2wc2-fm75-p42x

Release Date: 2026-07-09

Fix Resolution (soupsieve): 2.8.4

Direct dependency fix Resolution (yfinance): 0.2.28

Step up your Open Source Security Game with Mend here

CVE-2026-41066

Vulnerable Library - lxml-4.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl

Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.

Library home page: https://files.pythonhosted.org/packages/06/d4/f95105414c4bf7e4c87ec5e3c600dd88909c628d77a2760c0e5ef186bba4/lxml-4.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy:

  • yfinance-0.2.27-py2.py3-none-any.whl (Root Library)
    • lxml-4.9.3-cp37-cp37m-manylinux_2_28_x86_64.whl (Vulnerable Library)

Found in HEAD commit: b2b2eb325dc81df00162fc7b87524324be1c6492

Found in base branch: main

Vulnerability Details

lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.

Publish Date: 2026-04-24

URL: CVE-2026-41066

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • 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-vfmq-68hx-4jfw

Release Date: 2026-04-22

Fix Resolution (lxml): 6.1.0

Direct dependency fix Resolution (yfinance): 0.2.28

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions