# CVE-2026-8368: Information disclosure in LWP::UserAgent

> Attackers can steal credentials by triggering cross-origin redirects that leak Authorization headers to malicious hosts.

- **Severity:** Medium 6.5 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 12 May 2026
- **Updated:** 19 May 2026
- **Also known as:** AZL-86907, BELL-CVE-2026-8368, DEBIAN-CVE-2026-8368, ECHO-353c-16d7-9c47, GHSA-39wp-j2gg-h44j, MGASA-2026-0150, OESA-2026-2464, SUSE-SU-2026:22353-1, SUSE-SU-2026:2962-1, SUSE-SU-2026:3033-1, UBUNTU-CVE-2026-8368, USN-8378-1, openSUSE-SU-2026:10781-1, openSUSE-SU-2026:21045-1

## What is CVE-2026-8368?

CVE-2026-8368 is a medium-severity vulnerability in OALDERS LWP::UserAgent, published on 12 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

LWP::UserAgent versions before 6.83 for Perl leak Authorization and Proxy-Authorization headers on cross-origin redirects.

On a 3xx response, the redirect handler strips only Host and Cookie before issuing the follow-up request. Caller-supplied Authorization and Proxy-Authorization headers are sent unchanged to the redirect target, including across scheme, host, or port changes.

A redirect to an attacker controlled host therefore discloses the caller's credentials to that host.

Weakness: CWE-522 (Insufficiently Protected Credentials)

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `perl-libwww-perl` | SUSE:Linux Enterprise Module for Basesystem 15 SP7 | All versions | 6.31-150000.3.3.1 |
| `perl-libwww-perl` | SUSE:Linux Enterprise Server 16.0 | All versions | 6.770.0-160000.3.1 |
| `perl-libwww-perl` | SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 6.05-6.3.1 |
| `perl-libwww-perl` | SUSE:Linux Enterprise Server for SAP applications 16.0 | All versions | 6.770.0-160000.3.1 |
| `perl-libwww-perl` | openSUSE:Leap 16.0 | All versions | 6.770.0-160000.3.1 |
| `perl-libwww-perl` | openSUSE:Tumbleweed | All versions | 6.830.0-1.1 |

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

Upgrade to a fixed version.

## Is CVE-2026-8368 being exploited?

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

## Fix prompt for AI coding agents

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

What it is: CVE-2026-8368 is a medium-severity vulnerability in OALDERS LWP::UserAgent, published on 12 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-8368 in the wild and no public exploit code.

Affected product: OALDERS LWP::UserAgent. 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-8368/ (Markdown: https://insights.sbomify.com/CVE-2026-8368/index.md)
```

## Sources

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

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