---
id: CVE-2026-12986
aliases:
  - GHSA-x939-7fq5-v9v6
title: Payara Server Full has a Cross-Site Request Forgery vulnerability
summary: Payara Server Full has a Cross-Site Request Forgery vulnerability
severity: high
cwe:
  - CWE-352
vendor: payara
product: 'fish.payara.distributions:payara'
ecosystem: maven
affected:
  - 'fish.payara.distributions:payara >= 4.0.0, < 7.2026.6'
patched:
  - 'fish.payara.distributions:payara 7.2026.6'
published: '2026-06-24'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T20:00:31Z'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-x939-7fq5-v9v6'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-12986'
  - url: >-
      https://docs.payara.fish/community/docs/Release%20Notes/Release%20Notes%207.2026.6.html
  - url: 'https://github.com/payara/Payara/pull/8229'
  - url: >-
      https://github.com/payara/Payara/commit/be83ab093692bafb09125323f3fdefaeab9cc398
  - url: 'https://github.com/payara/Payara/releases/tag/payara-server-7.2026.6'
  - url: 'https://github.com/advisories/GHSA-x939-7fq5-v9v6'
tags:
  - ghsa
  - maven
epss: 0.00274
epssPercentile: 0.17679
ingestedAt: '2026-09-25T20:17:49.420Z'
---

## Overview

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.

## Affected packages

- `fish.payara.distributions:payara >= 4.0.0, < 7.2026.6`

## Remediation

Upgrade to a patched release:

- `fish.payara.distributions:payara 7.2026.6`
