{"id":"CVE-2026-33191","aliases":["CVE-2026-33191","GHSA-p9hg-pq3q-v9gv","GO-2026-4763"],"related":[],"kind":"vulnerability","state":"published","title":"free5GC UDM vulnerable to null byte injection in URL path parameters causing 500 Internal Server Error","summary":"Free5GC is an open-source Linux Foundation project for 5th generation (5G) mobile core networks. Versions prior to 1.4.2\nare vulnerable to null byte injection in URL path parameters. A remote attacker can inject null bytes (URL-encoded as %00) into the supi path parameter of the UDM's Nudm_SubscriberDataManagement API. This causes URL parsing failure in Go's net/url package with the error \"invalid control character in URL\", resulting in a 500 Internal Server Error. This null byte injection vulnerability can be exploited for denial of service attacks. When the supi parameter contains null characters, the UDM attempts to construct a URL for UDR that includes these control characters. Go's URL parser rejects them, causing the request to fail with 500 instead of properly validating input and returning 400 Bad Request. This issue has been fixed in version 1.4.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Free5GC is an open-source Linux Foundation project for 5th generation (5G) mobile core networks. Versions prior to 1.4.2\nare vulnerable to null byte injection in URL path parameters. A remote attacker can inject null bytes (URL-encoded as %00) into the supi path parameter of the UDM's Nudm_SubscriberDataManagement API. This causes URL parsing failure in Go's net/url package with the error \"invalid control character in URL\", resulting in a 500 Internal Server Error. This null byte injection vulnerability can be exploited for denial of service attacks. When the supi parameter contains null characters, the UDM attempts to construct a URL for UDR that includes these control characters. Go's URL parser rejects them, causing the request to fail with 500 instead of properly validating input and returning 400 Bad Request. This issue has been fixed in version 1.4.2.","source":"cvelist"},{"lang":"en","text":"**Impact**  \nThis is an Improper Input Validation vulnerability with Denial of Service and Injection implications.  \n- **Security Impact**: A remote attacker can inject null bytes (URL-encoded as `%00`) into the `supi` path parameter of the UDM's Nudm_SubscriberDataManagement API. This causes URL parsing failure in Go's `net/url` package with the error \"invalid control character in URL\", resulting in a 500 Internal Server Error. This null byte injection vulnerability can be exploited for denial of service attacks.  \n- **Functional Impact**: When the `supi` parameter contains null characters, the UDM attempts to construct a URL for UDR that includes these control characters. Go's URL parser rejects them, causing the request to fail with 500 instead of properly validating input and returning 400 Bad Request.  \n- **Affected Parties**: All deployments of free5GC v4.0.1 using the UDM Nudm_SDM service with endpoints that include path parameters (e.g., `/nudm-sdm/v2/{supi}/am-data`).\n\n**Patches**  \nYes, the issue has been patched.  \nThe fix is implemented in PR free5gc/udm#79.  \nUsers should upgrade to the next release of free5GC that includes this commit.\n\n**Workarounds**  \nThere is no direct workaround at the application level. The recommendation is to apply the provided patch or implement API gateway-level validation to reject requests containing null bytes in path parameters before they reach UDM.","format":"markdown","source":"ghsa"},{"lang":"en","text":"free5GC UDM vulnerable to null byte injection in URL path parameters causing 500 Internal Server Error in github.com/free5gc/udm","format":"markdown","source":"go"},{"lang":"es","text":"Free5GC es un proyecto de código abierto de la Linux Foundation para redes centrales móviles de quinta generación (5G). Las versiones anteriores a la 1.4.2 son vulnerables a la inyección de bytes nulos en los parámetros de ruta de URL. Un atacante remoto puede inyectar bytes nulos (codificados en URL como %00) en el parámetro de ruta supi de la API Nudm_SubscriberDataManagement del UDM. Esto causa un fallo en el análisis de URL en el paquete net/url de Go con el error 'invalid control character in URL', lo que resulta en un error 500 Internal Server Error. Esta vulnerabilidad de inyección de bytes nulos puede ser explotada para ataques de denegación de servicio. Cuando el parámetro supi contiene caracteres nulos, el UDM intenta construir una URL para UDR que incluye estos caracteres de control. El analizador de URL de Go los rechaza, lo que provoca que la solicitud falle con 500 en lugar de validar correctamente la entrada y devolver 400 Bad Request. Este problema ha sido solucionado en la versión 1.4.2.","source":"nvd"}],"published":"2026-03-18T20:11:15.000Z","modified":"2026-06-17T10:37:06.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":8.6,"rating":"HIGH"}],"cwes":["CWE-158","CWE-248"],"affected":[{"ranges":[{"version":"< 1.4.2","status":"affected"}],"vendor":"free5gc","product":"free5gc","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.2"}],"ecosystem":"Go","package":"github.com/free5gc/udm","purl":"pkg:golang/github.com/free5gc/udm","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.4.2"}],"ecosystem":"Go","package":"github.com/free5gc/udm","purl":"pkg:golang/github.com/free5gc/udm","source":"go"},{"ranges":[{"status":"affected","fixed":"1.4.2"}],"vendor":"free5gc","product":"udm","cpe":"cpe:2.3:a:free5gc:udm:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/free5gc/free5gc/security/advisories/GHSA-p9hg-pq3q-v9gv","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/free5gc/udm/commit/88de9fa74a1b3f3522e53b4cfa2d184712ffa4ee","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33191","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/free5gc/udm/pull/79","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/free5gc/udm","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-03-20T19:35:49.317Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33191","url":"https://www.cve.org/CVERecord?id=CVE-2026-33191","licence":"CVE Terms of Use","modified":"2026-03-20T19:36:09.548Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p9hg-pq3q-v9gv","url":"https://github.com/advisories/GHSA-p9hg-pq3q-v9gv","licence":"CC-BY-4.0","modified":"2026-03-23T18:56:15.588Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4763","url":"https://pkg.go.dev/vuln/GO-2026-4763","licence":"CC-BY-4.0","modified":"2026-03-23T18:45:17.674Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33191","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33191","licence":"Public domain","modified":"2026-06-17T10:37:06.163Z"}],"updatedAt":"2026-11-25T22:59:16.295Z","epss":{"score":0.00403,"percentile":0.36653,"date":"2026-12-02T12:00:21.000Z"}}