---
id: CVE-2026-94265
title: 'Authorization: Negotiate sent to foreign origin'
summary: |-
  When processing an HTTP redirect to a URL containing userinfo (a
  `username:password` component), curl might erroneously retain and re-transmit
  the original host's HTTP Negotiate authentication state. Consequently, a
  malicious server can …
severity: none
cwe:
  - CWE-200
vendor: curl
product: curl
affected:
  - curl >= 8.22.0 <= 8.22.0
  - curl >= 8.21.0 <= 8.21.0
published: '2026-10-20'
updated: '2026-10-20'
sourceUpdated: '2026-10-20T20:26:18.061Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-94265'
references:
  - url: 'https://curl.se/docs/CVE-2026-94265.json'
    label: json
  - url: 'https://curl.se/docs/CVE-2026-94265.html'
    label: www
  - url: 'https://hackerone.com/reports/4040551'
    label: issue
tags:
  - cve.org
ingestedAt: '2026-10-20T21:19:21.271Z'
---

## Overview

When processing an HTTP redirect to a URL containing userinfo (a
`username:password` component), curl might erroneously retain and re-transmit
the original host's HTTP Negotiate authentication state. Consequently, a
malicious server can trigger a redirect containing arbitrary userinfo to force
curl to send a freshly minted Kerberos ticket—generated using the ambient
identity of the client process to an untrusted third-party host, effectively
bypassing the domain-scoping restrictions normally enforced by the absence of
`--location-trusted`.

## Affected

- `curl >= 8.22.0 <= 8.22.0`
- `curl >= 8.21.0 <= 8.21.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
