Escalating All The Privileges With Foxit PDF Reader (CVE-2026–57239)
Foxit PDF Reader's updater service ran with SYSTEM privileges and executed a user-writable updater binary from AppData, with a DLL sideloading flaw in that binary allowing an unprivileged user to gain SYSTEM privileges. An attacker with code execution could escalate to SYSTEM.
Published on blog.paradoxis.nl
Back towards the end of March in 2026 I took a jab at Foxit’s PDF Reader. The program had been on my research list for quite a while, especially back when I worked at Fox-IT (because, I mean, having Fox-IT credited as finding a vulnerability in Foxit’s software was pretty funny to me).
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the updater service executed a user-writable binary and that binary loaded a DLL from its own directory without validating it, combined with a hard-coded encryption key protecting the command channel.
Impact
An attacker with existing code execution could escalate to NT AUTHORITY\SYSTEM; the exploit required some form of code execution on the machine already.
What the attacker needed
Code execution as a normal user; write access to ProgramData Foxit folder; write access to user AppData folder
The fix
Foxit released a patch in version 2026.2 and added anti-sideload measures; users should update and consider AppLocker.
How it was found
- Create a file at the log.lib path to observe the service's behaviour.
- Write an encrypted payload to FoxitData.txt to trigger the updater with SYSTEM rights.
- Place a proxy winspool.drv next to the updater executable.
- Trigger the updater via the GUI link to load the malicious driver file.
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 write-up has not been written yet. The Original tab links to the source.
This is a local privilege escalation: a normal user on a Windows machine can make a background service run their code as the all-powerful SYSTEM account. The service trusted a program in the user's own folder and loaded a library file from there without checking it, so replacing that file with a malicious one gave full control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.