CVE Professor
/
All CVEs
CVE-2026-141539

CVE-2026-141539 — Addressable — CWE-158 · CWE-626

MEDIUM CVSS 4.8 ⚡ EPSS 0.4% GitHub

### Impact With the native IDNA backend, which Addressable uses when the `idn-ruby` gem is installed, a host with a pct-encoded NUL is cut short when it is normalized. `Addressable::URI#normalized_host` decodes the host and passes each label to libidn, which reads the NUL as the end of the string and drops the rest of the label. `http://internal.example%00x/` normalizes to `http://internal.example/`. `#host` and `#to_s` keep the host as written, while `#normalize`, `#normalized_host`, `#normalized_authority`, `#normalized_site`, `#origin` and `#display_uri` give the shortened host, and `#==` treats the URI as equal to one with the shortened host. An application that checks one form and uses the other can be made to send a request to a host it meant to block: a denylist check of `uri.host` lets `internal.example%00x` through, and a request built from `uri.normalize` or `uri.origin` goes to `internal.example`. An application would need to mix the two to be vulnerable. The pure-Ruby IDNA backend, used when `idn-ruby` isn't installed, keeps the NUL and isn't affected. ### Affected Versions This vulnerability affects Addressable >= 2.2.5 when the `idn-ruby` gem is installed. It is fixed in 2.10.0, where the native backend leaves a label with a NUL unchanged, as the pure-Ruby backend does. ### Workarounds - Check the same host you use: if the request is made from `uri.normalize` or `uri.origin`, check `uri.normalize.host`, not `uri.host`. - Reject a URI whose host contains `

### Impact With the native IDNA backend, which Addressable uses when the `idn-ruby` gem is installed, a host with a pct-encoded NUL is cut short when it is normalized. `Addressable::URI#normalized_host` decodes the host and passes each label to libidn, which reads the NUL as the end of the string and drops the rest of the label. `http://internal.example%00x/` normalizes to `http://internal.example/`. `#host` and `#to_s` keep the host as written, while `#normalize`, `#normalized_host`, `#normalized_authority`, `#normalized_site`, `#origin` and `#display_uri` give the shortened host, and `#==` treats the URI as equal to one with the shortened host. An application that checks one form and uses the other can be made to send a request to a host it meant to block: a denylist check of `uri.host` lets `internal.example%00x` through, and a request built from `uri.normalize` or `uri.origin` goes to `internal.example`. An application would need to mix the two to be vulnerable. The pure-Ruby IDNA backend, used when `idn-ruby` isn't installed, keeps the NUL and isn't affected. ### Affected Versions This vulnerability affects Addressable >= 2.2.5 when the `idn-ruby` gem is installed. It is fixed in 2.10.0, where the native backend leaves a label with a NUL unchanged, as the pure-Ruby backend does. ### Workarounds - Check the same host you use: if the request is made from `uri.normalize` or `uri.origin`, check `uri.normalize.host`, not `uri.host`. - Reject a URI whose host contains `

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.4%
30-day probability
In the 34. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141539
CVSS 4.8/10 · MEDIUM · 01.12.2026
CWE: CWE-158, CWE-626
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Impact

With the native IDNA backend, which Addressable uses when the idn-ruby gem is installed, a host with a pct-encoded NUL is cut short when it is normalized. Addressable::URI#normalized_host decodes the host and passes each label to libidn, which reads the NUL as the end of the string and drops the rest of the label. http://internal.example%00x/ normalizes to `http://internal.exa…
Affected: addressable

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; limited integrity modification (I:L).

🛡️ REMEDIATION
→ Apply vendor security update for addressable.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
4.8 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-158 CWE-626
Affected Products (1)
addressable
References & Advisories (4)
Related CVEs
6.3
CVE-2026-143881
The MongoDB PHP Driver does not neutralize NUL characters in the user name and password values it places into
8.9
CVE-2026-144591
PhpSpreadsheet through 5.12.0 contains a server-side request forgery vulnerability that allows attackers to re
8.5
CVE-2026-120096
Missing authorization in the push publishing endpoints REST API (/api/v1/environments/endpoints) and in the pu
8.2
CVE-2026-144617
Traccar 6.13.0 before 6.18.0 contains a denial of service vulnerability that allows remote attackers knowing a
8.2
CVE-2026-144623
Micronaut core HTTP client 4.10.24 through 4.10.37 and 5.0.1 through 5.3.0 contains a credential leak vulnerab
8.2
CVE-2026-144684
postcss-selector-parser before 6.1.6 and 7.x before 7.1.8 contains a denial of service vulnerability that allo
8.2
CVE-2026-144963
Docutils before 0.23.1 contains a TeX injection vulnerability in the LaTeX writer that allows attackers supply