CVE-2026-42459 Free5GC UDM has Improper Input Validation and Generation of Error Messages Containing Sensitive Information

High 7.7 Published Updated

An unauthenticated attacker can inject control characters into the SUPI parameter to trigger errors that expose internal infrastructure details in free5GC UDM.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-42459?

CVE-2026-42459 is a high-severity vulnerability in Free5gc Free5gc, published on 27 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-209, CWE-20

Which versions are affected by CVE-2026-42459?

3 open source packages ship an affected version, including github.com/free5gc/udm. It affects 1 product.

PackageAffectedFixed in
github.com/free5gc/udm GoAll versionsNone
github.com/free5gc/udm GoAll versions to 1.4.3None
github.com/free5gc/udm GoAll versions to 1.4.3None

Products include Free5gc Free5gc.

How do I fix CVE-2026-42459?

Upgrade to a fixed version.

Is CVE-2026-42459 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42459 exists.

All Free5gc Free5gc vulnerabilities

Sources

Also known as GHSA-585v-hcgf-jhfr, GO-2026-5138.

Is CVE-2026-42459 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free