CVEvulnerability

CVE-2026-44325

7.5 HIGH Published 2026-05-27 Modified 2026-10-14 Official page ↗
Status
Analyzed
Published
2026-05-27
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-20, CWE-755, CWE-843

Description

free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, free5GC's NRF root SBI endpoint POST /oauth2/token contains a parser-level type-confusion bug family. The handler in NFs/nrf/internal/sbi/api_accesstoken.go reflects over models.NrfAccessTokenAccessTokenReq, special-cases only plain string and NrfNfManagementNfType fields, and treats every other field as if it were a single models.PlmnId. The parsed *models.PlmnId is then assigned with reflect.Value.Set() to whichever field name the attacker put in the form body, which panics whenever the destination field's real type is incompatible (slice, different struct, primitive). Gin recovery converts each panic into HTTP 500, but the endpoint remains remotely panicable from a single unauthenticated form-encoded request and is repeatedly triggerable. This vulnerability is fixed in 4.2.2.

Affected configurations

• free5gc free5gc (< 4.2.2)

Related

Weakness · CWE (3)

  • CWE-20 Improper Input Validation weakness
  • CWE-755 Improper Handling of Exceptional Conditions weakness
  • CWE-843 Access of Resource Using Incompatible Type weakness

References