# CVE-2020-7071: FILTER_VALIDATE_URL accepts URLs with invalid userinfo

- Severity: Medium 5.3 (CVSS:3.1, scored by php) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.94%, higher than 87% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-15T04:10:16.239Z
- Modified: 2026-09-08T08:48:18.197Z
- Also known as: BIT-LIBPHP-2020-7071, BIT-PHP-2020-7071, BIT-PHP-MIN-2020-7071
- Weaknesses: CWE-20
- Assigned by: php

## Description

In PHP versions 7.3.x below 7.3.26, 7.4.x below 7.4.14 and 8.0.0, when validating URL with functions like filter_var($url, FILTER_VALIDATE_URL), PHP will accept an URL with invalid password as valid URL. This may lead to functions that rely on URL being valid to mis-parse the URL and produce wrong data as components of the URL.

(As written by CVE List.)

## Affected

- PHP Group PHP: from 7.3.x before 7.3.26; from 7.4.x before 7.4.14; from 8.0.X before 8.0.1
- php php: from 7.3.0 before 7.3.26; from 7.4.0 before 7.4.14; from 8.0.0 before 8.0.1
- debian debian_linux: 9.0; 10.0
- netapp clustered_data_ontap: no versions given
- libphp (Bitnami): from 7.3.0 before 7.3.26; from 7.4.0 before 7.4.14; from 8.0.0 before 8.0.1
- php (Bitnami): from 7.3.0 before 7.3.26; from 7.4.0 before 7.4.14; from 8.0.0 before 8.0.1
- php-min (Bitnami): from 7.3.0 before 7.3.26; from 7.4.0 before 7.4.14; from 8.0.0 before 8.0.1

## Every score

- php: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://bugs.php.net/bug.php?id=77423> (exploit, advisory, issue-tracking, vendor-advisory)
- <https://www.debian.org/security/2021/dsa-4856> (advisory, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202105-23> (advisory, third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/07/msg00008.html> (advisory, mailing-list, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (advisory, patch, third-party-advisory)
- <https://www.tenable.com/security/tns-2021-14> (advisory, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210312-0005/> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-7071> (web)

## Sources

- CVE List: [CVE-2020-7071](https://www.cve.org/CVERecord?id=CVE-2020-7071), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2020-7071](https://nvd.nist.gov/vuln/detail/CVE-2020-7071), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-LIBPHP-2020-7071](https://osv.dev/vulnerability/BIT-LIBPHP-2020-7071), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-2020-7071](https://osv.dev/vulnerability/BIT-PHP-2020-7071), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PHP-MIN-2020-7071](https://osv.dev/vulnerability/BIT-PHP-MIN-2020-7071), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2020-7071 · Whole record: https://cve.day/CVE-2020-7071.json · Rebuilt by cve.day 2026-11-25T22:57:57.343Z
