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.
Published: 2026-10-20
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch curl
AI Analysis

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.

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

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

Fri, 30 Oct 2026 17:30:00 +0000

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'}


Tue, 20 Oct 2026 20:45:00 +0000

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

Sun, 18 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Curl
Curl curl
Vendors & Products Curl
Curl curl

Sat, 17 Oct 2026 00:30:00 +0000

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


cve-icon MITRE

Status: PUBLISHED

Assigner: curl

Published:

Updated: 2026-10-30T16:22:24.369Z

Reserved: 2026-09-21T09:07:46.185Z

Link: CVE-2026-94266

cve-icon Vulnrichment

Updated: 2026-10-30T16:21:14.233Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T21:17:22.290

Modified: 2026-10-30T17:17:31.937

Link: CVE-2026-94266

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-14T12:00:00Z

Links: CVE-2026-94266 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-30T19:45:14Z

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials