REDHAT-BUG-2550717: Low severity curl curl vulnerability

Published Oct 13, 2026
·
Updated

password leak in CURLINFOEFFECTIVEURL =======================================

Project curl Security Advisory, October 14 2026 Permalink

VULNERABILITY -------------

libcurl could accidentaly return a URL for curleasygetinfo's CURLINFOEFFECTIVEURL option containing credentials, even though neither the URL provided to libcurl nor the redirected URL did not.

INFO ----

The curl tool exposes the same information using the command line option:

--write-out '%{urleffective}'

This credential leak can happen when curl retrieves credentials from a .netrc file.

The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2026-94266 to this issue.

CWE-522: Insufficiently Protected Credentials

Severity: low

This bug is not considered a C mistake (likely to have been avoided had we not been using C).

AFFECTED VERSIONS -----------------

- Affected versions: curl 7.62.0 to and including 8.22.0 - Not affected versions: curl < 7.62.0 and >= 8.23.0 - Introduced-in: https://github.com/curl/curl/commit/46e164069d1a5230e4e64

libcurl is used by many applications, but not always advertised as such!

This flaw also affects the curl command line tool.

SOLUTION --------

- Fixed-in: https://github.com/curl/curl/commit/7a6bd027d0de2b6857472d35d

RECOMMENDATIONS ---------------

A - Upgrade curl to version 8.23.0

B - Apply the patch to your local version

C - Do not use CURLINFOEFFECTIVEURL.

TIMELINE --------

This issue was reported to the curl project on September 18, 2026.

curl 8.23.0 was released on October 14, 2026, coordinated with the publication of this advisory.

CREDITS -------

- Reported-by: Joshua Rogers (Aisle Research) - Patched-by: Daniel Stenberg

Thanks a lot!

Affected Software

1 affected component
curl curl>=7.62.0<=8.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.23.0
  2. Compensating control

    Do not use libcurl's CURLINFO_EFFECTIVE_URL option.

Event History

Oct 13, 2026
Data Sourced
via Red Hat·05:32 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to credential disclosure?

Applications using libcurl, and the curl command-line tool, may be exposed when credentials are retrieved from a .netrc file. The leak is surfaced through CURLINFO_EFFECTIVE_URL in libcurl or through --write-out '%{url_effective}' in the curl tool.

2

What versions should be prioritized for remediation?

curl versions 7.62.0 through 8.22.0, inclusive, are affected. Versions earlier than 7.62.0 and versions 8.23.0 or later are not affected.

3

How can I determine whether an application may be affected?

Check whether it uses an affected curl version and obtains credentials from a .netrc file. Also identify whether it reads or exposes CURLINFO_EFFECTIVE_URL, or invokes curl with --write-out '%{url_effective}', since those interfaces can return the credential-containing URL.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203