Skip to content
Path traversal Write-up Intermediate

[5-Min Security Advisory] Threats Targeting Mail Security Gateways: Uncovering Edge Defense Blind

A path traversal vulnerability in Fortinet's FortiMail email security platform allows an unauthenticated attacker to access sensitive stored email data and credentials, and potentially pivot into internal networks. The vulnerability is being actively exploited in the wild and has been added to CISA's KEV catalog.

Soichi Matsuura Follow

Published on medium.com

The Cybersecurity and Infrastructure Security Agency (CISA) recently added a path traversal vulnerability impacting Fortinet’s FortiMail email security platform (CVE-2026–104286) to its Known Exploited Vulnerabilities (KEV) catalog following confirmed active exploitation in the wild.

5-Min Security Advisory, on medium.com

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

[5-Min Security Advisory] #1: Threats Targeting Mail Security Gateways: Uncovering Edge Defence Blind Spots

Photo by Shahadat Rahman on Unsplash From the original on medium.com

Photo by Shahadat Rahman on Unsplash

As attacks targeting edge devices and email gateways intensify, active in-the-wild exploitation of a path traversal vulnerability in Fortinet's FortiMail (CVE-2026-104286) has been confirmed, prompting CISA to add it to its Known Exploited Vulnerabilities (KEV) catalogue. Here is a technical breakdown and practical cybersecurity takeaways from a consultant's perspective.

Context

The target is Fortinet's FortiMail, an email security platform that sits at the perimeter and inspects and blocks incoming threats before they reach users. The vulnerability affects Fortinet's FortiMail email security platform. The vulnerability is a path traversal issue tracked as CVE-2026-104286.

What makes this campaign notable is that the perimeter email gateway itself, a core security barrier, is directly targeted. Email security appliances are designed to inspect and block incoming threats at the perimeter. When the appliance itself harbours critical vulnerabilities, it instantly transforms into an ideal initial access vector for threat actors.

Executive summary

The Cybersecurity and Infrastructure Security Agency (CISA) recently added a path traversal vulnerability impacting Fortinet's FortiMail email security platform (CVE-2026-104286) to its Known Exploited Vulnerabilities (KEV) catalogue following confirmed active exploitation in the wild.

By exploiting this vulnerability, an unauthenticated attacker can traverse system file structures to gain unauthorised access to sensitive stored email data, credentials, and potentially pivot into connected internal networks.

Setup

The advisory does not describe a lab setup, test accounts, tooling or specific firmware versions. The only precondition it states is that the attacker is unauthenticated. The report also does not publish a proof-of-concept request, payload or response.

Finding it

The finding is framed around confirmed active exploitation in the wild rather than a researcher's own discovery. CISA added CVE-2026-104286 to the KEV catalogue after that exploitation was confirmed, which is what raised the profile of the issue.

The technical characteristics the advisory attributes to the vulnerability are:

  • Vulnerability Type: Unauthenticated Path Traversal / Information Disclosure
  • Impact: Unauthenticated access to underlying files, potential credential theft, and unauthorised read/write capabilities on the appliance.
  • MITRE ATT&CK Mapping: T1190, Exploit Public-Facing Application, T1552, Unsecured Credentials

Exploitation

The advisory does not include a step-by-step exploitation walkthrough, request or response. What it does describe is the attack model and the hunting guidance that follows from it.

Step 1: Reach the appliance unauthenticated

The attacker interacts with the internet-facing FortiMail appliance without any credentials.

Step 2: Traverse the file structure

Through the path traversal, the attacker moves through system file structures to reach files outside the intended scope. The advisory characterises the result as unauthorised access to sensitive stored email data and credentials, and notes potential read/write capabilities on the appliance.

Step 3: Hunt for the activity in logs

For defenders, the advisory's detection guidance is to review web server and appliance logs for path traversal request patterns, giving the example of unexpected ../ sequences, as well as anomalous outbound connections.

The advisory gives unexpected ../ sequences as an example of path traversal request patterns to look for in logs.

Step 4: Pivot

With stored email data and credentials in hand, the attacker can potentially pivot into connected internal networks. The advisory presents this as a possibility rather than a guaranteed outcome.

Root cause

