CVE-2026-33062: Github.com/free5gc/nrf Free5GC NRF Discovery EncodeGroupId Function Vulnerability

HIGH
Advisory Identifier: GHSA-7c47-xr7q-p6hg
CWE-284
Published
Advisory Summary

CVE-2026-33062 is a HIGH free5gc nrf discovery encodegroupid function vulnerability (CWE-284: Improper Access Control) affecting Github.com/free5gc/nrf libraries in the Go ecosystem. The issue involves free5gc nrf discovery encodegroupid function panics on malformed group-id-list parameter. Remediation is available by upgrading affected packages to version 1.4.2.

CVE-2026-33062 at a Glance

CVE Identifier CVE-2026-33062
GHSA Identifier GHSA-7c47-xr7q-p6hg
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Github.com/free5gc/nrf
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-33062

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

github.com/free5gc/nrf fixed: 1.4.2
Upgrade github.com/free5gc/nrf to 1.4.2
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 github.com/free5gc/nrf

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-33062, inspect your project dependencies for Github.com/free5gc/nrf:

inspect dependencies for github.com/free5gc/nrf

Analyze the terminal output to locate any version of Github.com/free5gc/nrf in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.4.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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/free5gc/nrf, 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** This is an Improper Input Validation vulnerability leading to Denial of Service. - **Security Impact**: A remote attacker can cause the NRF service to panic and crash by sending a crafted HTTP GET request with a malformed `group-id-list` parameter. This results in complete denial of service for the NRF discovery service. - **Functional Impact**: The `EncodeGroupId` function attempts to access array indices [0], [1], [2] without validating the length of the split data. When the parameter contains insufficient separator characters, the code panics with "index out of range". - **Affected Parties**: All deployments of free5GC v4.0.1 using the NRF discovery service. **Patches** Yes, the issue has been patched. The fix is implemented in PR free5gc/nrf#80 (commit: [add fix reference here]). Users should upgrade to the next release of free5GC that includes this commit. **Workarounds** There is no direct workaround at the application level. The recommendation is to apply the provided patch or restrict access to the NRF API to trusted sources only.

CVE-2026-33062 Affected Github.com/free5gc/nrf Versions

1 component(s)
Fixed Versions:
1.4.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/free5gc/nrf
Go
< 1.4.2
1.4.2

References

Frequently Asked Questions

What is CVE-2026-33062?
CVE-2026-33062 is a security vulnerability in Github.com/free5gc/nrf involving free5GC NRF Discovery EncodeGroupId Function Panics on Malformed group-id-list Parameter under CWE-284: Improper Access Control.
Which Github.com/free5gc/nrf versions are affected?
Affected versions include releases prior to 1.4.2 across affected packages: github.com/free5gc/nrf.
What version fixes CVE-2026-33062?
Upgrading to 1.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/free5gc/nrf affected?
Yes, github.com/free5gc/nrf is affected in releases prior to 1.4.2. Upgrade your dependency to 1.4.2 or later.
What CWE is associated with CVE-2026-33062?
CVE-2026-33062 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2026-33062?
Run the dependency tree command: 'inspect dependencies for github.com/free5gc/nrf'. 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-7c47-xr7q-p6hg",
  "modified" : "2026-03-20T21:20:47Z",
  "published" : "2026-03-18T20:05:31Z",
  "aliases" : [ "CVE-2026-33062" ],
  "summary" : "free5GC NRF Discovery EncodeGroupId Function Panics on Malformed group-id-list Parameter",
  "details" : "**Impact**  \nThis is an Improper Input Validation vulnerability leading to Denial of Service.  \n- **Security Impact**: A remote attacker can cause the NRF service to panic and crash by sending a crafted HTTP GET request with a malformed `group-id-list` parameter. This results in complete denial of service for the NRF discovery service.  \n- **Functional Impact**: The `EncodeGroupId` function attempts to access array indices [0], [1], [2] without validating the length of the split data. When the parameter contains insufficient separator characters, the code panics with \"index out of range\".  \n- **Affected Parties**: All deployments of free5GC v4.0.1 using the NRF discovery service.\n\n**Patches**  \nYes, the issue has been patched.  \nThe fix is implemented in PR free5gc/nrf#80 (commit: [add fix reference here]).  \nUsers should upgrade to the next release of free5GC that includes this commit.\n\n**Workarounds**  \nThere is no direct workaround at the application level. The recommendation is to apply the provided patch or restrict access to the NRF API to trusted sources only.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/free5gc/nrf"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc/security/advisories/GHSA-7c47-xr7q-p6hg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33062"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc/issues/777"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/nrf/pull/80"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/nrf/commit/dac77d8f8f2e0f041c5634fb3c685dcb9734b872"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/free5gc/free5gc"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-18T20:05:31Z",
    "nvd_published_at" : "2026-03-20T03:16:01Z"
  }
}