Security Resilience

CVE-2026-40248

Access Control in Free5Gc ≤ 4.2.1

Public PoCAccess Control
Published
16 April 2026
Modified
23 April 2026
Patch / advisory
CVSS Score v4 8.7
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0052 38th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-40248 is a high-severity Improper Authorization (CWE-285) vulnerability in Free5Gc. Its CVSS base score is 8.7 (High).

Operationally, ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-24 (Access Control Decisions) and AC-25 (Reference Monitor) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-40248 affects the UDR service in free5GC, an open-source implementation of the 5G core network, in versions 4.2.1 and below. The vulnerability resides in the handler for creating or updating Traffic Influence Subscriptions, which checks whether the influenceId path segment equals subs-to-notify but does not terminate execution after sending an HTTP 404 response upon validation failure. As a result, processing continues, enabling the subscription to be created or overwritten regardless of the validation outcome.

An unauthenticated attacker with access to the 5G Service Based Interface can exploit this flaw by supplying any arbitrary value for the influenceId path segment. Successful exploitation allows the creation or overwriting of arbitrary Traffic Influence Subscriptions, including the injection of attacker-controlled notificationUri values and arbitrary SUPIs. The vulnerability has a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N), reflecting high integrity impact with no prerequisites beyond network access.

The GitHub security advisory (GHSA-jgq2-qv8v-5cmj) notes that no patched version was available at the time of publication on 2026-04-16. It associates the issue with CWE-285 (Improper Authorization) and CWE-636 (Not Failing Securely ('Failing Open')). Practitioners should restrict access to the 5G Service Based Interface and monitor the free5GC repository for patches.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-40247Same product: Free5Gc Free5Gc
CVE-2026-40249Same product: Free5Gc Free5Gc
CVE-2026-44329Same product: Free5Gc Free5Gc
CVE-2025-70122Same product: Free5Gc Free5Gc
CVE-2025-63679Same product: Free5Gc Free5Gc
CVE-2026-44319Same product: Free5Gc Free5Gc
CVE-2026-5360Same product: Free5Gc Free5Gc
CVE-2025-60633Same product: Free5Gc Free5Gc
CVE-2025-65561Same product: Free5Gc Free5Gc
CVE-2026-1682Same product: Free5Gc Free5Gc

Affected Assets

free5gc
free5gc
≤ 4.2.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Mandates that access-control decisions are made and applied to each request before access occurs.

Requires a tamperproof, always-invoked reference monitor that performs authorization checks.

Directly requires enforcement of approved authorizations for every access request, stopping improper or missing checks.

SC-24 directly requires the system to fail to a known state that preserves security properties, structurally stopping fallback to a less-secure mode.

SI-17 mandates explicit fail-safe procedures that activate on indicated failures, preventing the insecure fallback behavior.

Limits granted privileges so that even a bypassed check affects fewer resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

blocks

A.8.3's access restriction mechanisms — configuration controls, per-identity permissions, dynamic access management with authentication requirements — block most exploitation of missing or incorrect authorization checks at the system and configuration layer even when the application code itself has CWE-285; the remainder is application-level authorization flaws whose specific code paths are not fully covered by the system-level access controls A.8.3 mandates.

finds

Independent reviewers evaluate whether authorization logic matches policy, thereby reducing the window in which incorrect or missing authorization checks remain in production.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-285, a class-level weakness. Rules are authored against its narrower children: CWE-552.
  • No fine-grained STIG row for CWE-636, a class-level weakness, and none of its children carries one either.

References