Security mailing lists by PureSourceCode

CVE-2026-126348

MEDIUM 4.3CVSS 3.1

Addressable display_uri can show misleading hosts with invalid Punycode A-labels

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, the pure-Ruby Addressable::IDNA.to_unicode implementation decodes invalid Punycode A-labels instead of returning them unchanged. Labels that decode to ASCII text or fail to convert back to the same A-label can therefore make Addressable::URI#display_uri show a trusted-looking host while host, normalized_host, and the connection target retain the attacker-controlled encoded host. A trusted-name comparison using Addressable::IDNA.to_unicode output can also treat two different hosts as the same without displaying the URI. The native libidn implementation, to_ascii, and normalized_host are unaffected. This issue is fixed in version 2.9.1.

Published
12 Nov 2026
Last modified
13 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-1007CWE-20
Also known as
GHSA-9crm-g4mf-wc5j
Sources
NVDJSONOSV GHSA-9crm-g4mf-wc5jJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV RubyGems addressable >= 2.0.0, < 2.9.1 2.9.1

References

History

  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 12 Nov 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.