Home / Liferay / Liferay Portal / CVE-2021-38266
CVE-2021-38266: is it exploited, and which versions of Liferay Portal are affected and fixed?
CVE-2021-38266 is a vulnerability in Liferay Portal. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: com.liferay:com.liferay.portal.security.ldap.impl before 2.0.19 and com.liferay.portal:release.dxp.bom before 7.3.0-ga1 (GitHub advisory GHSA-jp3m-vh3g-6ggp). Fixed in 2.0.19 and 7.3.0-ga1 (GitHub advisory GHSA-jp3m-vh3g-6ggp). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:50 UTC.
What is CVE-2021-38266?
The Portal Security module in Liferay Portal 7.2.1 and earlier, and Liferay DXP 7.0 before fix pack 90, 7.1 before fix pack 17 and 7.2 before fix pack 5 does not correctly import users from LDAP, which allows remote attackers to prevent a legitimate user from authenticating by attempting to sign in as a user that exist in LDAP.
From the CVE record by mitre, last updated July 9, 2026, 00:14 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.liferay:com.liferay.portal.security.ldap.impl | < 2.0.19 | 2.0.19 | GHSA-jp3m-vh3g-6ggp |
| Maven | com.liferay.portal:release.dxp.bom | < 7.3.0-ga1 | 7.3.0-ga1 | GHSA-jp3m-vh3g-6ggp |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 14, 2025. Summary: Liferay Portal and Liferay DXP fails to properly import users from LDAP.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| liferay | liferay portal | through 7.2.1 | application |
| liferay | digital experience platform | 7.0 | application |
| liferay | digital experience platform | 7.1 | application |
| liferay | digital experience platform | 7.2 | application |
NVD analysis (status Modified), last modified July 9, 2026, 01:17 UTC.
How severe is CVE-2021-38266?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-38266 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.78% probability of exploitation activity in the next 30 days, percentile 79.0 (FIRST EPSS, scores of December 3, 2026)
Where are the vendor advisories and references?
- https://portal.liferay.dev/learn/security/known-vulnerabilities/-/asset_publisher/HbL5mxmVrnXW/content/cve-2021-38266
- https://issues.liferay.com/browse/LPE-17191
When was it published, and where is the official record?
- Reserved
- August 9, 2021
- Published
- March 2, 2022, 23:00 UTC
- CVE record updated
- July 9, 2026, 00:14 UTC by mitre
- NVD
- Modified, last modified July 9, 2026, 01:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:50 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Liferay Portal?
- Mar 20, 2020CVE-2020-7961 Liferay Portal: deserialization of untrusted data exploited
- Feb 20, 2024CVE-2022-45320 Liferay Digital Experience Platform: improper access control
- Feb 20, 2024CVE-2021-29038 Liferay Digital Experience Platform: weak password recovery
- Apr 16, 2023CVE-2021-33990 Liferay Portal: permissions not preserved disputed
- Nov 15, 2022CVE-2022-42132 Liferay Digital Experience Platform: information disclosure
- Nov 15, 2022CVE-2022-42131 Liferay Digital Experience Platform: improper certificate validation
- Nov 15, 2022CVE-2022-42130 Liferay Digital Experience Platform: insecure default permissions
- Nov 15, 2022CVE-2022-42129 Liferay Digital Experience Platform: authorization bypass through a user-controlled key (IDOR)
Questions about CVE-2021-38266
Is CVE-2021-38266 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 1.78% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Liferay Portal are affected by CVE-2021-38266?
com.liferay:com.liferay.portal.security.ldap.impl before 2.0.19 and com.liferay.portal:release.dxp.bom before 7.3.0-ga1, per the GitHub advisory GHSA-jp3m-vh3g-6ggp. The tables above give every range the sources list.
Which version fixes CVE-2021-38266?
2.0.19 and 7.3.0-ga1, per the GitHub advisory GHSA-jp3m-vh3g-6ggp. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-38266?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-38266?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.