Skip to content
RCE Advisory Advanced CVE-2026-13046

WatchGuard FireWare OS samld SAMLSession Deserialization of Untrusted Data Remote Code Execution Vulnerability

The samld service in WatchGuard FireWare OS deserialises session files without properly validating their contents. An attacker who can already write into the samld session directory could combine this with other flaws to run code as the samld user.

Nicholas Zubrisky Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of WatchGuard FireWare OS. An attacker must first obtain the ability to write to the samld session directory on the target system in order to exploit this vulnerability.

Nicholas Zubrisky (@NZubrisky) of TrendAI Research, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the samld service deserialises session files from its session directory without validating or authenticating their contents.

Impact

An attacker who can write to the samld session directory could, in combination with other vulnerabilities, execute code as the samld user; the text does not claim this works on its own.

What the attacker needed

Ability to write to samld session directory; another vulnerability to chain with

The fix

WatchGuard issued an update to correct the vulnerability.

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.

Some programs save objects to disk and later load them back, a process called deserialisation. If an attacker can put their own file where the program expects a saved object, the program may rebuild it in a way that runs the attacker's code. Here the samld service trusts session files it reads without checking them first.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Nicholas Zubrisky

View all

9 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.