# Shell command injection in Liferay Portal

Advisory record · `GHSA-97gm-mcv6-cphm`

- **Identifiers:** `GHSA-97gm-mcv6-cphm` · `CVE-2010-5327`
- **State:** Confirmed
- **Severity:** CVSS 8.8 High
- **Critical:** No
- **Published:** 17 May 2022
- **Updated:** 2 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 May 2022, 03:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `com.liferay.portal:portal-impl` (Maven): affected `<6.2.11`; fixed in `6.2.11`
- `com.liferay.portal:portal-service` (Maven): affected `<6.2.11`; fixed in `6.2.11`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Liferay Portal (com.liferay.portal:portal-impl and portal-service) versions before 6.2.11 are affected. A remote attacker with an authenticated account can run arbitrary shell commands by supplying a crafted Velocity template. Upgrade portal-impl and portal-service to 6.2.11 or later.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.8 High, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.028, the 86th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-97gm-mcv6-cphm)

## Sources

- [GitHub Advisory Database: GHSA-97gm-mcv6-cphm](https://github.com/advisories/GHSA-97gm-mcv6-cphm)
- [OSV: GHSA-97gm-mcv6-cphm](https://osv.dev/vulnerability/GHSA-97gm-mcv6-cphm)
- <https://nvd.nist.gov/vuln/detail/CVE-2010-5327>
- <https://github.com/liferay/liferay-portal/commit/90c4e85a8f8135f069f3f05e4d54a77704769f91>
- <https://dev.liferay.com/web/community-security-team/known-vulnerabilities>
- <https://dev.liferay.com/web/community-security-team/known-vulnerabilities/-/asset_publisher/4AHAYapUm8Xc/content/lps-64547-remote-code-execution-and-privilege-escalation-in-templates>
- <https://issues.liferay.com/browse/LPE-14964>
- <https://issues.liferay.com/browse/LPS-64547>
- <https://issues.liferay.com/browse/LPS-7087>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-97gm-mcv6-cphm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-97gm-mcv6-cphm/>. Everything for agents: <https://agentprime.io/llms.txt>.
