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

Published Jun 9, 2026
·
Updated

Repository: migration-planner Priority: High Location: internal/handlers/v1alpha1/source.go:74

Description: DELETE /api/v1/sources route is wired in openapi.yaml and calls sourceSrv.DeleteSources(ctx) with no filter. The service method runs Unscoped().Exec("DELETE FROM sources") against shared Postgres. No admin gate, no org scoping, no confirmation required.

Security Impact:

Any authenticated user can destroy all customers' sources, agents, and assessments

Single curl command causes total data loss across entire SaaS

Critical availability and integrity catastrophe

Fix Suggestion: Immediate: Hard-disable the handler (return 401 with explanatory message). Long-term: Either drop the route from openapi.yaml and delete SourceStore.DeleteAll, or re-implement as org-scoped bulk delete behind explicit edit permission. See patches/f004.patch.

Affected Software

1 affected component
migration-planner

Event History

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

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2487065?

The severity of REDHAT-BUG-2487065 is classified as high with a risk score of 7.

2

How do I fix REDHAT-BUG-2487065?

To fix REDHAT-BUG-2487065, implement filtering in the DELETE /api/v1/sources route to prevent unintended deletions from the database.

3

What impact does REDHAT-BUG-2487065 have on the system?

REDHAT-BUG-2487065 allows for the deletion of all sources in the database without any filter, potentially leading to significant data loss.

4

Is there a workaround for REDHAT-BUG-2487065?

A temporary workaround for REDHAT-BUG-2487065 is to restrict access to the DELETE /api/v1/sources endpoint until a fix is deployed.

5

When was REDHAT-BUG-2487065 published?

REDHAT-BUG-2487065 was published on June 9, 2026.

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