{"answers":{"affected":"1 open source package ship an affected version, including addressable.","exploited":"There is no known exploitation of CVE-2026-126349 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls Addressable::IDNA.to_unicode or Addressable::URI#display_uri. Many projects that include it are not exposed.","fix":"Upgrade addressable to 2.9.1 or later.","what":"CVE-2026-126349 is a low-severity security feature bypass vulnerability in sporkmonger addressable, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-126349 and fix it if it is affected.\n\nWhat it is: CVE-2026-126349 is a low-severity security feature bypass vulnerability in sporkmonger addressable, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-126349 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls Addressable::IDNA.to_unicode or Addressable::URI#display_uri. Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- addressable (RubyGems): affected from 2.0.0; fixed in 2.9.1\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.\n   If an affected version is present, also search the code for calls to Addressable::IDNA.to_unicode or Addressable::URI#display_uri and report whether any exist.\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-126349/ (Markdown: https://insights.sbomify.com/CVE-2026-126349/index.md)","id":"CVE-2026-126349","markdown":"https://insights.sbomify.com/CVE-2026-126349/index.md","name":"CVE-2026-126349","record":{"aliases":["GHSA-539f-xcgw-2gjg"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby URI library","requires_auth":"none","requires_specific_call":true,"summary":"Attackers can craft Punycode hostnames that make Addressable show misleading hosts, enabling spoofing of trusted URLs in Ruby apps.","user_interaction":"required","vuln_class":"security_feature_bypass","vulnerable_functions":["Addressable::IDNA.to_unicode","Addressable::URI#display_uri"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-451","name":"User Interface (UI) Misrepresentation of Critical Information"},{"id":"CWE-176","name":"Improper Handling of Unicode Encoding"},{"id":"CWE-1007","name":"Insufficient Visual Distinction of Homoglyphs Presented to User"}],"description":"Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, Addressable::IDNA.to_unicode can decode Punycode labels that contain bidirectional controls, zero-width characters, control characters, or other default-ignorable format characters. Addressable::URI#display_uri can consequently show a reordered or visually indistinguishable hostname even though host, normalized_host, and network connections use the original encoded hostname. The pure-Ruby backend accepts the full prohibited set, while the native libidn backend is affected from 2.5.2 for characters added after Unicode 3.2. This issue is fixed in version 2.9.1.","ecosystems":["RubyGems"],"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":"Addressable display_uri can show misleading hosts containing bidi and invisible characters","id":"CVE-2026-126349","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":1,"n_references":3,"next":{"headline":"Addressable: Regular Expression Denial of Service in Addressable templates with certain exploded expressions","id":"CVE-2026-126350"},"nickname":null,"packages":[{"ecosystem":"RubyGems","fixed":["2.9.1"],"introduced":["2.0.0"],"last_affected":[],"package":"addressable","purl":null,"source":"GHSA-539f-xcgw-2gjg"}],"prev":{"headline":"Addressable display_uri can show misleading hosts with invalid Punycode A-labels","id":"CVE-2026-126348"},"products":["addressable"],"published":"2026-11-12","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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-12","vendors":["sporkmonger"]},"summary":"Attackers can craft Punycode hostnames that make Addressable show misleading hosts, enabling spoofing of trusted URLs in Ruby apps.","url":"https://insights.sbomify.com/CVE-2026-126349/"}