{"answers":{"affected":"3 open source packages ship an affected version, including github.com/doyensec/safeurl.","exploited":"There is no known exploitation of CVE-2026-54452 in the wild and no public exploit code.","fix":"Upgrade github.com/doyensec/safeurl to 0.2.4 or later.","what":"CVE-2026-54452 is a medium-severity server-side request forgery vulnerability in doyensec safeurl, published on 14 Sep 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-54452 and fix it if it is affected.\n\nWhat it is: CVE-2026-54452 is a medium-severity server-side request forgery vulnerability in doyensec safeurl, published on 14 Sep 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-54452 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/doyensec/safeurl (Go): affected all versions; fixed in 0.2.4\n- github.com/doyensec/safeurl (Go): affected all versions; fixed in 0.2.4\n- github.com/doyensec/safeurl (Go): affected all versions; fixed in 0.2.4\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-54452/ (Markdown: https://insights.sbomify.com/CVE-2026-54452/index.md)","id":"CVE-2026-54452","markdown":"https://insights.sbomify.com/CVE-2026-54452/index.md","name":"CVE-2026-54452","record":{"aliases":["GHSA-xgch-x3mx-cm3c","GO-2026-5997"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Go SSRF protection library","requires_auth":"none","summary":"Attackers can bypass SSRF protections in safeurl by targeting omitted IPv6 ranges when IPv6 support is explicitly enabled.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"safeurl is a server-side request forgery protection library. Prior to 0.2.4, the privateNetworks list in ip.go omits the IPv6 ranges 64:ff9b:1::/48, 5f00::/16, 3fff::/20, and 100:0:0:1::/64. When an application enables IPv6 with EnableIPv6(true), an attacker-controlled destination in one of these ranges is not recognized as non-public and can pass the SSRF destination check, potentially allowing access to resources hosted within the omitted ranges. IPv6 is disabled by default, and configurations that retain EnableIPv6(false) are not exposed to this bypass. This issue is fixed in version 0.2.4.","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":"safeurl: Missing IPv6 CIDR Ranges in Blocklist","id":"CVE-2026-54452","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"OpenCATS: Authenticated Remote Code Execution via SettingsUI (manageProfessional)","id":"CVE-2026-54453"},"packages":[{"ecosystem":"Go","fixed":["0.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/doyensec/safeurl","purl":null,"source":"GHSA-xgch-x3mx-cm3c"},{"ecosystem":"Go","fixed":["0.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/doyensec/safeurl","purl":"pkg:golang/github.com/doyensec/safeurl","source":"GHSA-xgch-x3mx-cm3c"},{"ecosystem":"Go","fixed":["0.2.4"],"introduced":["0"],"last_affected":[],"package":"github.com/doyensec/safeurl","purl":"pkg:golang/github.com/doyensec/safeurl","source":"GO-2026-5997"}],"prev":{"headline":"Elixir protobuf: Unbounded recursion depth in embedded-message decoding","id":"CVE-2026-54451"},"products":["safeurl"],"published":"2026-09-14","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["doyensec"]},"summary":"Attackers can bypass SSRF protections in safeurl by targeting omitted IPv6 ranges when IPv6 support is explicitly enabled.","url":"https://insights.sbomify.com/CVE-2026-54452/"}