Vulnerabilities in pkg:golang/github.com/kubev2v/migration-planner

PACKAGE
Advisory Identifier: GHSA-vf2h-7x3w-97fr
Advisory Summary

CVE-2026-53474 is a CRITICAL (CVSS 9.6) improper input sanitization allows specially vulnerability (CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) affecting Openshift Migration Advisor libraries in the Go ecosystem. The issue involves improper input sanitization allows specially crafted rvtools .xlsx files to include malicious sql commands. Remediation is available by upgrading affected packages to version 0.13.5.

4 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/kubev2v/migration-planner

4 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/kubev2v/migration-planner. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vf2h-7x3w-97fr CVE-2026-53474 CRITICAL Openshift Migration Advisor: Improper input sanitization allows specially crafted RVTools .xlsx files to include malicious SQL commands
GHSA-2fqw-7c6r-2cq6 CVE-2026-53471 CRITICAL Openshift Migration Advisor agent-API fails to validate JWT source_id claim, allowing cross-tenant data manipulation
GHSA-v5m8-5455-qw2x CVE-2026-53470 CRITICAL Openshift Migration Advisor: Broken access control in migration-planner image-url endpoint exposes other users' OVA images and agent JWTs
GHSA-6xvf-9742-48w2 CVE-2026-53469 CRITICAL Openshift Migration Advisor lacks proper authorization and filtering for its DELETE /api/v1/sources API

CVE-2026-53474 at a Glance

CVE Identifier CVE-2026-53474
GHSA Identifier GHSA-vf2h-7x3w-97fr
Severity CRITICAL
CVSS v3.1 Base Score 9.6
CWE Classification CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected Product Openshift Migration Advisor
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.6

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

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

How to Fix CVE-2026-53474

To remediate this vulnerability, upgrade all affected Openshift Migration Advisor 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/kubev2v/migration-planner fixed: 0.13.5
Upgrade github.com/kubev2v/migration-planner to 0.13.5
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/kubev2v/migration-planner

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-53474, inspect your project dependencies for Openshift Migration Advisor:

inspect dependencies for github.com/kubev2v/migration-planner

Analyze the terminal output to locate any version of Openshift Migration Advisor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.5), 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-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), where the product constructs all or part of an sql command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended sql command when it is sent to a downstream component. without sufficient removal or quoting of sql syntax in user-controllable inputs, the generated sql query can cause those inputs to be interpreted as sql instead of ordinary user data. In Openshift Migration Advisor, 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

A flaw was found in migration-planner. A remote authenticated attacker could exploit this vulnerability by uploading a specially crafted RVTools .xlsx file. Due to improper input sanitization, malicious SQL embedded within a spreadsheet cell is executed when cluster names are processed. This SQL Injection allows for arbitrary file reading on the system, potentially exposing sensitive information such as Kubernetes service account tokens and other credentials, which could lead to a full compromise of the SaaS environment.

CVE-2026-53474 Affected Openshift Migration Advisor Versions

1 component(s)
Fixed Versions:
0.13.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/kubev2v/migration-planner
Go
< 0.13.5
0.13.5

References

Frequently Asked Questions

What is CVE-2026-53474?
CVE-2026-53474 is a security vulnerability in Openshift Migration Advisor involving Improper input sanitization allows specially crafted RVTools .xlsx files to include malicious SQL commands under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
Which Openshift Migration Advisor versions are affected?
Affected versions include releases prior to 0.13.5 across affected packages: github.com/kubev2v/migration-planner.
What version fixes CVE-2026-53474?
Upgrading to 0.13.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kubev2v/migration-planner affected?
Yes, github.com/kubev2v/migration-planner is affected in releases prior to 0.13.5. Upgrade your dependency to 0.13.5 or later.
What is the CVSS score of CVE-2026-53474?
CVE-2026-53474 has a CVSS v3.1 base score of 9.6 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N.
What CWE is associated with CVE-2026-53474?
CVE-2026-53474 is classified under CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.).
How can I check Go dependencies for CVE-2026-53474?
Run the dependency tree command: 'inspect dependencies for github.com/kubev2v/migration-planner'. 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-vf2h-7x3w-97fr",
  "modified" : "2026-08-14T19:19:27Z",
  "published" : "2026-06-10T15:31:33Z",
  "aliases" : [ "CVE-2026-53474" ],
  "summary" : "Openshift Migration Advisor: Improper input sanitization allows specially crafted RVTools .xlsx files to include malicious SQL commands",
  "details" : "A flaw was found in migration-planner. A remote authenticated attacker could exploit this vulnerability by uploading a specially crafted RVTools .xlsx file. Due to improper input sanitization, malicious SQL embedded within a spreadsheet cell is executed when cluster names are processed. This SQL Injection allows for arbitrary file reading on the system, potentially exposing sensitive information such as Kubernetes service account tokens and other credentials, which could lead to a full compromise of the SaaS environment.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kubev2v/migration-planner"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-53474"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubev2v/migration-planner/pull/1231"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kubev2v/migration-planner/commit/6110711b1b71bb0d15348b934a490a5932b41f83"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2026-53474"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2487231"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kubev2v/migration-planner"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-89" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-14T19:19:27Z",
    "nvd_published_at" : "2026-06-10T15:16:41Z"
  }
}