{"id":"CVE-2024-7646","aliases":["GO-2024-3075","WID-SEC-W-2024-1876"],"summary":"A security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to...","published_at":"2024-08-16T16:10:31Z","modified_at":"2026-05-20T08:11:52.481008Z","products":[{"slug":"ingress-nginx","name":"Ingress-NGINX","category":"kubernetes-container"}],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"BSI","rating":"hoch"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.27017998695373535,"percentile":0.9808099865913391,"date":"2026-11-19T00:00:00Z"},"priority":10.55,"record_count":4,"vendors":["BSI","Go","Kubernetes"],"details":"A security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to inject arbitrary commands and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.","affected_stack":[{"ecosystem":"CVE","package":"Kubernetes/ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.11.0"},{"fixed":"1.11.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.4"}]}],"fixed":["1.11.2","1.10.4"],"provider":"cvelistv5","source":"CVE-2024-7646","relation":"self"}],"affected_other":[{"ecosystem":"Go","package":"github.com/kubernetes/ingress-nginx","purl":"pkg:golang/github.com/kubernetes/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-3075","relation":"self"}],"product_status":[{"vendor":"BSI","product":"IBM InfoSphere Information Server 11.7","cpe":"cpe:/a:ibm:infosphere_information_server:11.7","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1876"},{"vendor":"BSI","product":"Open Source Kubernetes <ingress-nginx controller v1.11.2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1876"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2024-7646","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2024-7646","license":"CC-BY-4.0","published_at":"2024-08-16T17:36:53.783Z","modified_at":"2024-08-19T18:28:09.677Z","summary":"A security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to...","details":"A security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to inject arbitrary commands and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2024-7646"}],"affected":[{"ecosystem":"CVE","package":"Kubernetes/ingress-nginx","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.11.0"},{"fixed":"1.11.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.4"}]}],"fixed":["1.11.2","1.10.4"],"provider":"cvelistv5","source":"CVE-2024-7646","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/kubernetes/kubernetes/issues/126744"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/a1__cKjWkfA"},{"type":"FIX","url":"https://github.com/kubernetes/ingress-nginx/pull/11719"},{"type":"FIX","url":"https://github.com/kubernetes/ingress-nginx/pull/11721"}]},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1876","relation":"self","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1876","license":"TLP:CLEAR, mirroring permitted","published_at":"2024-08-18T22:00:00Z","modified_at":"2024-10-29T23:00:00Z","summary":"Kubernetes: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen","details":"Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in Kubernetes im \"ingress-nginx controller\" ausnutzen, um Sicherheitsvorkehrungen zu umgehen.\n\nKubernetes ist ein Werkzeug zur Automatisierung der Bereitstellung, Skalierung und Verwaltung von containerisierten Anwendungen.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2024-1876"}],"affected":[],"product_status":[{"vendor":"BSI","product":"IBM InfoSphere Information Server 11.7","cpe":"cpe:/a:ibm:infosphere_information_server:11.7","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1876"},{"vendor":"BSI","product":"Open Source Kubernetes <ingress-nginx controller v1.11.2","status":"affected","packages":[],"package_count":0,"fixed":[],"advisories":[],"provider":"csaf-bsi","source":"WID-SEC-W-2024-1876"}],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1876.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1876"},{"type":"WEB","url":"https://github.com/kubernetes/kubernetes/issues/126744"},{"type":"WEB","url":"https://github.com/advisories/GHSA-qx8j-xj5q-v7r3"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7170417"}]},{"provider":"kubernetes-cve-feed","source_id":"CVE-2024-7646","relation":"self","url":"https://github.com/kubernetes/kubernetes/issues/126744","license":"CC-BY-4.0","published_at":"2024-08-16T16:10:31Z","summary":"Ingress-nginx Annotation Validation Bypass","details":"CVSS Rating: [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)\r\n\r\nA security issue was discovered in ingress-nginx where an actor with permission to create Ingress objects (in the `networking.k8s.io` or `extensions` API group) can bypass annotation validation to inject arbitrary commands and obtain the credentials of the ingress-nginx controller. In the default configuration, that credential has access to all secrets in the cluster.\r\n\r\nThis issue has been rated **High** (8.8) [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H](https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) and assigned **CVE-2024-7646**.\r\n\r\n### Am I vulnerable?\r\n\r\nThis bug affects ingress-nginx. If you do not have ingress-nginx installed on your cluster, you are not affected. You can check this by running `kubectl get po -A` and looking for `ingress-nginx-controller`.\r\n\r\nMulti-tenant environments where non-admin users have permissions to create Ingress objects are most affected by this issue.\r\n\r\n### Affected Versions\r\n\r\ningress-nginx controller < v1.11.2\r\ningress-nginx controller < v1.10.4\r\n\r\n### How do I mitigate this vulnerability?\r\n\r\nThis issue can be mitigated by upgrading to the fixed version. \r\n\r\n### Fixed Versions\r\n\r\ningress-nginx controller v1.11.2 - fixed by https://github.com/kubernetes/ingress-nginx/pull/11719 and https://github.com/kubernetes/ingress-nginx/pull/11721\r\ningress-nginx controller v1.10.4 - fixed by https://github.com/kubernetes/ingress-nginx/pull/11718 and https://github.com/kubernetes/ingress-nginx/pull/11722\r\n\r\n### Detection\r\n\r\nReview your Kubernetes audit logs for Ingress objects created with annotations (e.g. `nginx.ingress.kubernetes.io/auth-tls-verify-client`) that contain carriage returns (`\\r`).\r\n\r\nIf you find evidence that this vulnerability has been exploited, please contact [security@kubernetes.io](mailto:security@kubernetes.io)\r\n\r\n### Additional Details\r\n\r\nSee the GitHub issue for more details: \r\nhttps://github.com/kubernetes/kubernetes/issues/126744 \r\n\r\n#### Acknowledgements\r\n\r\nThis vulnerability was reported by André Storfjord Kristiansen @dev-bio. \r\n\r\nThe issue was fixed and coordinated by the fix team:\r\nAndré Storfjord Kristiansen @dev-bio\r\nJintao Zhang @tao12345666333\r\nMarco Ebert @Gacko","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CVE-2024-7646"}],"affected":[],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/kubernetes/kubernetes/issues/126744"},{"type":"ADVISORY","url":"https://www.cve.org/cverecord?id=CVE-2024-7646"},{"type":"ADVISORY","url":"https://groups.google.com/g/kubernetes-announce/search?q=CVE-2024-7646"}]},{"provider":"osv","source_id":"GO-2024-3075","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-3075","license":"CC-BY-4.0","published_at":"2024-08-19T17:26:32Z","modified_at":"2026-05-20T08:11:52.481008Z","summary":"CVE-2024-7646 in github.com/kubernetes/ingress-nginx","details":"CVE-2024-7646 in github.com/kubernetes/ingress-nginx.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/kubernetes/ingress-nginx before v1.11.2.","severity":[],"affected":[{"ecosystem":"Go","package":"github.com/kubernetes/ingress-nginx","purl":"pkg:golang/github.com/kubernetes/ingress-nginx","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-3075","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7646"},{"type":"FIX","url":"https://github.com/kubernetes/ingress-nginx/pull/11719"},{"type":"FIX","url":"https://github.com/kubernetes/ingress-nginx/pull/11721"},{"type":"REPORT","url":"https://github.com/kubernetes/kubernetes/issues/126744"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/a1__cKjWkfA"}]}],"references":[{"type":"WEB","url":"https://github.com/kubernetes/kubernetes/issues/126744"},{"type":"WEB","url":"https://groups.google.com/g/kubernetes-security-announce/c/a1__cKjWkfA"},{"type":"FIX","url":"https://github.com/kubernetes/ingress-nginx/pull/11719"},{"type":"FIX","url":"https://github.com/kubernetes/ingress-nginx/pull/11721"},{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1876.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1876"},{"type":"WEB","url":"https://github.com/advisories/GHSA-qx8j-xj5q-v7r3"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7170417"},{"type":"ADVISORY","url":"https://www.cve.org/cverecord?id=CVE-2024-7646"},{"type":"ADVISORY","url":"https://groups.google.com/g/kubernetes-announce/search?q=CVE-2024-7646"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7646"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2024-7646","url":"https://www.cve.org/CVERecord?id=CVE-2024-7646","license":"CC-BY-4.0","modified_at":"2024-08-19T18:28:09.677Z","relation":"self"},{"provider":"csaf-bsi","source_id":"WID-SEC-W-2024-1876","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2024-1876","license":"TLP:CLEAR, mirroring permitted","modified_at":"2024-10-29T23:00:00Z","relation":"self"},{"provider":"kubernetes-cve-feed","source_id":"CVE-2024-7646","url":"https://github.com/kubernetes/kubernetes/issues/126744","license":"CC-BY-4.0","relation":"self"},{"provider":"osv","source_id":"GO-2024-3075","url":"https://osv.dev/vulnerability/GO-2024-3075","license":"CC-BY-4.0","modified_at":"2026-05-20T08:11:52.481008Z","relation":"self"}]}
