CVE-2026–24018: A Logic flaw to Local Privilege Escalation 0day $$
FortiClientLinux validates that an imported PKCS11 shared library is owned by root, but follows a symbolic link at the supplied path, so a local unprivileged user can point the link at a root-owned library for validation and then repoint it at their own library. When the FortiClient app is opened, the user's library is loaded in a root context, giving local privilege escalation to root.
My first CVE of 2026. A UNIX symbolic link (Symlink) following vulnerability in Fortinet FortiClientLinux 7.4.0 through 7.4.4, FortiClientLinux 7.2.2 through 7.2.12 that allow a local and unprivileged user to escalate their privileges to root.
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 a time-of-check-to-time-of-use flaw: the root-ownership check is done on the symlink target at configuration time, but the path is resolved again at load time without re-validating ownership or preventing symlink swaps.
Impact
A local unprivileged user could escalate privileges to root; no real VPN connection is needed, only opening the FortiClient app once.
What the attacker needed
Local unprivileged account on the host; FortiClientLinux installed globally; ability to create a VPN connection; opening the FortiClient app once
The fix
Upgrade FortiClient to the latest version, which the vendor advisory addresses.
How it was found
- Create a VPN connection in FortiClient and set the PKCS11 library path to a symlink pointing at a root-owned shared library.
- Let FortiClient accept the configuration because the symlink target is owned by root.
- Delete the original symlink and replace it with a symlink pointing at the attacker's own shared library.
- Open the FortiClient GUI app once to trigger loading of the library.
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.
A symbolic link is a shortcut file that points at another file. The VPN client checked that the file behind the shortcut belonged to the administrator account, but it did not re-check after the shortcut was changed, so a normal user could swap in their own program and have it run with administrator rights.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.