REDHAT-BUG-2487070: High severity migration-planner vulnerability

Published Jun 9, 2026
·
Updated

Repository: migration-planner Priority: High Location: internal/handlers/v1alpha1/agent.go:39

Description: Each agent OVA carries a JWT with a sourceid claim identifying the single source it should manage. The agent-API middleware validates the JWT signature and stores claims in context, but UpdateSourceInventory and UpdateAgentStatus handlers never check these claims. They trust the source ID from the URL path/request body instead. Helper functions auth.AgentFromContext / MustHaveAgent exist but have zero call sites.

Security Impact:

Complete tenant isolation collapse on agent surface

Any valid agent token grants write capability for every tenant's source

Attacker can overwrite victim inventory, plant malicious credentialUrl, or corrupt migration assessments

Chains with f003 for full cross-tenant write from any Hybrid Cloud Console login

Fix Suggestion: Read auth.MustHaveAgent(ctx).SourceID in both handlers and return 403 when it doesn't match the target source. The 403 response types already exist in generated server code. See patches/f002.patch.

Affected Software

1 affected component
migration-planner

Event History

Jun 9, 2026
Data Sourced
via Red Hat·05:49 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2487070?

The severity of REDHAT-BUG-2487070 is high with a score of 7.

2

What is the risk associated with REDHAT-BUG-2487070?

The risk associated with REDHAT-BUG-2487070 is rated at 33.

3

How can I fix REDHAT-BUG-2487070?

To fix REDHAT-BUG-2487070, ensure that the agent OVA implementations are updated to strengthen JWT validation.

4

What software is affected by REDHAT-BUG-2487070?

The affected software for REDHAT-BUG-2487070 is the migration-planner.

5

Where is REDHAT-BUG-2487070 located in the codebase?

REDHAT-BUG-2487070 is located in the internal/handlers/v1alpha1/agent.go file at line 39.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203