Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3288: CWE-20 Improper Input Validation in Kubernetes ingress-nginx

0
High
VulnerabilityCVE-2026-3288cvecve-2026-3288cwe-20
Published: Mon Mar 09 2026 (03/09/2026, 21:00:48 UTC)
Source: CVE Database V5
Vendor/Project: Kubernetes
Product: ingress-nginx

Description

A security issue was discovered in ingress-nginx where the `nginx.ingress.kubernetes.io/rewrite-target` Ingress annotation can be used to inject configuration into nginx. This can lead to arbitrary code execution in the context of the ingress-nginx controller, and disclosure of Secrets accessible to the controller. (Note that in the default installation, the controller can access all Secrets cluster-wide.)

AI-Powered Analysis

AILast updated: 03/09/2026, 21:33:36 UTC

Technical Analysis

CVE-2026-3288 is a vulnerability classified under CWE-20 (Improper Input Validation) found in the Kubernetes ingress-nginx controller. The issue arises from insufficient validation of the `nginx.ingress.kubernetes.io/rewrite-target` annotation in ingress resource definitions. This annotation is intended to rewrite request URIs but can be manipulated to inject arbitrary nginx configuration directives. Since ingress-nginx runs with elevated privileges and typically has access to all Kubernetes Secrets cluster-wide, an attacker who can create or modify ingress resources can exploit this flaw to execute arbitrary code within the ingress-nginx controller's context. This can lead to full compromise of the controller pod and unauthorized disclosure of sensitive secrets stored in the cluster. The vulnerability has a CVSS v3.1 score of 8.8, reflecting its high impact on confidentiality, integrity, and availability, with network attack vector, low attack complexity, and no user interaction required. While no public exploits are known yet, the potential for severe damage is significant. The vulnerability affects all versions of ingress-nginx prior to the patch release, making it critical for Kubernetes clusters relying on ingress-nginx for ingress traffic management to address promptly.

Potential Impact

The exploitation of CVE-2026-3288 can have severe consequences for organizations running Kubernetes clusters with ingress-nginx. Attackers gaining the ability to inject arbitrary nginx configuration can execute code within the ingress controller, potentially leading to full compromise of the ingress-nginx pod. Given that ingress-nginx often has cluster-wide access to Kubernetes Secrets, attackers can exfiltrate sensitive credentials, tokens, and other confidential data. This can facilitate lateral movement within the cluster, privilege escalation, and persistent access. The disruption or manipulation of ingress traffic can also impact application availability and integrity, potentially causing denial of service or data tampering. Organizations relying on ingress-nginx for critical production workloads face risks of data breaches, service outages, and compliance violations if this vulnerability is exploited.

Mitigation Recommendations

To mitigate CVE-2026-3288, organizations should immediately update ingress-nginx to the latest patched version once available. In the interim, restrict permissions to create or modify ingress resources to trusted administrators only, minimizing the risk of malicious annotation injection. Implement Kubernetes Role-Based Access Control (RBAC) policies to limit who can apply ingress annotations, especially the `rewrite-target` annotation. Monitor ingress resource changes and audit logs for suspicious modifications. Consider deploying network policies and pod security policies to restrict ingress-nginx pod capabilities and isolate it from sensitive secrets where feasible. Additionally, review and minimize the Secrets accessible to the ingress-nginx controller by using Kubernetes service accounts with least privilege. Employ runtime security tools to detect anomalous behavior in ingress-nginx pods. Finally, educate DevOps and security teams about the risks of annotation injection and enforce secure configuration management practices.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
kubernetes
Date Reserved
2026-02-26T16:47:50.459Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69af3955ea502d3aa8c59c87

Added to database: 3/9/2026, 9:19:17 PM

Last enriched: 3/9/2026, 9:33:36 PM

Last updated: 3/14/2026, 3:24:22 AM

Views: 397

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses