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-1580: CWE-20 Improper Input Validation in Kubernetes ingress-nginx

0
High
VulnerabilityCVE-2026-1580cvecve-2026-1580cwe-20
Published: Tue Feb 03 2026 (02/03/2026, 22:16:47 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/auth-method` 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

Machine-generated threat intelligence

AILast updated: 02/27/2026, 07:48:42 UTC

Technical Analysis

CVE-2026-1580 is a vulnerability in the Kubernetes ingress-nginx controller stemming from improper input validation (CWE-20) of the `nginx.ingress.kubernetes.io/auth-method` Ingress annotation. This annotation is intended to configure authentication methods for ingress resources, but due to insufficient validation, it 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 able to create or modify Ingress resources can exploit this flaw to execute arbitrary code within the ingress-nginx controller's process. This can lead to full compromise of the controller and unauthorized disclosure of Secrets, which may include credentials, tokens, or other sensitive data. The vulnerability has a CVSS 3.1 base score of 8.8, reflecting its network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability. Although no public exploits are known yet, the risk is significant given the widespread use of ingress-nginx in Kubernetes environments. The vulnerability affects all versions of ingress-nginx prior to the fix. The ingress-nginx controller's default permissions exacerbate the impact, as it can access Secrets cluster-wide, increasing the potential damage from exploitation.

Potential Impact

The exploitation of CVE-2026-1580 can have severe consequences for organizations running Kubernetes clusters with ingress-nginx. Attackers with the ability to create or modify Ingress resources can achieve remote code execution within the ingress-nginx controller, potentially gaining control over the cluster's ingress traffic management. This can lead to unauthorized access, manipulation, or disruption of services. Additionally, because the ingress-nginx controller typically has cluster-wide read access to Secrets, attackers can exfiltrate sensitive credentials, tokens, and configuration data, enabling further lateral movement or privilege escalation within the cluster. The compromise of ingress-nginx can also undermine the security of applications relying on it for ingress traffic, potentially exposing internal services to attackers. The overall impact includes loss of confidentiality, integrity, and availability of Kubernetes workloads and sensitive data, which can result in operational disruption, data breaches, and compliance violations.

Mitigation Recommendations

To mitigate CVE-2026-1580, organizations should immediately update ingress-nginx to a patched version once available from the official Kubernetes ingress-nginx project. Until a patch is applied, restrict the ability 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 permissions for users and service accounts, especially those who can modify ingress resources. Consider deploying admission controllers or validating webhooks that enforce strict validation of Ingress annotations to detect and block suspicious or malformed configurations. Monitor ingress-nginx logs and Kubernetes audit logs for unusual activity related to Ingress resource changes. Additionally, review and minimize the ingress-nginx controller's permissions to Secrets, applying the principle of least privilege where feasible. Employ network segmentation and isolate critical workloads to reduce the blast radius in case of compromise. Finally, maintain regular backups and incident response plans tailored to Kubernetes environments to enable rapid recovery if exploitation occurs.

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-01-29T00:06:06.902Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69827a75f9fa50a62fe57fde

Added to database: 2/3/2026, 10:45:09 PM

Last enriched: 2/27/2026, 7:48:42 AM

Last updated: 3/24/2026, 1:24:34 AM

Views: 337

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