CVE-2026-40247 free5gc UDR improper path validation allows unauthenticated access to Traffic Influence Subscriptions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · 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 reading 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 data is returned alongside the 404 response. An unauthenticated attacker with access to the 5G Service Based Interface can read arbitrary Traffic Influence Subscriptions, including SUPIs/IMSIs, DNNs, S-NSSAIs, and callback URIs, 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-x5r2-r74c-3w28 exploit mitigation third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com