Microsoft Access Remote Code Execution Vulnerability (CVE-2025-21186)
A vulnerability in Microsoft Office Access allowed a specially crafted file to run arbitrary code when a victim opened it locally. An attacker could use social engineering to convince a victim to download and open such a file, leading to code execution on their computer.
Originally disclosed on Microsoft
FAQ
According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. For example, when the score indicates that the Attack Vector is Local and User Interaction is Required , this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.
FAQ
How does the update protect against this vulnerability? The update blocks potentially malicious extensions from being sent in an email. Which types of extensions are blocked? The following extensions which will be blocked: accdb accde accdw accdt accda accdr accdu Is there any notification indicating an email contained a blocked extension? The email recipient will get a notification that there was an attachment but it cannot be accessed.
FAQ
Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector.
Microsoft Office Access
Microsoft Office Access
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application failed to properly validate or restrict the content of certain file types, allowing malicious code embedded in a crafted file to execute.
Impact
An attacker could achieve arbitrary code execution on a victim's computer, but only if the victim is convinced to download and open a specially crafted file; the Preview Pane is not an attack vector.
What the attacker needed
Victim downloads a crafted file; victim opens the file locally
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a flaw in Microsoft Access, a database program. A malicious file could make the program run harmful instructions on the victim's machine once the file is opened. The attacker has to trick the person into downloading and opening the file, so it is not something that happens just by visiting a website.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.