# Liferay Portal and DXP Instance Admin can execute code using Objects Actions and Validations

Advisory record · `GHSA-m5gv-vj3f-6v2p`

- **Identifiers:** `GHSA-m5gv-vj3f-6v2p` · `CVE-2025-3586`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 12 Dec 2025
- **Updated:** 12 Dec 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 12 Dec 2025, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `com.liferay:com.liferay.object.service` (Maven): affected `<1.0.96`; fixed in `1.0.96`

## Machine-written summary

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

> Liferay Portal and Liferay DXP, via the Maven package com.liferay:com.liferay.object.service before 1.0.96, do not restrict Groovy scripts in Object actions for admin users. A remote authenticated user with the Instance Administrator role can run arbitrary Groovy scripts and so execute code on the server. Upgrade com.liferay:com.liferay.object.service to version 1.0.96 or later. Liferay DXP 2024.Q2 and later can restrict Groovy in Object actions through a setting in Instance Settings.

Written 7 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

- 7.5 High, CVSS 4.0: `CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`, from CNA (Liferay)

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

## Timeline

- 31 Oct 2026, 15:09 UTC: First seen by agentprime
- 31 Oct 2026, 15:09 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-m5gv-vj3f-6v2p)

## Sources

- [GitHub Advisory Database: GHSA-m5gv-vj3f-6v2p](https://github.com/advisories/GHSA-m5gv-vj3f-6v2p)
- [OSV: GHSA-m5gv-vj3f-6v2p](https://osv.dev/vulnerability/GHSA-m5gv-vj3f-6v2p)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3586>
- <https://github.com/liferay/liferay-portal/commit/3b9e3bb1462ccd33ede05f73f45b38b8262f018f>
- <https://github.com/liferay/liferay-portal/commit/79ddc243e60864c0c30cfccb1cc46e705e922cb0>
- <https://github.com/liferay/liferay-portal/commit/b2aa19be228fb308ebe8ae1f47d3224e1fd06225>
- <https://github.com/liferay/liferay-portal>
- <https://liferay.atlassian.net/browse/LPE-17586>
- <https://liferay.dev/portal/security/known-vulnerabilities/-/asset_publisher/jekt/content/CVE-2025-3586>

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-m5gv-vj3f-6v2p>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-m5gv-vj3f-6v2p/>. Everything for agents: <https://agentprime.io/llms.txt>.
