Vulnerabilities in pkg:maven/org.apereo.cas/cas-server-webapp

PACKAGE
Advisory Identifier: GHSA-phqw-pwxm-86gq
Advisory Summary

CVE-2026-59099 is a CRITICAL (CVSS 9.1) apereo cas aes-gcm nonce reuse vulnerability (CWE-323: Reusing a Nonce, Key Pair in Encryption) affecting Cas server webapp libraries in the Maven ecosystem. The issue involves apereo cas aes-gcm nonce reuse exposes webflow state. Remediation is available by upgrading affected packages to version 7.3.7.3, 8.0.0-RC6.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apereo.cas/cas-server-webapp

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apereo.cas/cas-server-webapp. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-phqw-pwxm-86gq CVE-2026-59099 CRITICAL Apereo CAS AES-GCM nonce reuse exposes webflow state
GHSA-q39c-5vh5-vw2p CVE-2020-27178 HIGH Improper Authentication in Apereo CAS

CVE-2026-59099 at a Glance

CVE Identifier CVE-2026-59099
GHSA Identifier GHSA-phqw-pwxm-86gq
Severity CRITICAL
CVSS v3.1 Base Score 9.1
CWE Classification CWE-323: Reusing a Nonce, Key Pair in Encryption
Affected Product Cas server webapp
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2026-59099

To remediate this vulnerability, upgrade all affected Cas server webapp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apereo.cas:cas-server-webapp fixed: 7.3.7.3
<dependency>
    <groupId>org.apereo.cas</groupId>
    <artifactId>cas-server-webapp</artifactId>
    <version>7.3.7.3</version>
</dependency>
org.apereo.cas:cas-server-webapp fixed: 8.0.0-RC6
<dependency>
    <groupId>org.apereo.cas</groupId>
    <artifactId>cas-server-webapp</artifactId>
    <version>8.0.0-RC6</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apereo.cas

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-59099, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apereo.cas

Analyze the terminal output to locate any version of Cas server webapp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.3.7.3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apereo.cas command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-323: Reusing a Nonce, Key Pair in Encryption, where nonces should be used for the present occasion and only once. In Cas server webapp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Apereo CAS versions 7.3.0 through 7.3.7.2 and 8.0.0-RC1 through 8.0.0-RC5 contain a cryptographic vulnerability that allows remote unauthenticated attackers to recover plaintext conversation state by exploiting AES-GCM initialization vector reuse across the server lifetime. Attackers can collect multiple client-side webflow execution tokens from the unauthenticated login page and perform known-plaintext analysis to decrypt the webflow conversation state due to keystream reuse caused by a fixed all-zero IV paired with the same encryption key.

CVE-2026-59099 Affected Cas server webapp Versions

2 component(s)
Fixed Versions:
7.3.7.38.0.0-RC6
Product / Package Ecosystem Affected Versions Fixed Version
org.apereo.cas:cas-server-webapp
Maven
≥ 7.3.0
< 7.3.7.3
7.3.7.3
org.apereo.cas:cas-server-webapp
Maven
≥ 8.0.0-RC1
< 8.0.0-RC6
8.0.0-RC6

References

Frequently Asked Questions

What is CVE-2026-59099?
CVE-2026-59099 is a security vulnerability in Cas server webapp involving Apereo CAS AES-GCM nonce reuse exposes webflow state under CWE-323: Reusing a Nonce, Key Pair in Encryption.
Which Cas server webapp versions are affected?
Affected versions include releases prior to 7.3.7.3, 8.0.0-RC6 across affected packages: org.apereo.cas:cas-server-webapp.
What version fixes CVE-2026-59099?
Upgrading to 7.3.7.3, 8.0.0-RC6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cas-server-webapp affected?
Yes, org.apereo.cas:cas-server-webapp is affected in releases prior to 7.3.7.3, 8.0.0-RC6. Upgrade your dependency to 7.3.7.3, 8.0.0-RC6 or later.
What is the CVSS score of CVE-2026-59099?
CVE-2026-59099 has a CVSS v3.1 base score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2026-59099?
CVE-2026-59099 is classified under CWE-323: Reusing a Nonce, Key Pair in Encryption (Nonces should be used for the present occasion and only once.).
How can I check Maven dependencies for CVE-2026-59099?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apereo.cas'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-phqw-pwxm-86gq",
  "modified" : "2026-12-01T17:35:24Z",
  "published" : "2026-07-02T21:32:14Z",
  "aliases" : [ "CVE-2026-59099" ],
  "summary" : "Apereo CAS AES-GCM nonce reuse exposes webflow state",
  "details" : "Apereo CAS versions 7.3.0 through 7.3.7.2 and 8.0.0-RC1 through 8.0.0-RC5 contain a cryptographic vulnerability that allows remote unauthenticated attackers to recover plaintext conversation state by exploiting AES-GCM initialization vector reuse across the server lifetime. Attackers can collect multiple client-side webflow execution tokens from the unauthenticated login page and perform known-plaintext analysis to decrypt the webflow conversation state due to keystream reuse caused by a fixed all-zero IV paired with the same encryption key.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apereo.cas:cas-server-webapp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.3.0"
      }, {
        "fixed" : "7.3.7.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apereo.cas:cas-server-webapp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0-RC1"
      }, {
        "fixed" : "8.0.0-RC6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-59099"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apereo/cas/commit/22c6f4adf738852782309b523b4e80371057f2d0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apereo/cas/commit/c3bece87e0f003b0429e97350a79137f68495c03"
  }, {
    "type" : "WEB",
    "url" : "https://apereo.github.io/2026/06/18/vuln"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apereo/cas"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apereo/cas/releases/tag/v8.0.0-RC6"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/geo-chen/oss/blob/main/cas.md"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/apereo-cas-rc6-aes-gcm-nonce-reuse-information-disclosure"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-323" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-01T17:35:24Z",
    "nvd_published_at" : "2026-07-02T20:17:08Z"
  }
}