The advisory does not analyse the vulnerable code, so the specific defect is not stated. What it does say is that an unauthenticated attacker can traverse system file structures. Why existing defences did not stop it is not described in the report.

Impact

The impact is unauthenticated access to underlying files, potential credential theft, and unauthorised read/write capabilities on the appliance. Because the appliance stores email data and credentials, a successful attack exposes sensitive stored email and credentials, and can potentially be used to pivot into connected internal networks. The advisory does not enumerate affected versions.

Fix

The advisory does not state which code change or firmware release remediated the issue. Its guidance is operational:

Immediate actions (short-term)

  • Apply Emergency Updates: Verify FortiMail firmware versions and immediately deploy vendor-provided patches or mitigations.
  • Hunt for IoCs: Review web server and appliance logs for path traversal request patterns (e.g. unexpected ../ sequences) or anomalous outbound connections.

Strategic improvements (long-term)

  • Establish SLAs for Edge Appliance Patching: Define strict patching timelines specifically for internet-facing assets (e.g. mandating updates within 48-72 hours of KEV listing).
  • Enforce Robust Identity Controls: Ensure MFA is universally enforced across all internal services so that compromised email credentials cannot easily grant further access to the environment.

Why patching gets delayed

From a security consulting standpoint, the core challenge goes beyond the technical flaw itself. It highlights a recurring organisational issue: why email security gateway patching is so frequently delayed.

In most enterprise environments, email services are mission-critical. This creates a dangerous operational dilemma:

  1. Downtime Hesitation: IT teams often defer firmware updates that require restarts, fearing service disruptions to business operations.
  2. Perimeter Asset Blind Spots: While endpoints protected by EDR/XDR receive heavy focus, perimeter network appliances often lack automated lifecycle and vulnerability management processes.

Attackers understand these operational friction points and intentionally leverage them to exploit known perimeter vulnerabilities before organisations can schedule maintenance windows.

Variants to test

These are generalisations from the advisory's detection guidance, not techniques it demonstrates.

  1. Log coverage for traversal patterns. Search web server and appliance logs for unexpected ../ sequences and for anomalous outbound connections. A positive result is a request pattern that reaches the appliance from an external source and is not explained by legitimate administration.

Conclusion

Even in 2026, the vast majority of initial access attempts originate from internet-facing assets with known vulnerabilities. Security teams must treat edge defensive appliances with the highest patching priority, because a gate that cannot be locked quickly becomes the easiest path inside.

Disclaimer: The views and opinions expressed in this article are my own and do not necessarily reflect the official policy or position of any organisation.

Tags: #Cybersecurity #ThreatIntelligence #InfoSec #Vulnerability

Interactive experience: try the game

Want to experience the challenge of managing edge vulnerabilities firsthand?

I built a quick 2-minute interactive simulation using Rosebud AI: "Patch or Perish". Can you keep your organisation's servers online while responding to active in-the-wild exploits?

Play the Interactive Simulation Here (No signup required, runs in browser)

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 12 min read.

What happened, in plain words

A company called Fortinet makes a product called FortiMail. FortiMail is a mail security gateway: a computer that sits between the internet and a company's email system, looking at every incoming message and throwing away the dangerous ones before they reach staff inboxes. Think of it as a security guard at the door of an office building, checking everyone who walks in.

That guard turned out to have a flaw. A security hole in FortiMail, catalogued under the identifier CVE-2026-104286, lets someone who has not logged in at all reach files on the appliance that they should never see. The flaw is a path traversal: a way of asking a computer for a file by a cleverly written name that makes it step outside the folder it was supposed to stay in. Attackers have been using it against real organisations, and the US government's Cybersecurity and Infrastructure Security Agency (CISA) has added it to a public list of vulnerabilities known to be exploited in the wild, called the KEV catalogue.

The uncomfortable part is that the thing being attacked is the defence itself. The guard at the door is the one being attacked, and what it holds is stored email and login credentials.

Photo by Shahadat Rahman on Unsplash From the original on medium.com

Photo by Shahadat Rahman on Unsplash

Context

