# CVE-2026-53471: kubev2v migration-planner broken access control in agent-API JWT validation

Source: https://junglewise.ai/threats/cve-2026-53471-kubev2v-migration-planner-broken-access-control-in-agent-api-jwt  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-10. Updated: 2026-09-24  
License: CC BY 4.0 with a link back

CVE-2026-53471 · Severity: critical · CVSS 9.6 · Published 2026-06-10

OpenShift Migration Advisor is a tool used by enterprises to plan and execute migrations of virtual machines to Kubernetes. The agent-API component failed to validate that authenticated agents could only modify data for their assigned tenant, allowing any authenticated agent with a valid token to read and overwrite inventory data, inject malicious credentials, or corrupt migration assessments for any other tenant. This completely breaks tenant isolation and could expose confidential migration data or sabotage production migrations.

Technologies: [github.com/kubev2v/migration-planner (Go)](https://junglewise.ai/threats/technologies/github-com-kubev2v-migration-planner), [KubeVirt Migration-Planner](https://junglewise.ai/threats/technologies/migration-planner). Vendors: [Go](https://junglewise.ai/threats/vendors/go), [KubeVirt](https://junglewise.ai/threats/vendors/kubevirt).

## Quick answers

**Is CVE-2026-53471 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-53471 being exploited in the wild.

**How severe is CVE-2026-53471?** Critical severity, with a CVSS score of 9.6, published 10 June 2026.

**Which products and versions are affected?** github.com/kubev2v/migration-planner (Go) < 0.13.5, SEMVER:introduced=0,fixed=0.13.5; KubeVirt Migration-Planner < 0.13.5, All versions prior to PR #1213.

**Is there a fix for CVE-2026-53471?** Yes. github.com/kubev2v/migration-planner (Go): upgrade to 0.13.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-53471 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-53471?** Check whether you run github.com/kubev2v/migration-planner (Go) or KubeVirt Migration-Planner at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/kubev2v/migration-planner (Go): upgrade to 0.13.5 or later

  ```sh
  go get github.com/kubev2v/migration-planner@v0.13.5
  ```


## Technical details

The vulnerability is an authorization bypass (CWE-639) in the agent-API middleware of migration-planner. Each agent carries a JWT with a source_id claim identifying the single source it should manage. While the middleware validates JWT signatures and stores claims in context, the UpdateSourceInventory and UpdateAgentStatus handler functions in internal/handlers/v1alpha1/agent.go never check the source_id claim from the JWT—they trust only the source ID from the URL path or request body. An attacker with any valid agent token can supply arbitrary source IDs to modify inventory for other tenants. The fix (merged in commit fd21a23, released in version 0.13.5) adds JWT source_id validation by reading auth.MustHaveAgent(ctx).SourceID in both handlers and returning HTTP 403 when it does not match the target source. Attack requires network access and valid agent authentication; no user interaction needed. Scope is changed (affects other tenants' data).

## Affected products

- kubev2v migration-planner < 0.13.5

## Identifiers

- CVE-2026-53471
- GHSA-2fqw-7c6r-2cq6
- GO-2026-6228

## Timeline

- 2026-06-10: disclosed
- 2026-06-02: patched: Patch merged to main branch (commit fd21a23); version 0.13.5 released
- 2026-06-10: advisory: GitHub Advisory GHSA-2fqw-7c6r-2cq6 published

## References

- [https://github.com/kubev2v/migration-planner/pull/1213](https://github.com/kubev2v/migration-planner/pull/1213)
- [https://access.redhat.com/security/cve/CVE-2026-53471](https://access.redhat.com/security/cve/CVE-2026-53471)
- [https://bugzilla.redhat.com/show_bug.cgi?id=2487070](https://bugzilla.redhat.com/show_bug.cgi?id=2487070)
- [https://github.com/kubev2v/migration-planner/commit/fd21a239216f5eeec635d16c72be9c033bd5d1aa](https://github.com/kubev2v/migration-planner/commit/fd21a239216f5eeec635d16c72be9c033bd5d1aa)

## Related threats

- [kubev2v migration-planner SQL injection via RVTools upload](https://junglewise.ai/threats/cve-2026-53474-kubev2v-migration-planner-sql-injection-via-rvtools-upload)
- [kubev2v migration-planner improper access control in image-url endpoint](https://junglewise.ai/threats/cve-2026-53470-kubev2v-migration-planner-improper-access-control-in-image-url)
- [kubev2v migration-planner missing authorization in bulk delete API](https://junglewise.ai/threats/cve-2026-53469-kubev2v-migration-planner-missing-authorization-in-bulk-delete)
