CVE-2026-25804: Antrea.io/antrea Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-86x4-wp9f-wrr9
CWE-287 CWE-770
Published
Advisory Summary

CVE-2026-25804 is a HIGH remote code execution vulnerability (CWE-287: Improper Authentication) affecting Antrea.io/antrea libraries in the Go ecosystem. The issue involves antrea has invalid enforcement order for network policy rules caused by integer overflow. Remediation is available by upgrading affected packages to version 2.3.2, 2.4.3.

CVE-2026-25804 at a Glance

CVE Identifier CVE-2026-25804
GHSA Identifier GHSA-86x4-wp9f-wrr9
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-287: Improper Authentication
Affected Product Antrea.io/antrea
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-25804

To remediate this vulnerability, upgrade all affected Antrea.io/antrea dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

antrea.io/antrea fixed: 2.3.2
Upgrade antrea.io/antrea to 2.3.2
antrea.io/antrea fixed: 2.4.3
Upgrade antrea.io/antrea to 2.4.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for antrea.io/antrea

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-25804, inspect your project dependencies for Antrea.io/antrea:

inspect dependencies for antrea.io/antrea

Analyze the terminal output to locate any version of Antrea.io/antrea in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Antrea.io/antrea, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Antrea's network policy priority assignment system has a uint16 arithmetic overflow bug that causes incorrect OpenFlow priority calculations when handling a large numbers of policies with various priority values. This results in potentially incorrect traffic enforcement. If a user creates a large number of Antrea NetworkPolicies (ANP or ACNP) with varying priorities, some rules with lower logical priorities (higher numerical priority values) may take precedence over rules with higher logical priorities (lower numerical priority values). Traffic that should be denied by the configured Antrea NetworkPolicies may end up being allowed, potentially letting an attacker access a sensitive service. Traffic that should be allowed by the configured Antrea NetworkPolicies may end up being denied, breaking applications and potentially opening the door for denial-of-service attacks. The Antrea NetworkPolicy system comes with support for priority Tiers. Rules defined within a Tier cannot take precedence over rules defined in higher priority Tiers. Some users / roles may only be authorized to define within specific Tiers. This security vulnerability enables such users to intentionally "escape" their Tier and override rules in higher priority Tiers. Antrea deployments that *only* use upstream Kubernetes NetworkPolicies - and do not use Antrea NetworkPolicies - are not affected. ### Patches https://github.com/antrea-io/antrea/pull/7496 Antrea v2.5.0 Antrea v2.4.3 Antrea v2.3.2 ### Workarounds Antrea deployments that *only* use upstream Kubernetes NetworkPolicies - and do not use Antrea NetworkPolicies - are not affected. For users leveraging Antrea NetworkPolicies, there is no way to fix or remediate the vulnerability without upgrading. ### Resources https://gist.github.com/antoninbas/c429cc3e5bb8479ba7ff38fd6fde59d9 https://github.com/antrea-io/antrea/pull/7496 https://github.com/antrea-io/antrea/blob/main/docs/antrea-network-policy.md

CVE-2026-25804 Affected Antrea.io/antrea Versions

2 component(s)
Fixed Versions:
2.3.22.4.3
Product / Package Ecosystem Affected Versions Fixed Version
antrea.io/antrea
Go
< 2.3.2
2.3.2
antrea.io/antrea
Go
≥ 2.4.0
< 2.4.3
2.4.3

References

Frequently Asked Questions

What is CVE-2026-25804?
CVE-2026-25804 is a security vulnerability in Antrea.io/antrea involving Antrea has invalid enforcement order for network policy rules caused by integer overflow under CWE-287: Improper Authentication.
Which Antrea.io/antrea versions are affected?
Affected versions include releases prior to 2.3.2, 2.4.3 across affected packages: antrea.io/antrea.
What version fixes CVE-2026-25804?
Upgrading to 2.3.2, 2.4.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is antrea.io/antrea affected?
Yes, antrea.io/antrea is affected in releases prior to 2.3.2, 2.4.3. Upgrade your dependency to 2.3.2, 2.4.3 or later.
What CWE is associated with CVE-2026-25804?
CVE-2026-25804 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for CVE-2026-25804?
Run the dependency tree command: 'inspect dependencies for antrea.io/antrea'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-86x4-wp9f-wrr9",
  "modified" : "2026-02-07T00:33:42Z",
  "published" : "2026-02-06T22:36:29Z",
  "aliases" : [ "CVE-2026-25804" ],
  "summary" : "Antrea has invalid enforcement order for network policy rules caused by integer overflow",
  "details" : "### Impact\n\nAntrea's network policy priority assignment system has a uint16 arithmetic overflow bug that causes incorrect OpenFlow priority calculations when handling a large numbers of policies with various priority values. This results in potentially incorrect traffic enforcement.\n\nIf a user creates a large number of Antrea NetworkPolicies (ANP or ACNP) with varying priorities, some rules with lower logical priorities (higher numerical priority values) may take precedence over rules with higher logical priorities (lower numerical priority values). Traffic that should be denied by the configured Antrea NetworkPolicies may end up being allowed, potentially letting an attacker access a sensitive service. Traffic that should be allowed by the configured Antrea NetworkPolicies may end up being denied, breaking applications and potentially opening the door for denial-of-service attacks.\n\nThe Antrea NetworkPolicy system comes with support for priority Tiers. Rules defined within a Tier cannot take precedence over rules defined in higher priority Tiers. Some users / roles may only be authorized to define within specific Tiers. This security vulnerability enables such users to intentionally \"escape\" their Tier and override rules in higher priority Tiers.\n\nAntrea deployments that *only* use upstream Kubernetes NetworkPolicies - and do not use Antrea NetworkPolicies - are not affected.\n\n### Patches\nhttps://github.com/antrea-io/antrea/pull/7496\nAntrea v2.5.0\nAntrea v2.4.3\nAntrea v2.3.2\n\n### Workarounds\n\nAntrea deployments that *only* use upstream Kubernetes NetworkPolicies - and do not use Antrea NetworkPolicies - are not affected.\n\nFor users leveraging Antrea NetworkPolicies, there is no way to fix or remediate the vulnerability without upgrading.\n\n### Resources\n\nhttps://gist.github.com/antoninbas/c429cc3e5bb8479ba7ff38fd6fde59d9\nhttps://github.com/antrea-io/antrea/pull/7496\nhttps://github.com/antrea-io/antrea/blob/main/docs/antrea-network-policy.md",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "antrea.io/antrea"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "antrea.io/antrea"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.4.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/antrea-io/antrea/security/advisories/GHSA-86x4-wp9f-wrr9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-25804"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/antrea-io/antrea/pull/7496"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/antrea-io/antrea/commit/86c4b6010f3be536866f339b632621c23d7186fa"
  }, {
    "type" : "WEB",
    "url" : "https://gist.github.com/antoninbas/c429cc3e5bb8479ba7ff38fd6fde59d9"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/antrea-io/antrea"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/antrea-io/antrea/blob/main/docs/antrea-network-policy.md"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-06T22:36:29Z",
    "nvd_published_at" : "2026-02-06T23:15:55Z"
  }
}