CVE-2026-31788: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-q397-v647-xvh6
CVSS 8.2
CWE-862
Published
Advisory Summary

CVE-2026-31788 is a HIGH (CVSS 8.2) security vulnerability vulnerability (CWE-862: Missing Authorization) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not perform an authorization check when an actor attempts to access a resource or perform an action.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-31788 at a Glance

CVE Identifier CVE-2026-31788
GHSA Identifier GHSA-q397-v647-xvh6
Severity HIGH
CVSS v3.1 Base Score 8.2
CWE Classification CWE-862: Missing Authorization
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.2

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

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

How to Fix CVE-2026-31788

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

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

How to Check if You Are Affected

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

mvn dependency:tree

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

Note: The mvn dependency:tree 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Software, 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

In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: restrict usage in unprivileged domU The Xen privcmd driver allows to issue arbitrary hypercalls from user space processes. This is normally no problem, as access is usually limited to root and the hypervisor will deny any hypercalls affecting other domains. In case the guest is booted using secure boot, however, the privcmd driver would be enabling a root user process to modify e.g. kernel memory contents, thus breaking the secure boot feature. The only known case where an unprivileged domU is really needing to use the privcmd driver is the case when it is acting as the device model for another guest. In this case all hypercalls issued via the privcmd driver will target that other guest. Fortunately the privcmd driver can already be locked down to allow only hypercalls targeting a specific domain, but this mode can be activated from user land only today. The target domain can be obtained from Xenstore, so when not running in dom0 restrict the privcmd driver to that target domain from the beginning, resolving the potential problem of breaking secure boot. This is XSA-482 --- V2: - defer reading from Xenstore if Xenstore isn't ready yet (Jan Beulich) - wait in open() if target domain isn't known yet - issue message in case no target domain found (Jan Beulich)

References

NVD — CVE-2026-31788 NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-31788
git.kernel.org/stable/c/1879319d79... WEB
https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d
git.kernel.org/stable/c/389bae9a44... WEB
https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4
git.kernel.org/stable/c/3ee5b9e3de... WEB
https://git.kernel.org/stable/c/3ee5b9e3de4b8bdd74183d83205481c91a9effc8
git.kernel.org/stable/c/453b8fb68f... WEB
https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8
git.kernel.org/stable/c/4eb245ff0d... WEB
https://git.kernel.org/stable/c/4eb245ff0d33b618e097a2c23de5df56d4ad6969
git.kernel.org/stable/c/78432d8f03... WEB
https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e
git.kernel.org/stable/c/87a803edb2... WEB
https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28
git.kernel.org/stable/c/cbede2e833... WEB
https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2026/03/24/2
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2026/03/24/3
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2026/03/24/4
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2026/03/24/5
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2026/03/26/4
xenbits.xen.org/xsa/advisory-482.ht... WEB
http://xenbits.xen.org/xsa/advisory-482.html

Frequently Asked Questions

What is CVE-2026-31788?
CVE-2026-31788 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-862: Missing Authorization.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-31788?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What is the CVSS score of CVE-2026-31788?
CVE-2026-31788 has a CVSS v3.1 base score of 8.2 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-31788?
CVE-2026-31788 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2026-31788?
Run the dependency tree command: 'mvn dependency:tree'. 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-q397-v647-xvh6",
  "modified" : "2026-04-18T09:30:18Z",
  "published" : "2026-03-25T12:30:24Z",
  "aliases" : [ "CVE-2026-31788" ],
  "details" : "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/privcmd: restrict usage in unprivileged domU\n\nThe Xen privcmd driver allows to issue arbitrary hypercalls from\nuser space processes. This is normally no problem, as access is\nusually limited to root and the hypervisor will deny any hypercalls\naffecting other domains.\n\nIn case the guest is booted using secure boot, however, the privcmd\ndriver would be enabling a root user process to modify e.g. kernel\nmemory contents, thus breaking the secure boot feature.\n\nThe only known case where an unprivileged domU is really needing to\nuse the privcmd driver is the case when it is acting as the device\nmodel for another guest. In this case all hypercalls issued via the\nprivcmd driver will target that other guest.\n\nFortunately the privcmd driver can already be locked down to allow\nonly hypercalls targeting a specific domain, but this mode can be\nactivated from user land only today.\n\nThe target domain can be obtained from Xenstore, so when not running\nin dom0 restrict the privcmd driver to that target domain from the\nbeginning, resolving the potential problem of breaking secure boot.\n\nThis is XSA-482\n\n---\nV2:\n- defer reading from Xenstore if Xenstore isn't ready yet (Jan Beulich)\n- wait in open() if target domain isn't known yet\n- issue message in case no target domain found (Jan Beulich)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-31788"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/1879319d790f7d57622cdc22807b60ea78b56b6d"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/389bae9a4409934e8b8d4dbdaaf02a3ae71cf8e4"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/3ee5b9e3de4b8bdd74183d83205481c91a9effc8"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/453b8fb68f3641fea970db88b7d9a153ed2a37e8"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/4eb245ff0d33b618e097a2c23de5df56d4ad6969"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/78432d8f0372c71c518096395537fa12be7ff24e"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/87a803edb2ded911cb587c53bff179d2a2ed2a28"
  }, {
    "type" : "WEB",
    "url" : "https://git.kernel.org/stable/c/cbede2e833da1893afbea9b3ff29b5dda23a4a91"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/24/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/24/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/24/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/24/5"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/03/26/4"
  }, {
    "type" : "WEB",
    "url" : "http://xenbits.xen.org/xsa/advisory-482.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-03-25T11:16:40Z"
  }
}