{"answers":{"affected":"3 open source packages ship an affected version, including github.com/free5gc/udr. It affects 2 products.","exploited":"There is no known exploitation of CVE-2026-40343 in the wild and no public exploit code.","fix":"No fix published yet.","what":"CVE-2026-40343 is a medium-severity vulnerability in Free5gc Free5gc, published on 21 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-40343 and fix it if it is affected.\n\nWhat it is: CVE-2026-40343 is a medium-severity vulnerability in Free5gc Free5gc, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40343 in the wild and no public exploit code.\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-40343/ (Markdown: https://insights.sbomify.com/CVE-2026-40343/index.md)","id":"CVE-2026-40343","markdown":"https://insights.sbomify.com/CVE-2026-40343/index.md","name":"CVE-2026-40343","record":{"aliases":["GHSA-jwch-w7wh-gqjm","GO-2026-5482"],"analysis":{"component_type":"server_software","fix_type":"no_fix_stated","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"5G core network UDR","requires_auth":"none","summary":"Attackers can create unintended policy data subscriptions in free5GC UDR by exploiting fail-open error handling during request processing.","user_interaction":"not_required","vuln_class":"business_logic"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"free5gc","vendor":"free5gc"},{"product":"udr","vendor":"free5gc"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"description":"free5GC UDR is the user data repository (UDR) for free5GC, an an open-source project for 5th generation (5G) mobile core networks. In versions up to and including 1.4.2, a fail-open request handling flaw in the UDR service causes the `/nudr-dr/v2/policy-data/subs-to-notify` POST handler to continue processing requests even after request body retrieval or deserialization errors. This may allow unintended creation of Policy Data notification subscriptions with invalid, empty, or partially processed input, depending on downstream processor behavior. As of time of publication, a patched version is not available.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"free5GC UDR: Fail-open handling in PolicyDataSubsToNotifyPost allows unintended subscription creation","id":"CVE-2026-40343","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"free5gc:free5gc","products":["free5gc:free5gc"],"type":"business_logic","year":"2026"},"n_packages":3,"n_references":1,"next":{"headline":"MinIO has an Unauthenticated Object Write via Missing Signature Verification in Unsigned-Trailer Uploads","id":"CVE-2026-40344"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/free5gc/udr","purl":"pkg:golang/github.com/free5gc/udr","source":"GO-2026-5482"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.2"],"package":"github.com/free5gc/udr","purl":null,"source":"GHSA-jwch-w7wh-gqjm"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.4.2"],"package":"github.com/free5gc/udr","purl":"pkg:golang/github.com/free5gc/udr","source":"GHSA-jwch-w7wh-gqjm"}],"prev":{"headline":"Firebird: Path Traversal + Arbitrary File Write Leads to Remote Code Execution","id":"CVE-2026-40342"},"products":["udr"],"published":"2026-04-21","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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-22","vendors":["free5gc"]},"summary":"Attackers can create unintended policy data subscriptions in free5GC UDR by exploiting fail-open error handling during request processing.","url":"https://insights.sbomify.com/CVE-2026-40343/"}