Skip to content

CVE-2026-44325 free5GC: NRF POST /oauth2/token structured-form parser type-confusion panic family (Reflect.Set on incompatible types)

HighCVSS 7.5 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
free5gc < 4.2.2; = < 4.2.2 4.2.2 Fixed
free5gc github.com/free5gc/nrf(Go) < 1.4.3 1.4.3 Fixed

Affected products

ProductAffected versionsFixed in
free5gc github.com/free5gc/nrf(Go) < 1.4.3 1.4.3
free5gc = < 4.2.2 No fix listed
free5gc < 4.2.2 4.2.2

References