Skip to content

chore(security): send the private report of the NetworkPolicy bypass #6725

Open

Description

@dan-petty

Problem

#6707 and #6708 found that the network policy controller that k3s embeds lets an egress rule of a NetworkPolicy with both Ingress and Egress admit traffic between two pods it selects, although its ingress rules deny it. This is a security issue in the upstream projects (cloudnativelabs/kube-router, and k3s, which embeds it). Both projects ask for private reports: kube-router through GitHub private vulnerability reporting, k3s through its security e-mail contact.

Proposed remedy

The owner sends the report to the private vulnerability reporting of kube-router and a short note to the security contact of k3s, and records the advisory id here. The workaround in this repository is done: every NetworkPolicy of k8s/ has one type, and a k8s check row refuses a policy with both types (#6721).

Acceptance criteria

  • The advisory id of the kube-router report is in a comment of this item.
  • A comment of this item says that the note went to the k3s security contact.

Person steps

Dependencies

None.

Alternatives check of 2026-11-22: not-applicable.
Class: chore, no search.
Tool: none found.

Activity

  1. added
    type/chore
    scope/security
    source/agent
    status/new
    on Nov 22, 2026
  2. dan-petty commented on Nov 22, 2026

    @dan-petty
    OwnerAuthor
    • Priority: P1-High. A live security vulnerability in upstream projects needs a private report, but the local workaround is already done.
    • Related: fix(k8s): an in-namespace egress allow skips the ingress rules #6708, which asks for a different change. Both concern the NetworkPolicy egress/ingress bypass, but #6708 fixes the local policy while this item sends the upstream report.
  3. added
    effort/low
    value/high
    priority/p1-high
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p1-highscope/securitysource/agentstatus/newtype/chorevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions