CVE-2025-11157
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
feastPyPI | < 0.54.0 | 0.54.0 |
Affected products
1Patches
1b2e37ff37953chore: Use Safeload (#5643)
2 files changed · +3 −3
sdk/python/feast/infra/compute_engines/kubernetes/main.py+2 −2 modified@@ -67,10 +67,10 @@ def run(self): logging.basicConfig(level=logging.INFO) with open("/var/feast/feature_store.yaml") as f: - feast_config = yaml.load(f, Loader=yaml.Loader) + feast_config = yaml.safe_load(f) with open("/var/feast/materialization_config.yaml") as b: - materialization_cfg = yaml.load(b, Loader=yaml.Loader) + materialization_cfg = yaml.safe_load(b) config = RepoConfig(**feast_config) store = FeatureStore(config=config)
sdk/python/feast/protos/feast/core/FeatureService_pb2.pyi+1 −1 modified@@ -71,7 +71,7 @@ class FeatureServiceSpec(google.protobuf.message.Message): """Name of Feast project that this Feature Service belongs to.""" @property def features(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[feast.core.FeatureViewProjection_pb2.FeatureViewProjection]: - """Represents a projection that's to be applied on top of the FeatureView. + """Represents a projection that's to be applied on top of the FeatureView. Contains data such as the features to use from a FeatureView. """ @property
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5News mentions
0No linked articles in our index yet.