CVE-2026-33065: Github.com/free5gc/udm Free5GC UDM Incorrectly Returns 500 Vulnerability

MODERATE
Advisory Identifier: GHSA-958m-gxmc-mccm
CWE-209
Published
Advisory Summary

CVE-2026-33065 is a MODERATE free5gc udm incorrectly returns 500 vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Github.com/free5gc/udm libraries in the Go ecosystem. The issue involves free5gc udm incorrectly returns 500 for empty supi path parameter in delete sdm-subscriptions request. Remediation is available by upgrading affected packages to version 1.4.2.

CVE-2026-33065 at a Glance

CVE Identifier CVE-2026-33065
GHSA Identifier GHSA-958m-gxmc-mccm
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-209: Generation of Error Message Containing Sensitive Information
Affected Product Github.com/free5gc/udm
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-33065

To remediate this vulnerability, upgrade all affected Github.com/free5gc/udm 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/udm fixed: 1.4.2
Upgrade github.com/free5gc/udm 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/udm

How to Check if You Are Affected

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

inspect dependencies for github.com/free5gc/udm

Analyze the terminal output to locate any version of Github.com/free5gc/udm 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-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Github.com/free5gc/udm, 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 Error Handling vulnerability with Information Exposure implications. - **Security Impact**: The UDM incorrectly converts a downstream 400 Bad Request (from UDR) into a 500 Internal Server Error when handling DELETE requests with an empty `supi` path parameter. This leaks internal error handling behavior and makes it difficult for clients to distinguish between client-side errors and server-side failures. - **Functional Impact**: When a client sends a DELETE request with an empty `supi` (e.g., double slashes `//` in URL path), the UDM forwards the malformed request to UDR, which correctly returns 400. However, UDM propagates this as 500 SYSTEM_FAILURE instead of returning the appropriate 400 error to the client. This violates REST API best practices for DELETE operations. - **Affected Parties**: All deployments of free5GC v4.0.1 using the UDM Nudm_SDM service with DELETE operations on sdm-subscriptions endpoint. **Patches** Yes, the issue has been patched. The fix is implemented in PR free5gc/udm#79. 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 implement API gateway-level validation to reject DELETE requests with empty path parameters before they reach UDM.

CVE-2026-33065 Affected Github.com/free5gc/udm Versions

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

References

Frequently Asked Questions

What is CVE-2026-33065?
CVE-2026-33065 is a security vulnerability in Github.com/free5gc/udm involving free5GC UDM incorrectly returns 500 for empty supi path parameter in DELETE sdm-subscriptions request under CWE-209: Generation of Error Message Containing Sensitive Information.
Which Github.com/free5gc/udm versions are affected?
Affected versions include releases prior to 1.4.2 across affected packages: github.com/free5gc/udm.
What version fixes CVE-2026-33065?
Upgrading to 1.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/free5gc/udm affected?
Yes, github.com/free5gc/udm 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-33065?
CVE-2026-33065 is classified under CWE-209: Generation of Error Message Containing Sensitive Information (The product generates an error message that includes sensitive information about its environment, users, or associated data.).
How can I check Go dependencies for CVE-2026-33065?
Run the dependency tree command: 'inspect dependencies for github.com/free5gc/udm'. 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-958m-gxmc-mccm",
  "modified" : "2026-03-20T21:24:12Z",
  "published" : "2026-03-18T20:07:17Z",
  "aliases" : [ "CVE-2026-33065" ],
  "summary" : "free5GC UDM incorrectly returns 500 for empty supi path parameter in DELETE sdm-subscriptions request",
  "details" : "**Impact**  \nThis is an Improper Error Handling  vulnerability with Information Exposure implications.  \n- **Security Impact**: The UDM incorrectly converts a downstream 400 Bad Request (from UDR) into a 500 Internal Server Error when handling DELETE requests with an empty `supi` path parameter. This leaks internal error handling behavior and makes it difficult for clients to distinguish between client-side errors and server-side failures.  \n- **Functional Impact**: When a client sends a DELETE request with an empty `supi` (e.g., double slashes `//` in URL path), the UDM forwards the malformed request to UDR, which correctly returns 400. However, UDM propagates this as 500 SYSTEM_FAILURE instead of returning the appropriate 400 error to the client. This violates REST API best practices for DELETE operations.  \n- **Affected Parties**: All deployments of free5GC v4.0.1 using the UDM Nudm_SDM service with DELETE operations on sdm-subscriptions endpoint.\n\n**Patches**  \nYes, the issue has been patched.  \nThe fix is implemented in PR free5gc/udm#79.  \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 implement API gateway-level validation to reject DELETE requests with empty path parameters before they reach UDM.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/free5gc/udm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc/security/advisories/GHSA-958m-gxmc-mccm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33065"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/free5gc/issues/783"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/udm/pull/79"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/free5gc/udm/commit/88de9fa74a1b3f3522e53b4cfa2d184712ffa4ee"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/free5gc/free5gc"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-209" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-18T20:07:17Z",
    "nvd_published_at" : "2026-03-20T08:16:12Z"
  }
}