HAProxy Ingress Controller
CVE-2025-59303
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain create/update RBAC on Ingress
-
DeliverySubmit Ingress with crafted config snippet
-
ExploitController processes snippet with config-snippets enabled
-
ExecutionIngress token secret returned in response
-
ImpactReuse leaked secret to escalate access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input filtering completeness
|
| Exploitation Conditions | Exploitation requires two specific preconditions: (1) the HAProxy Kubernetes Ingress Controller must be running with the non-default 'config-snippets' feature flag enabled, and (2) the attacker must already possess Kubernetes RBAC create/update permissions on Ingress resources (PR:L). When both hold, submitting a config snippet causes the controller to return the ingress token secret in its response. Limiting factors that reduce real-world risk: the config-snippets flag is an opt-in feature not enabled by default, and the attacker needs a legitimate (or compromised) authenticated identity with write access to Ingress objects - anonymous or read-only accounts cannot exploit this. Affected versions are before 3.1.13; the issue is remediated in HAProxy Enterprise Kubernetes Ingress Controller 3.0.16-ee1, 1.11.13-ee1, and 1.9.15-ee1. |
| Impact | This is a moderate-priority, configuration-dependent information disclosure rather than a widespread emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4) indicates a network-reachable flaw requiring low privileges and no user interaction, with a scope change (S:C) reflecting that the attacker crosses from their namespaced RBAC role into the controller's trust boundary to retrieve a secret it manages. Crucially, PR:L confirms the attacker must already hold create/update permissions on Ingress resources - this is an authenticated, privileged-insider or compromised-service-account scenario, not anonymous remote exploitation. The EPSS score is low (0.26%, 16th percentile), there is no CISA KEV listing, and no public exploit has been identified, all of which align: this is a recently disclosed, niche-precondition issue unlikely to see mass scanning. The single material caveat is the non-default precondition - exploitation only applies when the 'config-snippets' feature flag is enabled - which the CVSS base vector does not express and which materially lowers real-world exposure below what the 6.4 score alone suggests. No conflicting signals were found across sources; the chief limitation is the thinness of sourcing (a single vendor blog reference). |
| Exploit ScenarioDerived | In a cluster where the HAProxy Kubernetes Ingress Controller is deployed with the config-snippets feature flag enabled, an attacker who already holds create/update permissions on Ingress objects (e.g., a tenant in a multi-tenant cluster or a compromised namespaced service account) submits a crafted Ingress with a malicious config snippet. The controller's handling of the snippet returns the ingress token secret in its response, exposing a credential the attacker's role should never see. No public proof-of-concept is currently available, and low attack complexity means the request itself is trivial once the privilege and configuration preconditions are met. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Information disclosure in HAProxy Kubernetes Ingress Controller before 3.1.13 allows an authenticated attacker with Kubernetes RBAC create/update permissions on Ingress resources to obtain an ingress token secret when the non-default config-snippets feature flag is enabled. Exploitation requires two specific preconditions: the config-snippets feature flag must be active, and the attacker must already possess create/update permissions on Ingress objects. No public exploit code has been identified, and the EPSS score is 0.26% (16th percentile), indicating low likelihood of exploitation. The issue is fixed in version 3.1.13 for the open-source controller and in enterprise versions 3.0.16-ee1, 1.11.13-ee1, and 1.9.15-ee1.
RemediationAI
Upgrade to HAProxy Kubernetes Ingress Controller 3.1.13 or later (open source) or to the corresponding fixed enterprise releases: 3.0.16-ee1, 1.11.13-ee1, or 1.9.15-ee1. If immediate upgrade is not possible, disable the config-snippets feature flag; note that this may remove intended customization capability. Additionally, restrict Kubernetes RBAC permissions so that only highly trusted users have create/update rights on Ingress resources, and monitor audit logs for unexpected config snippet submissions. Refer to the vendor advisory at https://haproxy.com/blog/cve-2025-59303-haproxy-kubernetes-ingress-controller-secret-leak for details.
Affected ProductsAI
HAProxy Kubernetes Ingress Controller versions before 3.1.13 are affected when the config-snippets feature flag is enabled. HAProxy Enterprise Kubernetes Ingress Controller versions prior to 3.0.16-ee1, 1.11.13-ee1, and 1.9.15-ee1 are also vulnerable. The feature flag is not enabled by default, reducing the attack surface. For details, see the vendor advisory at https://haproxy.com/blog/cve-2025-59303-haproxy-kubernetes-ingress-controller-secret-leak.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The HAProxy Kubernetes Ingress Controller manages HAProxy configuration based on Kubernetes Ingress resources. When the config-snippets feature flag is enabled, users with create/update permissions on Ingress objects can inject custom HAProxy configuration snippets. Due to improper handling (CWE-791: Incomplete Filtering of Special Elements), the controller may include the ingress token secret in its response when processing such snippets. This secret could be used to further compromise the cluster. The vulnerability is configuration-dependent and requires the non-default feature flag to be active. Affected versions are before 3.1.13; the enterprise versions are fixed as noted.
Know when Haproxy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attacker needs create/update Ingress RBAC (PR:L); the leak crosses from a namespaced role into the controller's secret, so S:C; limited token disclosure gives C:L, snippet injection I:L.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
HAProxy Kubernetes Ingress Controller before 3.1.13, when the config-snippets feature flag is used, accepts config snippets from users with create/update permissions. This can result in obtaining an ingress token secret as a response. The fixed versions of HAProxy Enterprise Kubernetes Ingress Controller are 3.0.16-ee1, 1.11.13-ee1, and 1.9.15-ee1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
HAproxy 1.6.x before 1.6.6, when a deny comes from a reqdeny rule, allows remote attackers to cause a denial of service
An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request
A flaw was found in HAProxy before 2.0.6. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no
headerv2.go in mastercactapus proxyprotocol before 0.0.2, as used in the mastercactapus caddy-proxyprotocol plugin throu
HAProxy through 2.0.2 allows attackers to cause a denial of service (ha_panic) via vectors related to htx_manage_client_
HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2
The HAProxy package before 0.59_16 for pfSense has XSS via the desc (aka Description) or table_actionsaclN parameter, re
Unauthenticated remote attackers can gain full administrative control of the HAProxy Data Plane API - and through it the
The HTTP/2 implementation in HAProxy before 2.0.10 mishandles headers, as demonstrated by carriage return (CR, ASCII 0xd
HAProxy before 2.7.3 may allow a bypass of access control because HTTP/1 headers are inadvertently lost in some situatio
FastCGI framing desynchronization in HAProxy through 3.4.0 stems from a 16-bit integer overflow in the fcgi_conn demux r
Multiple integer overflows in the http_request_forward_body function in proto_http.c in HAProxy 1.5-dev23 before 1.5.4 a
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB