# JLSEC-2025-31: An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature...

- Severity: Medium 5.9 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-10T15:04:01.319Z
- Modified: 2026-07-25T18:23:40.314Z
- Related: CVE-2023-27535

## 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.

(As written by Julia Security Advisories.)

## Affected

- CURL_jll (Julia): before 8.5.0+0
- LibCURL_jll (Julia): before 8.0.1+0

## References

- <https://hackerone.com/reports/1892780> (web)
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00025.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36NBD5YLJXXEDZLDGNFCERWRYJQ6LAQW/> (web)
- <https://security.gentoo.org/glsa/202310-12> (web)
- <https://security.netapp.com/advisory/ntap-20230420-0010/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-31](https://osv.dev/vulnerability/JLSEC-2025-31), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2025-31 · Whole record: https://cve.day/JLSEC-2025-31.json · Rebuilt by cve.day 2026-11-25T22:56:25.801Z
