Skip to main content
CVE-2023-27535VulnerabilityPublished Updated

CVE-2023-27535: https://github.com/curl/curl · Authentication Bypass by Primary Weakness

Affects https://github.com/curl/curlSource CVE Database V5

0

Not known to be exploited · CVSS 5.9 Medium : upgrade to 8.0.0 when convenient.

Data as of 26 Oct 2026, 07:57 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.8% chance of exploitation in 30 days – higher than 78% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 8.0.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Mar 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Upgrade curl/curl to 8.0.0.

Affected software

ProductAffectedFixed in
GitHubcurl/curlpkg:github/curl/curlOther threatsAffected
  • <8.0.0
Fixed in
  • 8.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should prioritize upgrading libcurl to version 8.0.0 or later, where this vulnerability is fixed. For environments where immediate upgrade is not feasible, organizations should audit and restrict the use of FTP connection reuse features, especially in contexts where multiple user credentials are involved. Implement strict validation and isolation of FTP sessions to ensure credentials are not inadvertently shared across connections. Network segmentation and monitoring of FTP traffic can help detect anomalous access patterns. Additionally, organizations should review and harden FTP configurations, disabling unnecessary FTP options such as CURLOPT_FTP_ACCOUNT and CURLOPT_FTP_ALTERNATIVE_TO_USER if not required. Employing secure alternatives to FTP, such as SFTP or FTPS with proper authentication controls, can reduce exposure. Finally, integrate vulnerability scanning and software composition analysis into the development lifecycle to detect outdated libcurl versions and enforce timely patching.

Description

An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in wrong credentials being used during subsequent transfers. Previously created connections are kept in a connection pool for reuse if they match the current setup. However, certain FTP settings such as CURLOPT_FTP_ACCOUNT, CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_FTP_SSL_CCC, and CURLOPT_USE_SSL were not included in the configuration match checks, causing them to match too easily. This could lead to libcurl using the wrong credentials when performing a transfer, potentially allowing unauthorized access to sensitive information.

References

Community reviews

Loading reviews…