CVE-2026-40552: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-vw9m-6vfh-43xf
CWE-669
Published
Advisory Summary

CVE-2026-40552 is a MODERATE security vulnerability vulnerability (CWE-669: Incorrect Resource Transfer Between Spheres) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource.. Remediation is available in the latest vendor maintenance releases.

CVE-2026-40552 at a Glance

CVE Identifier CVE-2026-40552
GHSA Identifier GHSA-vw9m-6vfh-43xf
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-669: Incorrect Resource Transfer Between Spheres
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-40552

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-40552, 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-669: Incorrect Resource Transfer Between Spheres, where the product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource. 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

mpGabinet is vulnerable to Remote Command Execution. An authorized user with access to the application and direct access to the backend database can achieve system command execution by uploading an attachment and modifying its storage path in the database to reference an attacker-controlled remote network resource. Alternatively, it is possible to use a previously uploaded file and change its reference. When the application processes the attachment, and a user tries to open it, the referenced resource is executed by the system. Critically, this vulnerability can be exploited by any unauthenticated attacker by chaining it with CVE-2026-40550 and CVE-2026-40551, which allows obtaining database access, and logging onto any account. This issue affects mpGabinet version 23.12.19 and below.

References

Frequently Asked Questions

What is CVE-2026-40552?
CVE-2026-40552 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-669: Incorrect Resource Transfer Between Spheres.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2026-40552?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2026-40552?
CVE-2026-40552 is classified under CWE-669: Incorrect Resource Transfer Between Spheres (The product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource.).
How can I check Maven dependencies for CVE-2026-40552?
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-vw9m-6vfh-43xf",
  "modified" : "2026-09-30T12:35:09Z",
  "published" : "2026-04-28T15:30:50Z",
  "aliases" : [ "CVE-2026-40552" ],
  "details" : "mpGabinet is vulnerable to Remote Command Execution. An authorized user with access to the application and direct access to the backend database can achieve system command execution by uploading an attachment and modifying its storage path in the database to reference an attacker-controlled remote network resource. Alternatively, it is possible to use a previously uploaded file and change its reference. When the application processes the attachment, and a user tries to open it, the referenced resource is executed by the system.\nCritically, this vulnerability can be exploited by any unauthenticated attacker by chaining it with CVE-2026-40550 and CVE-2026-40551, which allows obtaining database access, and logging onto any account.\n\nThis issue affects mpGabinet version 23.12.19 and below.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:L/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
  } ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40552"
  }, {
    "type" : "WEB",
    "url" : "https://cert.pl/posts/2026/04/CVE-2026-40550"
  }, {
    "type" : "WEB",
    "url" : "https://www.binsoft.pl/produkty"
  }, {
    "type" : "WEB",
    "url" : "https://www.mpgabinet.pl"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-669" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2026-04-28T14:16:13Z"
  }
}