CWE-791Weakness · CWE-791

CVE-2025-59303

MEDIUM · 6.4 CVSS v3.1 Published 2025-10-08
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
70/100
Remediation priority · Elevated
Remotely reachable Zero-click

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 · unedited
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.

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 confidence

HAProxy 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.

MitigationUpgrade 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.

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify HAProxy Ingress Controller version
    Run 'kubectl get deployment -n haproxy-controller -o jsonpath="{.items[*].spec.template.spec.containers[0].image}"' or check the Helm chart/app version in your deployment
    Affected if Version is before 3.1.13, or EE versions before 3.0.16-ee1, 1.11.13-ee1, or 1.9.15-ee1
  2. Verify config-snippets feature flag is enabled
    Check the HAProxy Ingress Controller deployment flags: look for '--feature-flags' or similar configuration containing 'config-snippets', or inspect the ConfigMap/CRD that controls feature flags
    Affected if The config-snippets feature flag is present and enabled in the controller configuration
  3. Inspect ingress resources for config-snippets usage
    Run 'kubectl get ingress -A -o json' and search for annotations containing 'config-snippet' or 'ingress.class' related to HAProxy
    Affected if Any ingress resources contain config-snippets annotations with user-defined content
  4. Review RBAC permissions for ingress create/update
    Check 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 resources
    Affected if Non-admin users or service accounts have create/update permissions on ingress resources in any namespace
  5. Check for unexpected secret exposure in API responses
    Review ingress API responses or controller logs for token secrets being returned in places they should not be, or audit recent ingress modifications for suspicious annotations
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade 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.

Recommended fix High confidence

3.0.16-ee1, 1.11.13-ee1, or 1.9.15-ee1 (Enterprise versions)

  1. Identify the currently deployed HAProxy Kubernetes Ingress Controller version using 'kubectl get deployment -n <ingress-namespace>' or 'helm list'
  2. Check if the config-snippets feature flag is enabled in your deployment configuration
  3. 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
  4. Apply the upgrade via Helm or kubectl depending on your deployment method
  5. After upgrade, verify the controller is running: 'kubectl get pods -n <ingress-namespace>' and check the version in the container logs
  6. If config-snippets feature is not explicitly required, consider disabling it to reduce attack surface
Caveat Upgrade to 3.0.x from 2.x or earlier may have breaking changes; review HAProxy KIC changelog before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get help mitigating

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 locally
dbcve dependency scanner

Check 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-59303 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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