CVE-2025-59303
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHAProxy 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHAProxy Kubernetes Ingress Controller before 3.1.13 contains an improper authorization vulnerability when the config-snippets feature flag is enabled. Users with create/update permissions on ingress resources can inject config snippets that trigger the exposure of ingress token secrets in the API response, allowing privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify HAProxy Ingress Controller versionRun 'kubectl get deployment -n haproxy-controller -o jsonpath="{.items[*].spec.template.spec.containers[0].image}"' or check the Helm chart/app version in your deploymentAffected if Version is before 3.1.13, or EE versions before 3.0.16-ee1, 1.11.13-ee1, or 1.9.15-ee1
-
Verify config-snippets feature flag is enabledCheck the HAProxy Ingress Controller deployment flags: look for '--feature-flags' or similar configuration containing 'config-snippets', or inspect the ConfigMap/CRD that controls feature flagsAffected if The config-snippets feature flag is present and enabled in the controller configuration
-
Inspect ingress resources for config-snippets usageRun 'kubectl get ingress -A -o json' and search for annotations containing 'config-snippet' or 'ingress.class' related to HAProxyAffected if Any ingress resources contain config-snippets annotations with user-defined content
-
Review RBAC permissions for ingress create/updateCheck clusterrole/bindings with 'kubectl get clusterrole -o yaml | grep -A5 ingress' or review Role-based access control bindings to identify which users/groups can create or update ingress resourcesAffected if Non-admin users or service accounts have create/update permissions on ingress resources in any namespace
-
Check for unexpected secret exposure in API responsesReview ingress API responses or controller logs for token secrets being returned in places they should not be, or audit recent ingress modifications for suspicious annotationsAffected if Ingress API responses contain token secrets or configuration data that should not be exposed to the requesting user
You are affected if your HAProxy Kubernetes Ingress Controller version is below 3.1.13 AND the config-snippets feature flag is enabled AND users with ingress create/update permissions exist in your cluster.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade HAProxy Kubernetes Ingress Controller to version 3.1.13 or later (or the specific EE versions 3.0.16-ee1, 1.11.13-ee1, 1.9.15-ee1). Until patched, restrict or disable the config-snippets feature flag and limit ingress create/update permissions to trusted administrators only.
3.0.16-ee1, 1.11.13-ee1, or 1.9.15-ee1 (Enterprise versions)
- Identify the currently deployed HAProxy Kubernetes Ingress Controller version using 'kubectl get deployment -n <ingress-namespace>' or 'helm list'
- Check if the config-snippets feature flag is enabled in your deployment configuration
- Upgrade to the appropriate fixed version: If current version is 3.x, upgrade to 3.0.16-ee1; If current version is 1.11.x, upgrade to 1.11.13-ee1; If current version is 1.9.x or earlier, upgrade to 1.9.15-ee1
- Apply the upgrade via Helm or kubectl depending on your deployment method
- After upgrade, verify the controller is running: 'kubectl get pods -n <ingress-namespace>' and check the version in the container logs
- If config-snippets feature is not explicitly required, consider disabling it to reduce attack surface
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-59303 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-59303 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data