CVE-2025-31489: Github.com/minio/minio MinIO Performs Incomplete Signature Validation Vulnerability

HIGH
Advisory Identifier: GHSA-wg47-6jq2-q2hh
CWE-347
Published
Advisory Summary

CVE-2025-31489 is a HIGH minio performs incomplete signature validation vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Github.com/minio/minio libraries in the Go ecosystem. The issue involves minio performs incomplete signature validation for unsigned-trailer uploads. Remediation is available by upgrading affected packages to version 0.0.0-20250403145552-8c70975283f9.

CVE-2025-31489 at a Glance

CVE Identifier CVE-2025-31489
GHSA Identifier GHSA-wg47-6jq2-q2hh
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-347: Improper Verification of Cryptographic Signature
Affected Product Github.com/minio/minio
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-31489

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

github.com/minio/minio fixed: 0.0.0-20250403145552-8c70975283f9
Upgrade github.com/minio/minio to 0.0.0-20250403145552-8c70975283f9
Verify Direct and Transitive Dependencies

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

inspect dependencies for github.com/minio/minio

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-31489, inspect your project dependencies for Github.com/minio/minio:

inspect dependencies for github.com/minio/minio

Analyze the terminal output to locate any version of Github.com/minio/minio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20250403145552-8c70975283f9), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Github.com/minio/minio, 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

### Impact This is a high priority vulnerability and users must upgrade ASAP. The signature component of the authorization may be invalid, which would mean that as a client you can use any arbitrary secret to upload objects given the user already has prior WRITE permissions on the bucket, Prior knowledge of access-key, and bucket name this user might have access to - and an access-key with a WRITE permissions is necessary. However with relevant information in place, uploading random objects to buckets is trivial and easy via `curl` ### Patches Yes https://github.com/minio/minio/pull/21103 ### Workarounds Reject requests with `x-amz-content-sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER` for now at LB layer, ask application users to use `STREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER`

CVE-2025-31489 Affected Github.com/minio/minio Versions

1 component(s)
Fixed Versions:
0.0.0-20250403145552-8c70975283f9
Product / Package Ecosystem Affected Versions Fixed Version
github.com/minio/minio
Go
< 0.0.0-20250403145552-8c70975283f9
0.0.0-20250403145552-8c70975283f9

References

Frequently Asked Questions

What is CVE-2025-31489?
CVE-2025-31489 is a security vulnerability in Github.com/minio/minio involving MinIO performs incomplete signature validation for unsigned-trailer uploads under CWE-347: Improper Verification of Cryptographic Signature.
Which Github.com/minio/minio versions are affected?
Affected versions include releases prior to 0.0.0-20250403145552-8c70975283f9 across affected packages: github.com/minio/minio.
What version fixes CVE-2025-31489?
Upgrading to 0.0.0-20250403145552-8c70975283f9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/minio/minio affected?
Yes, github.com/minio/minio is affected in releases prior to 0.0.0-20250403145552-8c70975283f9. Upgrade your dependency to 0.0.0-20250403145552-8c70975283f9 or later.
What CWE is associated with CVE-2025-31489?
CVE-2025-31489 is classified under CWE-347: Improper Verification of Cryptographic Signature (The product does not verify, or incorrectly verifies, the cryptographic signature for data.).
How can I check Go dependencies for CVE-2025-31489?
Run the dependency tree command: 'inspect dependencies for github.com/minio/minio'. 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-wg47-6jq2-q2hh",
  "modified" : "2025-04-04T14:28:29Z",
  "published" : "2025-04-04T14:28:29Z",
  "aliases" : [ "CVE-2025-31489" ],
  "summary" : "MinIO performs incomplete signature validation for unsigned-trailer uploads",
  "details" : "### Impact\nThis is a high priority vulnerability and users must upgrade ASAP.\n\nThe signature component of the authorization may be invalid, which would mean that as a client you can use any arbitrary secret to upload objects given the user already has prior WRITE permissions on the bucket,\n\nPrior knowledge of access-key, and bucket name this user might have access to - and an access-key with a WRITE permissions is necessary.\n\nHowever with relevant information in place, uploading random objects to buckets is trivial and easy via `curl`\n\n### Patches\nYes https://github.com/minio/minio/pull/21103\n\n### Workarounds\nReject requests with `x-amz-content-sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER` for now at LB layer, ask application users to use `STREAMING-AWS4-HMAC-SHA256-PAYLOAD-TRAILER`",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/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" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/minio/minio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20250403145552-8c70975283f9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/minio/minio/security/advisories/GHSA-wg47-6jq2-q2hh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-31489"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/minio/minio/pull/21103"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/minio/minio/commit/8c70975283f9f4ce80f331a25c7475a36279e519"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/minio/minio"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-347" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-04T14:28:29Z",
    "nvd_published_at" : "2025-04-03T20:15:25Z"
  }
}