# CVE-2021-41171: Bypass bruteforce protection on login form in elabftw

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `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
- Likelihood of exploitation in the next 30 days (EPSS): 1.94%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-22T18:55:11.000Z
- Modified: 2026-06-17T04:08:01.160Z
- Weaknesses: CWE-307
- Assigned by: GitHub_M

## Description

eLabFTW is an open source electronic lab notebook manager for research teams. In versions of eLabFTW before 4.1.0, it allows attackers to bypass a brute-force protection mechanism by using many different forged PHPSESSID values in HTTP Cookie header. This issue has been addressed by implementing brute force login protection, as recommended by Owasp with Device Cookies. This mechanism will not impact users and will effectively thwart any brute-force attempts at guessing passwords. The only correct way to address this is to upgrade to version 4.1.0. Adding rate limitation upstream of the eLabFTW service is of course a valid option, with or without upgrading.

(As written by CVE List.)

## Affected

- elabftw elabftw: < 4.1.0; before 4.1.0

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://www.exploit-db.com/docs/50436> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/elabftw/elabftw/security/advisories/GHSA-q67h-5pc3-g6jv> (third-party-advisory)
- <https://github.com/elabftw/elabftw/commit/8e92afeec4c3a68dc88333881b7e6307f425706b> (patch, third-party-advisory)
- <https://github.com/elabftw/elabftw/releases/tag/4.1.0> (release-notes, third-party-advisory)
- <https://owasp.org/www-community/Slow_Down_Online_Guessing_Attacks_with_Device_Cookies> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-41171](https://www.cve.org/CVERecord?id=CVE-2021-41171), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-41171](https://nvd.nist.gov/vuln/detail/CVE-2021-41171), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-41171 · Whole record: https://cve.day/CVE-2021-41171.json · Rebuilt by cve.day 2026-11-25T22:58:04.738Z