Before the details, three ideas that come up constantly below.

  • An appliance is a dedicated computer sold to do one job, usually shipped as a box or a virtual machine. A mail gateway appliance does email filtering and nothing else. You do not install other software on it; you patch it and configure it.
  • The perimeter is the edge of a company's network, the part that touches the public internet. Firewalls, VPN concentrators and mail gateways live there.
  • A CVE identifier is a public catalogue number for one specific security flaw, so that everyone discussing it means the same thing. CVE-2026-104286 is the number for this one.

The target here is Fortinet's FortiMail, an email security platform that sits at the perimeter and inspects and blocks incoming threats before they reach users. The vulnerability affects Fortinet's FortiMail email security platform. The vulnerability is a path traversal issue tracked as CVE-2026-104286.

What makes this campaign notable is that the perimeter email gateway itself, a core security barrier, is directly targeted. Email security appliances are designed to inspect and block incoming threats at the perimeter. When the appliance itself harbours critical vulnerabilities, it instantly transforms into an ideal initial access vector for threat actors.

Two more terms from that paragraph. An initial access vector is simply the way an attacker first gets a foot in the door; everything else follows from it. A threat actor is the person or group doing the attacking.

Executive summary

The Cybersecurity and Infrastructure Security Agency (CISA) recently added a path traversal vulnerability impacting Fortinet's FortiMail email security platform (CVE-2026-104286) to its Known Exploited Vulnerabilities (KEV) catalogue following confirmed active exploitation in the wild.

By exploiting this vulnerability, an unauthenticated attacker can traverse system file structures to gain unauthorised access to sensitive stored email data, credentials, and potentially pivot into connected internal networks.

Unpacking that:

  • Unauthenticated means without logging in. No username, no password, no session. Anyone on the internet who can reach the appliance can try.
  • Traversing file structures means walking from one folder into another, including upwards into folders the software never meant to expose.
  • Credentials are the usernames and passwords (or keys and tokens) that systems use to prove who they are to each other. A mail gateway holds plenty, because it has to log in to other systems to deliver mail.
  • Pivoting means using the first compromised machine as a stepping stone to reach others that are not directly reachable from the internet.
  • In the wild means real attacks against real organisations, as opposed to something only demonstrated in a lab.

Setup

The advisory does not describe a lab setup, test accounts, tooling or specific firmware versions. The only precondition it states is that the attacker is unauthenticated. The report also does not publish a proof-of-concept request, payload or response.

That absence is worth understanding rather than skimming. A proof of concept (PoC) is a small demonstration, usually a request and its response, showing that a flaw really works. Many advisories publish one; this one does not. So everything below is about understanding the risk and what to do about it, not about reproducing the attack.

Finding it

The finding is framed around confirmed active exploitation in the wild rather than a researcher's own discovery. CISA added CVE-2026-104286 to the KEV catalogue after that exploitation was confirmed, which is what raised the profile of the issue.

The KEV catalogue is a public list maintained by CISA of vulnerabilities that are known to be used by attackers. Being on it is a strong signal: it is not theoretical, and many organisations are required to patch KEV entries within a deadline.

The technical characteristics the advisory attributes to the vulnerability are:

  • Vulnerability Type: Unauthenticated Path Traversal / Information Disclosure
  • Impact: Unauthenticated access to underlying files, potential credential theft, and unauthorised read/write capabilities on the appliance.
  • MITRE ATT&CK Mapping: T1190, Exploit Public-Facing Application, T1552, Unsecured Credentials

MITRE ATT&CK is a shared catalogue of attacker techniques, each with an ID, so defenders everywhere use the same labels. T1190 means the attacker got in by exploiting a program that is exposed to the internet. T1552 means the attacker went after credentials that were stored somewhere they could be read.

Exploitation

The advisory does not include a step-by-step exploitation walkthrough, request or response. What it does describe is the attack model and the hunting guidance that follows from it.

Step 1: Reach the appliance unauthenticated

The attacker interacts with the internet-facing FortiMail appliance without any credentials.

A foothold is any small bit of access inside a network, such as one infected laptop. Normally an attacker needs one before reaching internal systems. Here they do not, because the mail gateway has to accept connections from the whole internet in order to receive mail. That is the trade-off of running any public service.

Step 2: Traverse the file structure

Through the path traversal, the attacker moves through system file structures to reach files outside the intended scope. The advisory characterises the result as unauthorised access to sensitive stored email data and credentials, and notes potential read/write capabilities on the appliance.

To see why this works, picture a filing cabinet. A web server is often asked for a file by a relative path, something like documents/report.pdf, meaning "inside the documents folder, the file report.pdf". The two dots in .. mean "the folder above this one". So ../ means "go up one level". Chain a few together and you climb out of the folder the software intended to serve, which is exactly what a path traversal does. Read/write capabilities means the attacker may be able not just to look at files but to change them, which is worse.

Step 3: Hunt for the activity in logs

For defenders, the advisory's detection guidance is to review web server and appliance logs for path traversal request patterns, giving the example of unexpected ../ sequences, as well as anomalous outbound connections.

Line by line, in plain words:

  • .. is the shorthand every operating system uses for "the parent folder", the one directly above the current one.
  • / is the separator between folder names in a path.
  • Together, ../ means "step up one folder". Repeated, ../../ steps up two, and so on.

In a normal request this sequence is rare, because browsers and applications usually build paths for you. Seeing it arrive from the internet, especially repeated, is the signal to look for. A log is the running diary a server keeps of requests it received; anomalous outbound connections means the appliance making connections out to places it does not normally talk to, which can indicate an attacker using it as a stepping stone.

Step 4: Pivot

With stored email data and credentials in hand, the attacker can potentially pivot into connected internal networks. The advisory presents this as a possibility rather than a guaranteed outcome.

Why credentials matter so much: a mail gateway is trusted by other systems. If an attacker steals the password it uses to talk to a mail store or an internal service, they can log in as the gateway and move further in. This is why the advisory treats credential theft as the serious part, not just the file reading.

Root cause

The advisory does not analyse the vulnerable code, so the specific defect is not stated. What it does say is that an unauthenticated attacker can traverse system file structures. Why existing defences did not stop it is not described in the report.

In everyday terms: the software takes a piece of text from the visitor and uses it to decide which file to open, without checking that the answer stays inside the allowed folder. The fix for this class of bug is always the same idea, confirm the final location is inside the permitted area before opening anything, but the advisory does not say what Fortinet changed.

Impact

The impact is unauthenticated access to underlying files, potential credential theft, and unauthorised read/write capabilities on the appliance. Because the appliance stores email data and credentials, a successful attack exposes sensitive stored email and credentials, and can potentially be used to pivot into connected internal networks. The advisory does not enumerate affected versions.

Fix

The advisory does not state which code change or firmware release remediated the issue. Its guidance is operational:

Immediate actions (short-term)

  • Apply Emergency Updates: Verify FortiMail firmware versions and immediately deploy vendor-provided patches or mitigations.
  • Hunt for IoCs: Review web server and appliance logs for path traversal request patterns (e.g. unexpected ../ sequences) or anomalous outbound connections.

Firmware is the software built into an appliance, the equivalent of its operating system plus the product itself. A patch is a small update that fixes a specific flaw. IoCs, indicators of compromise, are the traces an attack leaves behind, the things you search for to find out whether you were hit.

Strategic improvements (long-term)

  • Establish SLAs for Edge Appliance Patching: Define strict patching timelines specifically for internet-facing assets (e.g. mandating updates within 48-72 hours of KEV listing).
  • Enforce Robust Identity Controls: Ensure MFA is universally enforced across all internal services so that compromised email credentials cannot easily grant further access to the environment.

An SLA, service level agreement, here means an internal promise with a deadline: this class of device gets patched within this many hours. MFA, multi-factor authentication, means logging in needs something beyond a password, such as a code from a phone app. It does not stop the password being stolen, but it stops the stolen password being enough on its own.

Why patching gets delayed

From a security consulting standpoint, the core challenge goes beyond the technical flaw itself. It highlights a recurring organisational issue: why email security gateway patching is so frequently delayed.

In most enterprise environments, email services are mission-critical. This creates a dangerous operational dilemma:

  1. Downtime Hesitation: IT teams often defer firmware updates that require restarts, fearing service disruptions to business operations.
  2. Perimeter Asset Blind Spots: While endpoints protected by EDR/XDR receive heavy focus, perimeter network appliances often lack automated lifecycle and vulnerability management processes.

