Vulnerabilities in pkg:pypi/feast

PACKAGE
Advisory Identifier: GHSA-34wm-4hw7-qfjv
Advisory Summary

CVE-2025-11157 is a HIGH (CVSS 7.8) feast vulnerable to deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Feast libraries in the PyPI ecosystem. The issue involves feast vulnerable to deserialization of untrusted data. Remediation is available by upgrading affected packages to version 0.54.0.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/feast

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/feast. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-34wm-4hw7-qfjv CVE-2025-11157 HIGH Feast vulnerable to Deserialization of Untrusted Data
GHSA-wxpc-2674-rxvw CVE-2024-11602 HIGH Feast Cross-Origin Resource Sharing vulnerability

CVE-2025-11157 at a Glance

CVE Identifier CVE-2025-11157
GHSA Identifier GHSA-34wm-4hw7-qfjv
Severity HIGH
CVSS v3.1 Base Score 7.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Feast
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-11157

To remediate this vulnerability, upgrade all affected Feast dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

feast fixed: 0.54.0
pip install feast>=0.54.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show feast

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-11157, inspect your installed packages using pip:

pip show feast

Analyze the terminal output to locate any version of Feast in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.54.0), your application is affected.

Note: The pip show feast command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Feast, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A high-severity remote code execution vulnerability exists in feast-dev/feast version 0.53.0, specifically in the Kubernetes materializer job located at `feast/sdk/python/feast/infra/compute_engines/kubernetes/main.py`. The vulnerability arises from the use of `yaml.load(..., Loader=yaml.Loader)` to deserialize `/var/feast/feature_store.yaml` and `/var/feast/materialization_config.yaml`. This method allows for the instantiation of arbitrary Python objects, enabling an attacker with the ability to modify these YAML files to execute OS commands on the worker pod. This vulnerability can be exploited before the configuration is validated, potentially leading to cluster takeover, data poisoning, and supply-chain sabotage.

CVE-2025-11157 Affected Feast Versions

1 component(s)
Fixed Versions:
0.54.0
Product / Package Ecosystem Affected Versions Fixed Version
feast
PyPI
< 0.54.0
0.54.0

References

Frequently Asked Questions

What is CVE-2025-11157?
CVE-2025-11157 is a security vulnerability in Feast involving Feast vulnerable to Deserialization of Untrusted Data under CWE-502: Deserialization of Untrusted Data.
Which Feast versions are affected?
Affected versions include releases prior to 0.54.0 across affected packages: feast.
What version fixes CVE-2025-11157?
Upgrading to 0.54.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is feast affected?
Yes, feast is affected in releases prior to 0.54.0. Upgrade your dependency to 0.54.0 or later.
What is the CVSS score of CVE-2025-11157?
CVE-2025-11157 has a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-11157?
CVE-2025-11157 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check PyPI dependencies for CVE-2025-11157?
Run the dependency tree command: 'pip show feast'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-34wm-4hw7-qfjv",
  "modified" : "2026-01-02T15:54:13Z",
  "published" : "2026-01-01T09:30:14Z",
  "aliases" : [ "CVE-2025-11157" ],
  "summary" : "Feast vulnerable to Deserialization of Untrusted Data",
  "details" : "A high-severity remote code execution vulnerability exists in feast-dev/feast version 0.53.0, specifically in the Kubernetes materializer job located at `feast/sdk/python/feast/infra/compute_engines/kubernetes/main.py`. The vulnerability arises from the use of `yaml.load(..., Loader=yaml.Loader)` to deserialize `/var/feast/feature_store.yaml` and `/var/feast/materialization_config.yaml`. This method allows for the instantiation of arbitrary Python objects, enabling an attacker with the ability to modify these YAML files to execute OS commands on the worker pod. This vulnerability can be exploited before the configuration is validated, potentially leading to cluster takeover, data poisoning, and supply-chain sabotage.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "feast"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.54.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-11157"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/feast-dev/feast/pull/5643"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/feast-dev/feast/commit/b2e37ff37953b68ae833f6874ab5bc510a4ca5fb"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/feast-dev/feast"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/46d4d585-b968-4a76-80ce-872bc5525564"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-02T15:54:13Z",
    "nvd_published_at" : "2026-01-01T07:16:00Z"
  }
}