Hi Tushar,
Based on your description, retaining the stale environment record in Mendix Portal should not, by itself, create a security vulnerability in your other environments, provided the underlying AWS resources have been completely decommissioned.
I would distinguish between the environment's metadata in Mendix Portal and the infrastructure that previously hosted the application.
If the DR environment's VPC, EKS cluster, worker nodes, and associated resources have been removed, the stale Portal record does not mean the application is still running.
The other environments should remain independent, provided they do not share any remaining infrastructure, credentials, or resources with the decommissioned environment.
The main concern is not the stale record itself, but any resources that might have been left behind. I would verify the following:
These checks help establish that the infrastructure has actually been decommissioned, rather than simply becoming unreachable.
A disconnected Gateway Agent means Mendix Portal cannot currently communicate with that environment to perform normal management operations. It does not, by itself, indicate a security vulnerability.
Mendix documents that an orphaned environment can be force-deleted through the Deploy API when its Agent is disconnected. However, since you want to retain the environment record and deployment history, I would not recommend deleting it solely to resolve the stale status.
Given that your requirement is to retain the environment and its associated build/package information:
My conclusion: If the underlying infrastructure has genuinely been removed and no shared credentials or resources remain exposed, retaining the stale Portal record should not, on its own, affect the security or operation of your other environments. I would still ask Mendix Support to confirm the supported cleanup options for your specific Private Cloud configuration.
Hope this helps.