p PatchFirst

CVE-2026-3783

CVE-2026-3783 · token leak with redirect and netrc

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

When an OAuth2 bearer token is used for an HTTP(S) transfer, and that transfer performs a redirect to a second URL, curl could leak that token to the second hostname under some circumstances. If the hostname that the first request is redirected to has information in the used .netrc file, with either of the `machine` or `default` keywords, curl would pass on the bearer token set for the first host also to the second one.

CVSS 5.3 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • curl

    Versions
    • ≥ 7.33.0, < 8.14.2: Affected (semver)
    • ≥ 8.15.0, < 8.16.1: Affected (semver)
    • ≥ 8.17.0, < 8.19.0: Affected (semver)

    Update to 8.14.2; Update to 8.16.1; Update to 8.19.0

  • curl

    Versions
    • ≥ 06c1bea72faabb6fad4b7ef818aafaa336c9a7aa, < e3d7401a32a46516c9e5ee877e613e62ed35bddc: Affected (git)

    No fix published

  • curl

    Versions
    • 8.18.0: Affected
    • 8.17.0: Affected
    • 8.16.0: Affected
    • 8.15.0: Affected
    • 8.14.1: Affected
    • 8.14.0: Affected
    • 8.13.0: Affected
    • 8.12.1: Affected
    • 8.12.0: Affected
    • 8.11.1: Affected
    • 8.11.0: Affected
    • 8.10.1: Affected
    • 8.10.0: Affected
    • 8.9.1: Affected
    • 8.9.0: Affected
    • 8.8.0: Affected
    • 8.7.1: Affected
    • 8.7.0: Affected
    • 8.6.0: Affected
    • 8.5.0: Affected
    • 8.4.0: Affected
    • 8.3.0: Affected
    • 8.2.1: Affected
    • 8.2.0: Affected
    • 8.1.2: Affected
    • 8.1.1: Affected
    • 8.1.0: Affected
    • 8.0.1: Affected
    • 8.0.0: Affected
    • 7.88.1: Affected
    • 7.88.0: Affected
    • 7.87.0: Affected
    • 7.86.0: Affected
    • 7.85.0: Affected
    • 7.84.0: Affected
    • 7.83.1: Affected
    • 7.83.0: Affected
    • 7.82.0: Affected
    • 7.81.0: Affected
    • 7.80.0: Affected
    • 7.79.1: Affected
    • 7.79.0: Affected
    • 7.78.0: Affected
    • 7.77.0: Affected
    • 7.76.1: Affected
    • 7.76.0: Affected
    • 7.75.0: Affected
    • 7.74.0: Affected
    • 7.73.0: Affected
    • 7.72.0: Affected
    • 7.71.1: Affected
    • 7.71.0: Affected
    • 7.70.0: Affected
    • 7.69.1: Affected
    • 7.69.0: Affected
    • 7.68.0: Affected
    • 7.67.0: Affected
    • 7.66.0: Affected
    • 7.65.3: Affected
    • 7.65.2: Affected
    • 7.65.1: Affected
    • 7.65.0: Affected
    • 7.64.1: Affected
    • 7.64.0: Affected
    • 7.63.0: Affected
    • 7.62.0: Affected
    • 7.61.1: Affected
    • 7.61.0: Affected
    • 7.60.0: Affected
    • 7.59.0: Affected
    • 7.58.0: Affected
    • 7.57.0: Affected
    • 7.56.1: Affected
    • 7.56.0: Affected
    • 7.55.1: Affected
    • 7.55.0: Affected
    • 7.54.1: Affected
    • 7.54.0: Affected
    • 7.53.1: Affected
    • 7.53.0: Affected
    • 7.52.1: Affected
    • 7.52.0: Affected
    • 7.51.0: Affected
    • 7.50.3: Affected
    • 7.50.2: Affected
    • 7.50.1: Affected
    • 7.50.0: Affected
    • 7.49.1: Affected
    • 7.49.0: Affected
    • 7.48.0: Affected
    • 7.47.1: Affected
    • 7.47.0: Affected
    • 7.46.0: Affected
    • 7.45.0: Affected
    • 7.44.0: Affected
    • 7.43.0: Affected
    • 7.42.1: Affected
    • 7.42.0: Affected
    • 7.41.0: Affected
    • 7.40.0: Affected
    • 7.39.0: Affected
    • 7.38.0: Affected

    No fix published

  • curl Debian:12

    Versions
    • 7.88.1-10
    • 7.88.1-10+deb12u1
    • 7.88.1-10+deb12u11
    • 7.88.1-10+deb12u12
    • 7.88.1-10+deb12u13
    • 7.88.1-10+deb12u14
    • 7.88.1-10+deb12u1~bpo11+1
    • 7.88.1-10+deb12u2
    • 7.88.1-10+deb12u3
    • 7.88.1-10+deb12u3~bpo11+1
    • 7.88.1-10+deb12u4
    • 7.88.1-10+deb12u5
    • 7.88.1-10+deb12u5~bpo11+1
    • 7.88.1-10+deb12u6
    • 7.88.1-10+deb12u6~bpo11+1
    • 7.88.1-10+deb12u7
    • 7.88.1-10+deb12u8
    • 7.88.1-10+deb12u9
    Affected ranges
    • ECOSYSTEM: < 7.88.1-10+deb12u15

    Update to 7.88.1-10+deb12u15

  • curl Debian:13

    Versions
    • 8.14.1-2
    • 8.14.1-2+deb13u1
    • 8.14.1-2+deb13u2
    • 8.14.1-2+deb13u2~bpo13+1
    • 8.14.1-2+deb13u3
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2+deb13u4

    Update to 8.14.1-2+deb13u4

  • curl Debian:14

    Versions
    • 8.14.1-2
    • 8.14.1-2+exp1
    • 8.15.0-1
    • 8.15.0-1~bpo13+1
    • 8.15.0-1~exp1
    • 8.15.0~rc1-1exp1
    • 8.15.0~rc2-1~exp1
    • 8.15.0~rc3-1~exp1
    • 8.16.0-1
    • 8.16.0-1+exp1
    • 8.16.0-1~bpo13+1
    • 8.16.0-2
    • 8.16.0-3
    • 8.16.0-4
    • 8.16.0-4~bpo13+1
    • 8.16.0~rc1-1~exp1
    • 8.16.0~rc2-1
    • 8.16.0~rc2-2
    • 8.16.0~rc3-1
    • 8.17.0-1
    • 8.17.0-2
    • 8.17.0-3
    • 8.17.0~rc1-1~exp1
    • 8.17.0~rc2-1
    • 8.17.0~rc3-1
    • 8.18.0-1
    • 8.18.0-1~bpo13+1
    • 8.18.0-2
    • 8.18.0~rc1-1+exp1
    • 8.18.0~rc2-1
    • 8.18.0~rc3-1
    • 8.19.0-1~bpo13+1
    • 8.19.0~rc1-1~exp1
    • 8.19.0~rc2-1
    • 8.19.0~rc2-2
    • 8.19.0~rc3-1
    Affected ranges
    • ECOSYSTEM: < 8.19.0-1

    Update to 8.19.0-1

  • curl Ubuntu:Pro:20.04:LTS

    Versions
    • 7.65.3-1ubuntu3
    • 7.65.3-1ubuntu4
    • 7.66.0-1ubuntu1
    • 7.67.0-2ubuntu1
    • 7.68.0-1ubuntu1
    • 7.68.0-1ubuntu2
    • 7.68.0-1ubuntu2.1
    • 7.68.0-1ubuntu2.2
    • 7.68.0-1ubuntu2.4
    • 7.68.0-1ubuntu2.5
    • 7.68.0-1ubuntu2.6
    • 7.68.0-1ubuntu2.7
    • 7.68.0-1ubuntu2.10
    • 7.68.0-1ubuntu2.11
    • 7.68.0-1ubuntu2.12
    • 7.68.0-1ubuntu2.13
    • 7.68.0-1ubuntu2.14
    • 7.68.0-1ubuntu2.15
    • 7.68.0-1ubuntu2.16
    • 7.68.0-1ubuntu2.18
    • 7.68.0-1ubuntu2.19
    • 7.68.0-1ubuntu2.20
    • 7.68.0-1ubuntu2.21
    • 7.68.0-1ubuntu2.22
    • 7.68.0-1ubuntu2.23
    • 7.68.0-1ubuntu2.24
    • 7.68.0-1ubuntu2.25
    • 7.68.0-1ubuntu2.25+esm2
    Affected ranges
    • ECOSYSTEM: < 7.68.0-1ubuntu2.25+esm3

    Update to 7.68.0-1ubuntu2.25+esm3

  • curl Ubuntu:22.04:LTS

    Versions
    • 7.74.0-1.3ubuntu2
    • 7.74.0-1.3ubuntu3
    • 7.80.0-3
    • 7.81.0-1
    • 7.81.0-1ubuntu1.1
    • 7.81.0-1ubuntu1.2
    • 7.81.0-1ubuntu1.3
    • 7.81.0-1ubuntu1.4
    • 7.81.0-1ubuntu1.6
    • 7.81.0-1ubuntu1.7
    • 7.81.0-1ubuntu1.8
    • 7.81.0-1ubuntu1.10
    • 7.81.0-1ubuntu1.11
    • 7.81.0-1ubuntu1.13
    • 7.81.0-1ubuntu1.14
    • 7.81.0-1ubuntu1.15
    • 7.81.0-1ubuntu1.16
    • 7.81.0-1ubuntu1.17
    • 7.81.0-1ubuntu1.18
    • 7.81.0-1ubuntu1.19
    • 7.81.0-1ubuntu1.20
    • 7.81.0-1ubuntu1.21
    • 7.81.0-1ubuntu1.22
    Affected ranges
    • ECOSYSTEM: < 7.81.0-1ubuntu1.23

    Update to 7.81.0-1ubuntu1.23

  • curl Ubuntu:24.04:LTS

    Versions
    • 8.2.1-1ubuntu3
    • 8.2.1-1ubuntu3.1
    • 8.4.0-2ubuntu1
    • 8.5.0-2ubuntu1
    • 8.5.0-2ubuntu2
    • 8.5.0-2ubuntu8
    • 8.5.0-2ubuntu9
    • 8.5.0-2ubuntu10
    • 8.5.0-2ubuntu10.1
    • 8.5.0-2ubuntu10.2
    • 8.5.0-2ubuntu10.3
    • 8.5.0-2ubuntu10.4
    • 8.5.0-2ubuntu10.5
    • 8.5.0-2ubuntu10.6
    • 8.5.0-2ubuntu10.7
    Affected ranges
    • ECOSYSTEM: < 8.5.0-2ubuntu10.8

    Update to 8.5.0-2ubuntu10.8

  • curl Ubuntu:25.10

    Versions
    • 8.12.1-3ubuntu1
    • 8.13.0-5ubuntu1
    • 8.14.1-1ubuntu2
    • 8.14.1-1ubuntu3
    • 8.14.1-2ubuntu1
    • 8.14.1-2ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2ubuntu1.2

    Update to 8.14.1-2ubuntu1.2

  • curl Ubuntu:26.10

    Affected ranges
    • ECOSYSTEM: < 8.18.0-1ubuntu2

    Update to 8.18.0-1ubuntu2

  • curl Ubuntu:26.04:LTS

    Versions
    • 8.14.1-2ubuntu1
    • 8.17.0-1ubuntu1
    • 8.18.0-1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 8.18.0-1ubuntu2

    Update to 8.18.0-1ubuntu2

Original sources

Check your server →