CVE-2026-40249 Details
Description
free5GC is an open-source implementation of the 5G core network. In versions 4.2.1 and below of the UDR service, the PUT handler for updating Policy Data notification subscriptions at /nudr-dr/v2/policy-data/subs-to-notify/{subsId} does not return after request body retrieval or deserialization errors. Although HTTP 500 or 400 error responses are sent, execution continues and the processor is invoked with a potentially uninitialized or partially initialized PolicyDataSubscription object. This fail-open behavior may allow unintended modification of existing Policy Data notification subscriptions with invalid or empty input, depending on downstream processor and storage behavior. A patched version was not available at the time of publication.
A fail-open vulnerability has been identified in the free5GC UDR service, specifically in versions through 4.2.1. The issue arises in the PUT handler for updating Policy Data notification subscriptions, located at /nudr-dr/v2/policy-data/subs-to-notify/{subsId}. When the handler encounters errors during request body retrieval or deserialization, it fails to terminate the execution properly. Although it sends HTTP 500 or 400 error responses, the processing continues, potentially allowing unintended modifications to existing Policy Data notification subscriptions with invalid or empty input. This behavior depends on how downstream processors and storage systems handle such inputs.
The vulnerability can be addressed by modifying the PUT handler to immediately return after sending an error response for body read or deserialization failures. This includes adding missing return statements and ensuring that a pointer to the destination object is passed during deserialization.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/free5gc/free5gc/security/advisories/GHSA-gx38-8h33-pmxr | [email protected] | ExploitMitigationThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-636 | Not Failing Securely ('Failing Open') | [email protected] |
| CWE-754 | Improper Check for Unusual or Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| free5gc free5gc | <= 4.2.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2026 | Initial Analysis | [email protected] |
| Apr 16, 2026 | New CVE Received | [email protected] |