CVE-2026-40248 free5gc UDR improper path validation allows unauthenticated creation and modification of Traffic Influence Subscriptions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
free5GC is an open-source implementation of the 5G core network. In versions 4.2.1 and below of the UDR service, the handler for creating or updating Traffic Influence Subscriptions checks whether the influenceId path segment equals subs-to-notify, but does not return after sending the HTTP 404 response when validation fails. Execution continues and the subscription is created or overwritten regardless. An unauthenticated attacker with access to the 5G Service Based Interface can create or overwrite arbitrary Traffic Influence Subscriptions, including injecting attacker-controlled notificationUri values and arbitrary SUPIs, by supplying any value for the influenceId path segment. 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; = <= 1.4.2 | 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 | = <= 1.4.2 | No fix listed |
| free5gc | <= 4.2.1 | No fix listed |
References
- https://github.com/free5gc/free5gc/security/advisories/GHSA-jgq2-qv8v-5cmj exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com