CVE-2026-40249 free5gc UDR fail-open request handling in PolicyDataSubsToNotifySubsIdPut may allow unintended subscription updates after input errors
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| free5gc github.com/free5gc/udr(Go) | <= 1.4.2; All versions | after 1.4.2 | Partially fixed |
| free5gc | <= 4.2.1; = <= 4.2.1 | after 4.2.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| free5gc github.com/free5gc/udr(Go) | <= 1.4.2 | No fix listed |
| free5gc github.com/free5gc/udr(Go) | All versions | No fix listed |
| free5gc | = <= 4.2.1 | No fix listed |
| free5gc | <= 4.2.1 | No fix listed |
References
- https://github.com/free5gc/free5gc/security/advisories/GHSA-gx38-8h33-pmxr exploit mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com