CVE-2021-38266 in Liferay Portal and 1 more product
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 ex...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Liferay | Liferay Portal | ≤ 7.2.1 |
| Liferay | Digital Experience Platform | 7.0 7.1 7.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-38266 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-070151-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2022-03-02 |
| Last modified | 2026-07-09 |
| Source | NVD |
Analysis AI-written, not human-reviewed
A vulnerability in the Portal Security module of Liferay Portal and DXP allows attackers to prevent legitimate users from authenticating by attempting to sign in as users that exist in LDAP.
The vulnerability arises from the incorrect handling of user imports from LDAP, enabling attackers to disrupt the authentication process for legitimate users.
Questions
What is CVE-2021-38266?
A vulnerability in the Portal Security module of Liferay Portal and DXP allows attackers to prevent legitimate users from authenticating by attempting to sign in as users that exist in LDAP.
What is the CVSS score for CVE-2021-38266?
CVE-2021-38266 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.7%.
Is CVE-2021-38266 actively exploited?
No confirmed active exploitation of CVE-2021-38266 as of 2026-09-25.
How do I remediate CVE-2021-38266?
Priority: HIGH. Advisory: https://issues.liferay.com/browse/LPE-17191 PSIRT: [email protected]
What systems are affected by CVE-2021-38266?
CVE-2021-38266 affects Liferay Liferay Portal, Digital Experience Platform.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Liferay","product":"Liferay Portal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-07-09.