Authentication Bypass by Primary Weakness Affecting libcurl package, versions [7.76.0,8.19.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBCURL-15460436
  • published11 Mar 2026
  • disclosed11 Mar 2026
  • creditZhicheng Chen

Introduced: 11 Mar 2026

NewCVE-2026-1965  (opens in a new tab)
CWE-305  (opens in a new tab)

How to fix?

Upgrade libcurl to version 8.19.0 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass by Primary Weakness in url.c, when negotiating an HTTP or HTTPS connection. An attacker can gain unauthorized access to resources or perform actions with the privileges of another user by forcing the reuse of an authenticated connection established with different credentials, on the same remote server.

Workaround

This vulnerability can be avoided by disabling connection reuse using the options CURLOPT_FRESH_CONNECT, CURLOPT_MAXCONNECTS, or CURLMOPT_MAX_HOST_CONNECTIONS.

CVSS Base Scores

version 4.0
version 3.1