CVE-2026-53471
Received Received - Intake
JWT Source ID Validation Bypass in Migration-Planner

Publication date: 2026-06-10

Last updated on: 2026-06-10

Assigner: Red Hat, Inc.

Description
A flaw was found in migration-planner. The agent-API middleware processes JSON Web Tokens (JWTs) for authentication, but its UpdateSourceInventory and UpdateAgentStatus handlers fail to validate the source_id claim within these tokens against the requested source ID. This oversight allows an authenticated attacker with a valid agent token to manipulate data across different tenants, leading to a complete collapse of tenant isolation. This could result in unauthorized overwriting of victim inventory, planting of malicious credential URLs, or corruption of migration assessments.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-10
Last Modified
2026-06-10
Generated
2026-06-10
AI Q&A
2026-06-10
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
redhat migration-planner *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Mitigation Strategies

Immediate mitigation involves applying patches that enforce validation of the JWT source_id claim in the UpdateSourceInventory and UpdateAgentStatus handlers.

Specifically, the handlers should be modified to read the source ID from the JWT claim (using auth.MustHaveAgent(ctx).SourceID) and return a 403 Forbidden response if the source ID does not match the target source.

These patches are available (e.g., f002.patch) and have been integrated into the migration-planner project to prevent cross-tenant write access.

Additionally, upgrading to the fixed version of migration-planner that includes these changes and comprehensive authorization tests is recommended to ensure proper enforcement.

Compliance Impact

The vulnerability in migration-planner leads to a complete collapse of tenant isolation, allowing an authenticated attacker to manipulate data across different tenants. This unauthorized cross-tenant access and data manipulation could result in violations of data protection principles required by common standards and regulations such as GDPR and HIPAA, which mandate strict data segregation and protection of sensitive information.

Specifically, the flaw allows overwriting victim inventory, planting malicious credential URLs, or corrupting migration assessments, which could compromise the confidentiality and integrity of tenant data. Such breaches can lead to non-compliance with regulations that require safeguarding personal and sensitive data against unauthorized access and modification.

Detection Guidance

Detection of this vulnerability involves verifying whether the UpdateSourceInventory and UpdateAgentStatus handlers properly validate the source_id claim in JWT tokens against the requested source ID.

Since the vulnerability arises from the handlers ignoring the JWT source_id claim and relying instead on the source ID from the URL path or request body, you can detect exploitation attempts by monitoring for cross-tenant write operations using valid agent tokens.

Commands or methods to detect this might include inspecting logs for unauthorized access patterns or crafting test requests with valid agent tokens but mismatched source IDs to see if the system improperly allows cross-tenant modifications.

However, no specific detection commands or scripts are provided in the available resources.

Executive Summary

This vulnerability exists in the migration-planner's agent API where the system processes JSON Web Tokens (JWTs) for authentication but fails to validate the source_id claim within these tokens against the requested source ID.

Specifically, the UpdateSourceInventory and UpdateAgentStatus handlers do not verify that the source_id claim in the JWT matches the source ID being accessed or modified. Instead, they rely on the source ID provided in the URL path or request body.

This flaw allows an authenticated attacker who has a valid agent token to manipulate data across different tenants, effectively breaking tenant isolation. The attacker can overwrite victim inventories, plant malicious credential URLs, or corrupt migration assessments.

Impact Analysis

The vulnerability can have severe impacts including unauthorized data manipulation across tenants.

  • Complete collapse of tenant isolation on the agent surface.
  • An attacker with a valid agent token can overwrite victim inventory data.
  • Planting of malicious credential URLs within the system.
  • Corruption of migration assessments, potentially affecting migration accuracy and reliability.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53471. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart