free5GC: Improper Input Validation and Generation of Error Message Containing Sensitive Information in github.com/free5gc/udm
free5gc
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/free5gc/udm Go |
| No fix yet |
Original description
free5GC is an open-source implementation of the 5G core network. Prior to 4.2.2, the free5GC UDM component fails to validate the supi path parameter in six GET handlers of the nudm-sdm (Subscriber Data Management) service. An unauthenticated attacker can inject control characters into the SUPI parameter, causing UDM to forward a malformed request to UDR and return a 500 Internal Server Error response that exposes internal infrastructure details. This vulnerability is fixed in 4.2.2.
From the CVE record · GitHub_M
References
- github.com/free5gc/free5gc/security/advisories/GHSA-585v-hcgf-jhfrVendor advisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42459.json
- nvd.nist.gov/vuln/detail/CVE-2026-42459
- github.com/free5gc/free5gc/security/advisories/GHSA-h4wg-rp7m-8xx4
- github.com/free5gc/free5gc
- github.com/free5gc/udm/blob/v1.4.3/internal/sbi/api_subscriberdatamanagement.go