CVE-2026-94266

password leak in CURLINFO_EFFECTIVE_URL

Published Oct 20, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
libcurl could accidentally return a URL for `curl_easy_getinfo()`'s
`CURLINFO_EFFECTIVE_URL` option containing credentials, even though neither
the URL provided to libcurl nor the redirected URL did.

Analysis

AI-generated

Technical impact

A flaw in libcurl causes the URL reported by CURLINFO_EFFECTIVE_URL to include embedded credentials, even when the original request URL and any redirect URLs do not contain them. As a result, if an application or script retrieves and logs or discloses this value, user credentials may be inadvertently exposed. The weakness arises from improper handling of authentication data during URL resolution, which can leak sensitive information to users or processes that capture the URL string.

Affected Systems

Applications that link against libcurl, such as the curl command‑line client or any software that uses libcurl for HTTP networking, are affected. Any deployment running libcurl without the patch that fixes this issue may expose credentials if the effective URL is accessed. No specific version numbers are listed in the data, so all releases of libcurl prior to the fix are potentially vulnerable.

Risk and Exploitability

The exploitation process requires no complex preparation beyond the application’s use of CURLINFO_EFFECTIVE_URL. Attackers can read the leaked credentials if they gain the same level of access the application has to its logs or outputs. The EPSS score of <1% indicates that the probability of exploitation is very low, and the vulnerability is not listed in CISA's KEV catalog. Nevertheless, because the vulnerability has a CVSS score of 7.5 and exposes sensitive credentials, the risk to organizations is moderate to high, especially for applications that log or display the URL.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade curl to a version that contains the official fix for this issue.
  • Modify the application code to avoid logging or exposing the string returned by CURLINFO_EFFECTIVE_URL; if the URL must be logged, strip or mask any embedded credentials before writing the log.
  • Ensure that credential usage in applications is limited to secure storage mechanisms and that the application does not automatically embed credentials into URLs that might be logged or displayed.

Generated by OpenCVE AI on October 30, 2026 at 19:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8927-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8932-1 curl vulnerabilities
Ubuntu USN Ubuntu USN USN-8927-2 curl vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
Description A flaw was found in curl. This vulnerability can lead to information disclosure by inadvertently revealing authentication credentials. When curl retrieves credentials from a local configuration file (such as a .netrc file), requesting the effective URL metadata can cause the returned destination address to improperly include those secret credentials. A local user may exploit this issue to view sensitive authentication tokens if an application or script queries and logs or displays the resolved URL. libcurl could accidentally return a URL for `curl_easy_getinfo()`'s `CURLINFO_EFFECTIVE_URL` option containing credentials, even though neither the URL provided to libcurl nor the redirected URL did.
Title curl: curl: password leak in CURLINFO_EFFECTIVE_URL password leak in CURLINFO_EFFECTIVE_URL
References
Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl
Type Values Removed Values Added
Description A flaw was found in curl. This vulnerability can lead to information disclosure by inadvertently revealing authentication credentials. When curl retrieves credentials from a local configuration file (such as a .netrc file), requesting the effective URL metadata can cause the returned destination address to improperly include those secret credentials. A local user may exploit this issue to view sensitive authentication tokens if an application or script queries and logs or displays the resolved URL.
Title curl: curl: password leak in CURLINFO_EFFECTIVE_URL
Weaknesses CWE-522
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Low

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
curl
Published
Updated
Oct 30, 2026, 4:22 PM
Reserved
Sep 21, 2026, 9:07 AM
Status
Awaiting Analysis
Published
Oct 20, 2026, 9:17 PM
Modified
Oct 30, 2026, 5:17 PM
Severity
Low
Public date
Oct 14, 2026, 12:00 PM