p PatchFirst

CVE-2026-8926

CVE-2026-8926 · password leak with netrc and user in URL

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

When asking curl to use a `.netrc` file to find credentials and at the same time specifying a URL with a username (without a password), like `https://[email protected]/`, curl could wrongly get and use the password for *another* user set in the `.netrc` file for that host if such a one exists and there is no match for the specified user.

CVSS 9.1 · Critical · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • curl

    Versions
    • ≥ 8.11.1, < 8.14.2: Affected (semver)
    • ≥ 8.15.0, < 8.16.1: Affected (semver)
    • ≥ 8.17.0, < 8.20.1: Affected (semver)

    Update to 8.14.2; Update to 8.16.1; Update to 8.20.1

  • curl

    Versions
    • ≥ e9b9bbac22c26cf67316fa8e6c6b9e831af31949, < 4ae1d7cc2643e4773a136395f12bc02fc6867854: Affected (git)

    Update to 4ae1d7cc2643e4773a136395f12bc02fc6867854

  • curl

    Versions
    • 8.20.0: Affected
    • 8.19.0: Affected
    • 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

    No fix published

  • 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
    • 8.14.1-2+deb13u4
    • 8.14.1-2+deb13u5
    • 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
    • 8.19.0-1+exp1
    • 8.19.0-1~bpo13+1
    • 8.19.0-2
    • 8.19.0-3
    • 8.19.0-3+exp1
    • 8.19.0-3+exp2
    • 8.19.0~rc1-1~exp1
    • 8.19.0~rc2-1
    • 8.19.0~rc2-2
    • 8.19.0~rc3-1
    • 8.20.0-1
    • 8.20.0-1+exp
    • 8.20.0-2
    • 8.20.0-2+exp1
    • 8.20.0-2~bpo13+1
    • 8.20.0-3
    • 8.20.0-4
    • 8.20.0-5
    • 8.20.0-5~bpo13+1
    • 8.20.0~rc1-1+exp1
    • 8.20.0~rc1-1+exp2
    • 8.20.0~rc1-1+exp3
    • 8.20.0~rc2-1
    • 8.20.0~rc2-1+exp1
    • 8.20.0~rc3-1
    • 8.20.0~rc3-1+exp1
    • 8.21.0-1
    • 8.21.0-1+exp1
    • 8.21.0-2
    • 8.21.0-2+exp1
    • 8.21.0-2~bpo13+1
    • 8.21.0~rc1-1+exp1
    • 8.21.0~rc2-1
    • 8.21.0~rc2-1+exp1
    • 8.21.0~rc3-1
    • 8.21.0~rc3-1+exp1
    • 8.22.0-1
    • 8.22.0-1+exp1
    • 8.22.0~rc2-1
    • 8.22.0~rc2-2
    • 8.22.0~rc3-1
    • 8.22.0~rc3-1+exp1
    • 8.23.0~rc1-1
    • 8.23.0~rc1-2
    • 8.23.0~rc2-1
    • 8.23.0~rc2-1+exp1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • 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
    • 8.19.0-1+exp1
    • 8.19.0-1~bpo13+1
    • 8.19.0-2
    • 8.19.0-3
    • 8.19.0-3+exp1
    • 8.19.0-3+exp2
    • 8.19.0~rc1-1~exp1
    • 8.19.0~rc2-1
    • 8.19.0~rc2-2
    • 8.19.0~rc3-1
    • 8.20.0-1
    • 8.20.0-1+exp
    • 8.20.0-2
    • 8.20.0-2+exp1
    • 8.20.0-2~bpo13+1
    • 8.20.0-3
    • 8.20.0-4
    • 8.20.0-5
    • 8.20.0-5~bpo13+1
    • 8.20.0~rc1-1+exp1
    • 8.20.0~rc1-1+exp2
    • 8.20.0~rc1-1+exp3
    • 8.20.0~rc2-1
    • 8.20.0~rc2-1+exp1
    • 8.20.0~rc3-1
    • 8.20.0~rc3-1+exp1
    • 8.21.0~rc1-1+exp1
    Affected ranges
    • ECOSYSTEM: < 8.21.0~rc2-1

    Update to 8.21.0~rc2-1

  • 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
    • 8.14.1-2ubuntu1.2
    • 8.14.1-2ubuntu1.3
    Affected ranges
    • ECOSYSTEM: < 8.14.1-2ubuntu1.4

    Update to 8.14.1-2ubuntu1.4

  • curl Ubuntu:26.04:LTS

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

    Update to 8.18.0-1ubuntu2.2

Original sources

Check your server →