{"id":"CVE-2026-28681","aliases":["CVE-2026-28681","GHSA-22m3-c7vp-49fj","PYSEC-2026-2186"],"related":[],"kind":"vulnerability","state":"published","title":"IRRd: web UI host header injection allows password reset poisoning via attacker-controlled email links","summary":"Internet Routing Registry daemon version 4 is an IRR database server, processing IRR objects in the RPSL format. From version 4.4.0 to before version 4.4.5 and from version 4.5.0 to before version 4.5.1, an attacker can manipulate the HTTP Host header on a password reset or account creation request. The confirmation link in the resulting email can then point to an attacker-controlled domain. Opening the link in the email is sufficient to pass the token to the attacker, who can then use it on the real IRRD instance to take over the account. A compromised account can then be used to modify RPSL objects maintained by the account's mntners and perform other account actions. If the user had two-factor authentication configured, which is required for users with override access, an attacker is not able to log in, even after successfully resetting the password. This issue has been patched in versions 4.4.5 and 4.5.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Internet Routing Registry daemon version 4 is an IRR database server, processing IRR objects in the RPSL format. From version 4.4.0 to before version 4.4.5 and from version 4.5.0 to before version 4.5.1, an attacker can manipulate the HTTP Host header on a password reset or account creation request. The confirmation link in the resulting email can then point to an attacker-controlled domain. Opening the link in the email is sufficient to pass the token to the attacker, who can then use it on the real IRRD instance to take over the account. A compromised account can then be used to modify RPSL objects maintained by the account's mntners and perform other account actions. If the user had two-factor authentication configured, which is required for users with override access, an attacker is not able to log in, even after successfully resetting the password. This issue has been patched in versions 4.4.5 and 4.5.1.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nAn attacker can manipulate the HTTP `Host` header on a password reset or account creation request. The confirmation link in the resulting email can then point to an attacker-controlled domain. Opening the link in the email is sufficient to pass the token to the attacker, who can then use it on the real IRRD instance to take over the account. A compromised account can then be used to modify RPSL objects maintained by the account's mntners and perform other account actions.\n\nIf the user had two-factor authentication configured, which is required for users with override access, an attacker is not able to log in, even after successfully resetting the password.\n\nThis issue affects IRRD 4.5.0 and all 4.4.x versions prior to 4.4.5. IRRD 4.3 and earlier are not affected, as they did not include the web UI.\n\n## Cause\n\nEmail links in account creation, password reset, and mntner migration emails were generated from the HTTP request context, allowing an attacker to manipulate the HTTP `Host` header to redirect these links to an attacker-controlled domain (password reset poisoning).\n\n## Resolution\n\nRequests with a `Host` header that does not match `server.http.url` are now rejected, preventing Host header injection attacks against the web UI.\n\nAll existing password reset tokens are invalidated by this upgrade, rendering any tokens that may have been captured by an attacker unusable.\n\nPatched versions: 4.4.5 and 4.5.1.\n\n## Workarounds\n\nConfiguring a reverse proxy (such as nginx) to reject requests where the `Host` header does not match the expected hostname is an effective workaround. Enabling two-factor authentication is strongly recommended for all users, as it prevents account takeover even if a password reset token is compromised.\n\n## Detecting exploitation\n\nBecause the victim never interacts with the real IRRD instance in this attack, it is difficult to detect exploitation from logs alone.\n\nIndicators that an account was targeted or compromised:\n\n- A `password reset email requested` followed by `password (re)set successfully` where the delay is longer than expected. Legitimate users actively waiting for a reset email tend to complete it quickly; victims who receive an unexpected email are less likely to click it immediately, resulting in a longer delay.\n- Users receiving a password reset mail without requesting one.\n- If a successfully attacked user later attempts to log in with their original password, this appears in the logs as `user failed login due to invalid account or password`.\n\nAfter upgrading to a patched release, all existing password reset tokens are invalidated. Users who can still log in with their password after the upgrade can be certain their account has not been taken over.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Demonio de Internet Routing Registry versión 4 es un servidor de base de datos IRR, que procesa objetos IRR en formato RPSL. Desde la versión 4.4.0 hasta antes de la versión 4.4.5 y desde la versión 4.5.0 hasta antes de la versión 4.5.1, un atacante puede manipular el encabezado HTTP Host en una solicitud de restablecimiento de contraseña o creación de cuenta. El enlace de confirmación en el correo electrónico resultante puede entonces apuntar a un dominio controlado por el atacante. Abrir el enlace en el correo electrónico es suficiente para pasar el token al atacante, quien puede entonces usarlo en la instancia real de IRRD para tomar control de la cuenta. Una cuenta comprometida puede entonces ser utilizada para modificar objetos RPSL mantenidos por los mntners de la cuenta y realizar otras acciones de la cuenta. Si el usuario tenía la autenticación de dos factores configurada, lo cual es requerido para usuarios con acceso de anulación, un atacante no puede iniciar sesión, incluso después de restablecer la contraseña con éxito. Este problema ha sido parcheado en las versiones 4.4.5 y 4.5.1.","source":"nvd"}],"published":"2026-03-04T20:33:21.000Z","modified":"2026-07-13T07:26:40.433Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-601","CWE-640"],"affected":[{"ranges":[{"version":">= 4.4.0, < 4.4.5","status":"affected"},{"version":">= 4.5.0, < 4.5.1","status":"affected"}],"vendor":"irrdnet","product":"irrd","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.4.0","status":"affected","fixed":"4.4.5"}],"ecosystem":"PyPI","package":"irrd","purl":"pkg:pypi/irrd","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.5.1"}],"ecosystem":"PyPI","package":"irrd","purl":"pkg:pypi/irrd","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.4.0","fixed":"4.4.5"},{"status":"affected","introduced":"4.5.0","fixed":"4.5.1"}],"vendor":"internet_routing_registry_daemon_project","product":"internet_routing_registry_daemon","cpe":"cpe:2.3:a:internet_routing_registry_daemon_project:internet_routing_registry_daemon:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"4.4.0","status":"affected","fixed":"4.4.5"},{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.5.1"}],"ecosystem":"PyPI","package":"irrd","purl":"pkg:pypi/irrd","source":"pysec"}],"references":[{"url":"https://github.com/irrdnet/irrd/security/advisories/GHSA-22m3-c7vp-49fj","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/irrdnet/irrd/commit/8408e0f1b9f47eb2f2e712d6153e32194df05fbb","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/irrdnet/irrd/commit/cf62df4a49d3891e80b2879d9b324d1af050000c","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://irrd.readthedocs.io/en/stable/releases/4.4.5","tags":["advisory","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://irrd.readthedocs.io/en/stable/releases/4.5.1","tags":["advisory","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28681","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/irrdnet/irrd","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-06T15:58:15.412Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-28681","url":"https://www.cve.org/CVERecord?id=CVE-2026-28681","licence":"CVE Terms of Use","modified":"2026-03-06T16:07:02.713Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-22m3-c7vp-49fj","url":"https://github.com/advisories/GHSA-22m3-c7vp-49fj","licence":"CC-BY-4.0","modified":"2026-07-13T07:26:40.433Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-28681","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-28681","licence":"Public domain","modified":"2026-06-17T10:28:53.900Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2186","url":"https://osv.dev/vulnerability/PYSEC-2026-2186","licence":"CC-BY-4.0","modified":"2026-07-13T07:15:34.111Z"}],"updatedAt":"2026-11-25T22:59:15.384Z","epss":{"score":0.0048,"percentile":0.43062,"date":"2026-12-01T12:00:22.000Z"}}