Skip to content

A kept upstream connection can carry one visitor's connection-bound login to another #569

Closed

Description

@7schmiede

What happens

Since #559 the public link router (hub and node) keeps upstream connections per target (connpool::Pool, key local:<port>:<tls> or lane:<lease>:<port>:<tls>), and a static service's forward does the same per target (#556). A kept connection serves whichever request goes to that target next, from any visitor.

A service that ties its authentication to the connection (Windows Negotiate/NTLM, as Kestrel and HTTP.sys do by default) then treats a second visitor's request on that connection as the first visitor's authenticated session.

Expected

A connection whose request carried Authorization: Negotiate|NTLM, or whose answer carried WWW-Authenticate: Negotiate|NTLM, is not given back to the pool (as YARP does). Or, at least, the docs of public links and forward say so.

Found in a code review before 0.49.4; niche (connection-bound auth behind a public link), not reproduced.

Activity

  1. added
    enhancement
    on Nov 18, 2026
  2. self-assigned this
    on Nov 20, 2026
  3. added a commit that references this issue on Nov 20, 2026
    873c930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions