CVSS 3.1
6.4 mediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NMedium (6.4) in haproxy haproxy kubernetes ingress controller. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:NExplain CVE-2025-59303 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59303?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59303?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59303 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| HAProxy Kubernetes Ingress Controller | before 3.1.13 |
Red Hat rates this Moderate.
This flaw is rated MODERATE primarily because successful exploitation requires the attacker to possess existing privileges allowing them to create or modify Ingress or Service objects in a cluster environment. The core flaw is a configuration injection weakness where the KIC's config-snippets feature can be misused to embed arbitrary HAProxy directives that are not properly sanitized. This malicious code allows an attacker to access environment variables, specifically the highly sensitive Kubernetes service account token secret, which is available to the ingress controller pod. Obtaining this token permits an authenticated user to perform privilege escalation and access cluster data.
So essentially, for a product to be affected, it has to both ship the base haproxy RPM and run it in the Kubernetes Ingres Controller.
Disabling the config-snippets feature before starting the Ingres Controller is a useful mitigation for this vulnerability.
This can be done by starting the Ingres Controller with the following flag:
--disable-config-snippets
Upgrade to version 3.2 and above to fix this issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 5 | haproxy | Out of support scope | |
| Red Hat Enterprise Linux 10 | haproxy | Affected | |
| Red Hat Enterprise Linux 7 | haproxy | Affected | |
| Red Hat Enterprise Linux 8 | haproxy | Affected | |
| Red Hat Enterprise Linux 9 | haproxy | Affected | |
| Red Hat Hardened Images | haproxy | Not affected | |
| Red Hat OpenShift Container Platform 4 | haproxy | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59303.