# CVE-2026-40249: free5gc UDR fail-open request handling in PolicyDataSubsToNotifySubsIdPut may allow unintended subscription updates after input errors

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 29% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T20:00:59.000Z
- Modified: 2026-06-25T23:11:36.332Z
- Also known as: GHSA-gx38-8h33-pmxr, GO-2026-5407
- Weaknesses: CWE-636, CWE-754
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- free5gc free5gc: <= 4.2.1; up to 4.2.1
- github.com/free5gc/udr (Go): up to 1.4.2; all versions

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/free5gc/free5gc/security/advisories/GHSA-gx38-8h33-pmxr> (exploit, advisory, mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40249> (advisory)
- <https://github.com/free5gc/udr> (package)

## Sources

- CVE List: [CVE-2026-40249](https://www.cve.org/CVERecord?id=CVE-2026-40249), CVE Terms of Use, modified 2026-04-18
- GitHub Advisory Database: [GHSA-gx38-8h33-pmxr](https://github.com/advisories/GHSA-gx38-8h33-pmxr), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5407](https://pkg.go.dev/vuln/GO-2026-5407), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40249](https://nvd.nist.gov/vuln/detail/CVE-2026-40249), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-40249 · Whole record: https://cve.day/CVE-2026-40249.json · Rebuilt by cve.day 2026-11-25T22:59:18.921Z
