CVE-2026-138037 in Open5GS
Summary
by MITRE • 11/28/2026
A flaw has been found in Open5GS up to 2.8.0. This affects the function ogs_pfcp_handle_create_urr of the file lib/pfcp/handler.c of the component UPF PFCP N4. Executing a manipulation of the argument URR ID can lead to reachable assertion. The attack may be performed from remote. The exploit has been published and may be used. This patch is called 08e0940e14ec41284e4270084694549de43dc219. It is best practice to apply a patch to resolve this issue.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/28/2026
The vulnerability identified in Open5GS versions up to 2.8.0 represents a critical security flaw within the User Plane Function (UPF) component, specifically affecting the PFCP N4 interface handler. The core of the issue resides in the function ogs_pfcp_handle_create_urr located in the file lib/pfcp/handler.c. This function is responsible for processing Create URR (Usage Report Request) messages sent from the Session Management Function to the UPF via the PFCP protocol. The flaw arises when an attacker manipulates the User Resource Record ID argument within these requests, leading directly to a reachable assertion failure in the application logic.
From a technical perspective, this vulnerability is classified as CWE-617: Reachable Assertion. An assertion is typically used during development and testing to verify that certain conditions are true before proceeding with execution. In production environments, if assertions are not properly disabled or handled gracefully, they can cause the program to abort abruptly when triggered by unexpected input. In this specific case, the UPF does not adequately validate or sanitize the URR ID provided in the Create URR request. When a maliciously crafted value is supplied, it violates an internal assumption made by the code, causing the assertion to fail and resulting in a process crash. This lack of robust error handling for invalid identifiers allows external actors to force the application into an unrecoverable state.
The operational impact of this vulnerability is significant due to its remote exploitability. Since the PFCP N4 interface is exposed over the network, typically between the SMF and UPF in a 5G core architecture, an attacker with access to this network segment can send specially crafted packets to trigger the flaw. The successful exploitation leads to a Denial of Service condition by crashing the Open5GS process handling PFCP sessions. This disruption halts user data plane operations for affected subscribers until the service is restarted or patched. Given that exploit code has already been published, the risk of active targeting in environments where this software is deployed without adequate network segmentation or access controls is high.
This incident aligns with ATT&CK technique T1499: Endpoint Denial of Service, as it involves manipulating a system component to cause disruption rather than data exfiltration or privilege escalation. The root cause reflects CWE-20: Improper Input Validation, where the application fails to verify that user-supplied input conforms to expected formats and ranges before processing. To mitigate this risk, immediate action is required by applying the patch identified as 08e0940e14ec41284e4270084694549de43dc219. This update addresses the validation logic within the PFCP handler to prevent invalid URR IDs from triggering assertion failures. Additionally, organizations should ensure that their network security policies restrict access to the N4 interface strictly to authorized SMF nodes using IP allow-listing or firewall rules, thereby reducing the attack surface available to potential remote attackers.