# CVE-2023-41885: Piccolo's current `BaseUser.login` implementation is vulnerable to time based user enumeration

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `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): 0.56%, higher than 47% of CVEs (2026-12-02)
- Published: 2023-09-12T13:50:23.000Z
- Modified: 2026-06-17T06:23:00.247Z
- Also known as: GHSA-h7cm-mrvq-wcfr, PYSEC-2023-173
- Weaknesses: CWE-203, CWE-204
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Piccolo is an ORM and query builder which supports asyncio. In versions 0.120.0 and prior, the implementation of `BaseUser.login` leaks enough information to a malicious user such that they would be able to successfully generate a list of valid users on the platform. As Piccolo on its own does not also enforce strong passwords, these lists of valid accounts are likely to be used in a password spray attack with the outcome being attempted takeover of user accounts on the platform. The impact of this vulnerability is minor as it requires chaining with other attack vectors in order to gain more then simply a list of valid users on the underlying platform. The likelihood of this vulnerability is possible as it requires minimal skills to pull off, especially given the underlying login functionality for Piccolo based sites is open source. This issue has been patched in version 0.121.0.

(As written by CVE List.)

## Affected

- piccolo-orm piccolo: < 0.121.0; before 0.121.0
- piccolo (PyPI): before 0.121.0; before edcfe3568382922ba3e3b65896e6e7272f972261

## Every score

- GitHub_M: 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`
- GitHub: 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:L/I:N/A:N`
- PyPA Advisory Database: 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`

## References

- <https://github.com/piccolo-orm/piccolo/security/advisories/GHSA-h7cm-mrvq-wcfr> (advisory, vendor-advisory, web)
- <https://github.com/piccolo-orm/piccolo/commit/edcfe3568382922ba3e3b65896e6e7272f972261> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41885> (advisory)
- <https://github.com/piccolo-orm/piccolo> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/piccolo/PYSEC-2023-173.yaml> (web)

## Sources

- CVE List: [CVE-2023-41885](https://www.cve.org/CVERecord?id=CVE-2023-41885), CVE Terms of Use, modified 2024-09-26
- GitHub Advisory Database: [GHSA-h7cm-mrvq-wcfr](https://github.com/advisories/GHSA-h7cm-mrvq-wcfr), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-41885](https://nvd.nist.gov/vuln/detail/CVE-2023-41885), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-173](https://osv.dev/vulnerability/PYSEC-2023-173), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2023-41885 · Whole record: https://cve.day/CVE-2023-41885.json · Rebuilt by cve.day 2026-11-25T22:58:27.870Z
