Skip to content

[Bug]: Disconnecting dapp via MetaMask UI does not reject pending transactions #40282

@pnarayanaswamy

Description

@pnarayanaswamy

Describe the bug

When a user disconnects a dapp through Settings → Connected Sites, any pending transaction approvals from that dapp remain open instead of being auto-rejected. The user can still approve a transaction for a dapp that is no longer connected. Disconnecting via the RPC method (wallet_revokePermissions) correctly rejects pending approvals only the UI disconnect path leaves the confirmation open.

Screenshots/Recordings

Screen.Recording.2026-02-20.at.14.10.04.mov

Steps to reproduce

  1. Open MM in full screen view and open the dapp connections from the hamburger menu
  2. Connect to dapp
  3. initiate transaction
  4. leave approval pending
  5. Go to MM home page
  6. Connected Sites
  7. Disconnect

Error messages or log output

Where was this bug found?

Internal release testing

Version

13.20.0

Build type

None

Browser

Chrome

Operating system

MacOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugs---Low-PriorityINVALID-ISSUE-TEMPLATEIssue's body doesn't match any issue template.Sev2-normalNormal severity; minor loss of service or inconvenience.regression-RC-13.20.0Regression bug that was found in release candidate (RC) for release 13.20.0team-confirmationsPush issues to confirmations teamtype-bugSomething isn't working

    Type

    Projects

    Status

    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions