{"answers":{"affected":"3 open source packages ship an affected version, including github.com/free5gc/udr. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40245 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40245 is a high-severity vulnerability in Free5gc Free5gc, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40245 and fix it if it is affected.\n\nWhat it is: CVE-2026-40245 is a high-severity vulnerability in Free5gc Free5gc, published on 15 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40245 exists.\n\nAffected packages and fixed versions:\n- github.com/free5gc/udr (Go): affected all versions; no fix listed\n- github.com/free5gc/udr (Go): affected all versions up to 1.4.2; no fix listed\n- github.com/free5gc/udr (Go): affected all versions up to 1.4.2; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40245/ (Markdown: https://insights.sbomify.com/CVE-2026-40245/index.md)","id":"CVE-2026-40245","markdown":"https://insights.sbomify.com/CVE-2026-40245/index.md","name":"CVE-2026-40245","record":{"aliases":["GHSA-wrwh-rpq4-87hf","GO-2026-5722"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"5G core network software","requires_auth":"none","summary":"Unauthenticated attackers can retrieve sensitive subscriber identifiers (SUPI/IMSI) from Free5GC UDR service via a parameterless HTTP GET request due to missing error handling.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"free5gc","vendor":"free5gc"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"},{"id":"CWE-202","name":"Exposure of Sensitive Information Through Data Queries"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Free5GC is an open-source Linux Foundation project for 5th generation (5G) mobile core networks. Versions 4.2.1 and below contain an information disclosure vulnerability in the UDR (Unified Data Repository) service. The handler for GET /nudr-dr/v2/application-data/influenceData/subs-to-notify sends an HTTP 400 error response when required query parameters are missing but does not return afterward. Execution continues into the processor function, which queries the data repository and appends the full list of Traffic Influence Subscriptions, including SUPI/IMSI values, to the response body. An unauthenticated attacker with network access to the 5G Service Based Interface can retrieve stored subscriber identifiers with a single parameterless HTTP GET request. The SUPI is the most sensitive subscriber identifier in 5G networks, and its exposure undermines the privacy guarantees of the 3GPP SUCI concealment mechanism at the core network level. A similar bypass exists when sending a malformed snssai parameter due to the same missing return pattern.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Free5GC: UDR nudr-dr influenceData/subs-to-notify leaks SUPI in error response body without authentication","id":"CVE-2026-40245","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"free5gc:free5gc","products":["free5gc:free5gc"],"type":"information_disclosure","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"free5gc UDR improper path validation allows unauthenticated deletion of Traffic Influence Subscriptions","id":"CVE-2026-40246"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/free5gc/udr","purl":"pkg:golang/github.com/free5gc/udr","source":"GO-2026-5722"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.2"],"package":"github.com/free5gc/udr","purl":null,"source":"GHSA-wrwh-rpq4-87hf"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.2"],"package":"github.com/free5gc/udr","purl":"pkg:golang/github.com/free5gc/udr","source":"GHSA-wrwh-rpq4-87hf"}],"prev":{"headline":"OpenEXR has integer overflow in DWA setupChannelData planarUncRle pointer arithmetic (missed variant of CVE-2026-34589)","id":"CVE-2026-40244"},"products":["free5gc"],"published":"2026-04-15","related":[{"cvss_score":10,"headline":"free5GC: NEF nnef-oam route group is unauthenticated; no-token requests reach the OAM handler","id":"CVE-2026-44327","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":10,"headline":"free5GC's SMF UPI management interface lacks auth middleware; unauthenticated topology read/write requests reach handlers","id":"CVE-2026-44329","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":10,"headline":"free5GC's NEF nnef-pfdmanagement API is unauthenticated; forged bearer tokens can read PFD data and create/delete PFD subscriptions","id":"CVE-2026-44330","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2025-63679","kev_date_added":null,"published":"2025-11-12"},{"cvss_score":9.4,"headline":"free5GC's NEF 3gpp-pfd-management API is unauthenticated; forged bearer tokens can create, read, and delete PFD transactions","id":"CVE-2026-44315","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":9.4,"headline":"free5GC's NEF 3gpp-traffic-influence API is unauthenticated; missing or forged bearer tokens can create, read, patch, and delete subscriptions","id":"CVE-2026-44326","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":8.7,"headline":"free5gc UDR improper path validation allows unauthenticated access to Traffic Influence Subscriptions","id":"CVE-2026-40247","kev_date_added":null,"published":"2026-04-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-16","vendors":["free5gc"]},"summary":"Unauthenticated attackers can retrieve sensitive subscriber identifiers (SUPI/IMSI) from Free5GC UDR service via a parameterless HTTP GET request due to missing error handling.","url":"https://insights.sbomify.com/CVE-2026-40245/"}