CVE-2026-40248

free5gc UDR improper path validation allows unauthenticated creation and modification of Traffic Influence Subscriptions

Published Apr 16, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An incomplete path validation in the free5gc UDR service allows an unauthenticated attacker to create or overwrite Traffic Influence Subscriptions, regardless of the influenceId supplied. This flaw enables an attacker to inject arbitrary notificationUri values and SUPIs, potentially redirecting traffic or exfiltrating data. The vulnerability is a form of improper access control and path injection (CWE-285 and CWE-636), providing the attacker with elevated control over subscription mechanisms without authentication.

Affected Systems

The issue affects the free5gc UDR service version 4.2.1 and any older releases. No official patch was available at the time of disclosure, and the vulnerability remains in all affected deployments that have not been updated.

Risk and Exploitability

The CVSS score of 8.7 signifies high severity. Although EPSS data is not available, the vulnerability is exploitable via the 5G Service Based Interface without authentication. The lack of a KEV listing does not diminish the risk; any system exposing the UDR may be vulnerable. Attackers can create or modify subscriptions remotely, potentially compromising data integrity and confidentiality in the network.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade free5gc to a patched version as soon as it becomes available.
  • Configure network or firewall rules to restrict unauthenticated access to the UDR Service Based Interface endpoints.
  • Enable logging and monitoring of Traffic Influence Subscription creation and updates to detect unauthorized activity.

Generated by OpenCVE AI on April 17, 2026 at 02:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jgq2-qv8v-5cmj free5gc UDR improper path validation allows unauthenticated creation and modification of Traffic Influence Subscriptions
History
Type Values Removed Values Added
CPEs cpe:2.3:a:free5gc:free5gc:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Free5gc
Free5gc free5gc
Vendors & Products Free5gc
Free5gc free5gc
Type Values Removed Values Added
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.
Title free5gc UDR improper path validation allows unauthenticated creation and modification of Traffic Influence Subscriptions
Weaknesses CWE-285
CWE-636
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-636

    Not Failing Securely ('Failing Open')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 20, 2026, 3:00 PM
Reserved
Apr 10, 2026, 5:31 PM
Status
Analyzed
Published
Apr 16, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:44 AM