# CVE-2026-15689: Open redirect in Dancer2::Plugin::Auth::Extensible

> Attackers can poison password reset links via Host header manipulation to steal reset codes and take over user accounts in Dancer2 applications.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 15 Aug 2026
- **Updated:** 17 Aug 2026
- **Also known as:** GHSA-gmj3-5xfg-q3qg, openSUSE-SU-2026:11564-1

## What is CVE-2026-15689?

CVE-2026-15689 is a critical vulnerability in ABEVERLEY Dancer2::Plugin::Auth::Extensible, published on 15 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Dancer2::Plugin::Auth::Extensible versions through 0.713 for Perl allow password reset link poisoning via the request Host header in _default_email_password_reset and _default_welcome_send.

Both default emails emit a link of the form `$base/login/$code`, whose authority comes from the request Host header, or from X-Forwarded-Host under behind_proxy (obtained from Dancer2's request->base function). A POST to /login carrying submit_reset and a username needs no authentication: it stores a fresh reset code against that account and mails the account holder a link to a host of the sender's choosing. The welcome mail takes the same path when the application calls create_user with email_welcome set.

Through 0.711 the handlers read `request->uri_base` and `request->base` directly; Versions 0.712 and later provide an uri_base configuration key that defaults to the untrusted `request->uri_base` when unset.

The default configuration with reset_password_handler enabled and the default message text, a recipient who follows the link hands a working reset code to the sender's host, which is enough to take over the account.

Weakness: CWE-640 (Weak Password Recovery Mechanism for Forgotten Password)

## Which versions are affected by CVE-2026-15689?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `perl-Dancer2-Plugin-Auth-Extensible` | openSUSE:Tumbleweed | All versions | 0.713.0-1.1 |

## How do I fix CVE-2026-15689?

Apply the vendor's patch.

## Is CVE-2026-15689 being exploited?

There is no known exploitation of CVE-2026-15689 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-15689 and fix it if it is affected.

What it is: CVE-2026-15689 is a critical vulnerability in ABEVERLEY Dancer2::Plugin::Auth::Extensible, published on 15 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-15689 in the wild and no public exploit code.

Affected product: ABEVERLEY Dancer2::Plugin::Auth::Extensible. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. 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.
2. 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.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-15689/ (Markdown: https://insights.sbomify.com/CVE-2026-15689/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-15689
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-15689
- OSV: https://osv.dev/vulnerability/CVE-2026-15689

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-15689/
Summaries are generated and may contain mistakes; the official description above is the record.