Some terms in that list. Downtime is time when a service is unavailable; patching an appliance usually means restarting it. Endpoints are the laptops and desktops staff use. EDR/XDR are tools that watch endpoints for malicious behaviour and can respond automatically. Lifecycle management means keeping an inventory of every device, knowing its version and its patch state, and updating it on a schedule. The point is that laptops get all this attention while the box at the network edge quietly runs old software for years.

Attackers understand these operational friction points and intentionally leverage them to exploit known perimeter vulnerabilities before organisations can schedule maintenance windows.

Variants to test

These are generalisations from the advisory's detection guidance, not techniques it demonstrates.

  1. Log coverage for traversal patterns. Search web server and appliance logs for unexpected ../ sequences and for anomalous outbound connections. A positive result is a request pattern that reaches the appliance from an external source and is not explained by legitimate administration.

Encoding is how special characters are written so they survive being carried inside a web address. A dot can be written as %2e, so ../ can appear as %2e%2e%2f. Software that checks for the plain form but forgets the encoded form can be bypassed. Normalising means converting all those spellings back to one standard form before acting on them, which is the safe order of operations.

Conclusion

Even in 2026, the vast majority of initial access attempts originate from internet-facing assets with known vulnerabilities. Security teams must treat edge defensive appliances with the highest patching priority, because a gate that cannot be locked quickly becomes the easiest path inside.

Disclaimer: The views and opinions expressed in this article are my own and do not necessarily reflect the official policy or position of any organisation.

Tags: #Cybersecurity #ThreatIntelligence #InfoSec #Vulnerability

Interactive experience: try the game

Want to experience the challenge of managing edge vulnerabilities firsthand?

I built a quick 2-minute interactive simulation using Rosebud AI: "Patch or Perish". Can you keep your organisation's servers online while responding to active in-the-wild exploits?

Play the Interactive Simulation Here (No signup required, runs in browser)

Glossary

  • Appliance: a dedicated computer sold to do one specific job, such as filtering email.
  • CISA: the US Cybersecurity and Infrastructure Security Agency, which publishes the KEV catalogue.
  • CVE identifier: a public catalogue number for one specific security vulnerability.
  • Credentials: usernames, passwords, keys or tokens that systems use to prove identity to each other.
  • Downtime: time when a service is unavailable, often caused by a restart during patching.
  • EDR/XDR: tools that monitor endpoints for malicious behaviour and can respond to it.
  • Encoding: writing special characters in a web-safe form, for example %2e for a dot.
  • Endpoint: a laptop or desktop used by staff, as opposed to a server or network device.
  • Firmware: the software built into an appliance, its operating system and product code.
  • Foothold: any small piece of access inside a network that an attacker has already obtained.
  • Initial access vector: the way an attacker first gets into an environment.
  • In the wild: happening in real attacks against real organisations, not only in a lab.
  • IoCs (indicators of compromise): traces left by an attack that defenders search for.
  • KEV catalogue: CISA's public list of vulnerabilities known to be exploited in real attacks.
  • Lifecycle management: keeping an inventory of devices, their versions and their patch state, and updating them on schedule.
  • Log: the running record a server keeps of the requests and events it handles.
  • MFA (multi-factor authentication): logging in with something in addition to a password, such as a code from an app.
  • MITRE ATT&CK: a shared catalogue of attacker techniques, each with an ID such as T1190.
  • Normalising: converting different spellings of the same input into one standard form before acting on it.
  • Patch: a small software update that fixes a specific flaw.
  • Path traversal: a flaw where crafted input makes software open files outside the folder it was meant to use.
  • Perimeter: the edge of a company's network that touches the public internet.
  • Pivot: using one compromised machine as a stepping stone to reach others.
  • Proof of concept (PoC): a small demonstration, usually a request and response, proving a flaw works.
  • Read/write capabilities: the ability not just to view files but to change them.
  • SLA (service level agreement): a commitment with a deadline, here an internal promise about how fast devices get patched.
  • Threat actor: the person or group carrying out an attack.
  • Unauthenticated: done without logging in, with no credentials required.
  • Vulnerability: a weakness in software that an attacker can use to make it behave in ways its makers did not intend.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.