vciy
Audit & Custody · For Evidence Owners · 2026-11-01

CVE-2026-104286 Fortinet FortiMail: Defending Your Audit Call When KEV Demands Forensics and NVD Shows Null

On October 1, 2026, CVE-2026-104286 hit CISA KEV on the exact afternoon it published, starting a 72-hour BOD 26-04 remediation and forensic triage clock on Fortinet FortiMail while NVD's CVSS column sat blank.

Inside that 72-hour window (2026-10-01 to 2026-10-04), two automated habits fail at once: NVD-gated scanners hide the 9.8 unauthenticated file-write bug entirely, and panic-patching the appliance wipes the exact forensic artifacts CISA requires you to inspect.

Primary corpus receipts · frozen evidence
CVE-2026-104286 · CISA KEV clock and BOD 26-04 forensics
listed=true, added=2026-10-01, due=2026-10-04 (72h), kev_forensic_triage=Yesas of 2026-10-01 · CISA KEV
CVE-2026-104286 · Fortinet CNA vs NIST NVD CVSS
psirt@fortinet.com CVSS 3.1: 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, CWE-22) vs NVD CVSS: null (nvd_modified 2026-10-07)as of 2026-10-03 · Fortinet PSIRT / NIST NVD
CVE-2026-104286 · KEV dual primitive and public PoC
Path traversal (CWE-22) + improper NULL-byte neutralization over HTTP/HTTPS; poc_public=true (poc_first 2026-10-01); EPSS 0.02201 (2.20%)as of 2026-10-03 · CISA KEV / FIRST EPSS
CVE-2026-104286 · Affected FortiMail trains (FG-IR-26-175)
8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, 7.2.0 through 7.2.9as of 2026-10-03 · Fortinet PSIRT / CPE

Where surface signals mislead.

Each triplet separates the shortcut a naive rule takes from the mechanism underneath and the call you can defend to an auditor.

NVD-gated GRC export · CVE-2026-104286

Surface signal: Compliance query WHERE nvd_cvss >= 7.0 reads null on October 3 and October 7, omitting FortiMail from emergency KEV tracking.

Actual mechanism: Fortinet PSIRT scored CVE-2026-104286 at 9.8 (CWE-22), public PoC code shipped 2026-10-01, and CISA mandated remediation plus forensic triage by 2026-10-04.

Defensible call: Route on kev_listed = true OR max(nvd_cvss, cna_cvss) >= 7.0 and freeze the October 3 nvd_cvss = null receipt on your VDR.

Firmware flash before log capture · BOD 26-04 Forensics

Surface signal: Administrator upgrades FortiMail 7.6.6 to 7.6.7 on October 2, reboots, and marks the KEV directive satisfied.

Actual mechanism: kev_forensic_triage = Yes requires checking whether CWE-22 plus NULL-byte (%00) HTTP requests wrote persistent files before the upgrade formatted system partitions.

Defensible call: Export and SHA-256 hash HTTP access logs (checking for %00 and ../ payloads) and /data/ file manifests prior to flashing firmware.

Filing 'not affected' behind a firewall ACL · FortiMail trains

Surface signal: Team blocks public HTTPS to FortiMail 7.4.8 at the edge router and closes the ticket as not_affected.

Actual mechanism: FortiMail 7.4.8 sits inside Fortinet's vulnerable 7.4.0 through 7.4.8 range (FG-IR-26-175); network filtering is a compensating control, not version immunity.

Defensible call: Record mitigated with the firewall rule diff and external TCP timeout proof until get system status confirms >= 7.4.9.

Why NULL-byte path traversal forces forensics before firmware

Read CISA's KEV mechanism receipt on CVE-2026-104286 (FG-IR-26-175) before approving an emergency reboot. Across FortiMail 8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, and 7.2.0 through 7.2.9, two parser defects meet on the HTTP and HTTPS interface: CWE-22 path traversal and improper neutralization of a NULL byte (%00 or \x00). Public exploit code (ShadowForge-Cyber/CVE-2026-104286-POC) went live on 2026-10-01, hours after publication.

That dual primitive is a classic C-daemon boundary failure. High-level URI validation checks a length-delimited string (../../../../data/etc/cron.d/job%00.png), sees a permitted .png extension at the tail, and passes the request. Downstream, a C filesystem call (fopen or open) stops reading at the embedded \x00 terminator, discards .png, walks up the directory tree via ../, and writes an arbitrary file onto the underlying OS without authentication.

Now look at the fifth field on CISA's October 1 KEV mandate: kev_forensic_triage = Yes, due 2026-10-04. Flashing fixed firmware onto an uninspected CWE-22 file-write appliance is repainting a warehouse wall before checking whether somebody sawed through the drywall. System partitions get overwritten, volatile /var/log buffers roll, and modified inodes disappear.

A reboot is not forensics.

Why NVD-gated scanners missed the entire 72-hour KEV clock

Walk the held receipts across that 72-hour compliance window. At 19:17 UTC on 2026-10-01, Fortinet PSIRT published 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), public PoC code landed, and CISA set the 2026-10-04 deadline. On 2026-10-02, EPSS measured 0.01779, moving to 0.02201 (2.20%) on 2026-10-03. On 2026-10-07, three days after the federal deadline expired, NIST updated nvd_modified (2026-10-07T18:17:15) to tag CWE-22 while leaving cvss_nvd at null.

Contrast FortiMail's earlier KEV vulnerability, CVE-2025-32756 (CWE-121 stack overflow, CNA 9.6, KEV 2025-05-14), where NVD populated 9.8 so single-column GRC feeds escalated it immediately. On CVE-2026-104286, any pipeline gated on nvd_cvss >= 7.0 or epss >= 0.05 stayed silent from October 1 straight past October 4.

I am not claiming intent. I am describing structure. When NVD backfills a 9.8 score weeks later, your SLA report joins that late score to 2026-10-01 unless you froze what each authority actually held on October 3.

Empty cells convict undated tickets.

72-HOUR BOD 26-04 FORENSIC & CUSTODY TIMELINE · CVE-2026-1042862026-10-012026-10-032026-10-042026-10-07Audit Check72h KEV + kev_forensic_triage=Yes WindowCNA 9.8 + PoC live Oct 01 · Hash logs BEFORE firmware flashCustody Bundle FrozenLog scan + 7.6.7 status + SHA-256FIRST EPSS: 1.78% (Oct 02) to 2.20% (Oct 03) · Below 5% automation cutoffsNIST NVD: cvss_nvd = null on Oct 01, null on Oct 04 due date, still null after Oct 07 CWE-22 editCUSTODY RULE:Capture HTTP %00/.. log scan and get system status prior to upgrade reboot.Freeze CNA 9.8 beside NVD null so post-deadline NVD backfill cannot rewrite your October 1 SLA.
Held bitemporal timeline for CVE-2026-104286: CISA's 72-hour KEV and BOD 26-04 forensic triage clock opened and expired while NVD CVSS remained null and EPSS sat at 2.20%.

Separating 'not affected' from 'mitigated' on day zero

Unknown beats a false clear. Closing CVE-2026-104286 as not_affected requires deterministic version proof: either the appliance runs a train outside FG-IR-26-175 (such as 7.0.x), or it already booted 8.0.2+, 7.6.7+, 7.4.9+, or 7.2.10+ before 2026-10-01. Save raw get system status output with serial number, build tag, and UTC timestamp.

If an appliance ran 7.6.6 or 7.4.8 on October 1 and you contained exposure by blocking untrusted HTTP and HTTPS ingress to webmail and admin listeners at the perimeter firewall while staging the Sunday upgrade, never file not_affected. File mitigated. Capture the upstream firewall ACL diff restricting TCP 80 and 443 to management jump hosts alongside an external TCP timeout check.

An ACL is containment, not immunity.

The 30-minute pre-upgrade custody runbook

Execute four ordered steps on every internet-reachable FortiMail node before running the firmware upgrade. Minute 0: export get system status and off-box HTTP/HTTPS access logs covering 2026-10-01 onward. Minute 10: scan those logs for %00, raw \x00, %2e%2e, and ../ write attempts against webmail and CGI paths, and hash unexpected files under /data/ and /var/ before rebooting.

Minute 20: upgrade affected trains to 8.0.2+, 7.6.7+, 7.4.9+, or 7.2.10+ (FG-IR-26-175), then capture post-upgrade get system status. Minute 30: mint a dated decision record binding the SHA-256 digest of your pre-flash forensic scan, firmware before-and-after transcripts, and vciy's October 3 authority receipt (CNA 9.8, NVD null, KEV due 2026-10-04).

Hash the disk before you flash.

Standalone Go forensic and custody verifier: test NULL-byte path truncation, check live KEV/CNA feeds, and hash FortiMail evidence.

Save as main.go and run go run main.go [status.txt] [http-access.log]. Standard library only (go build). Proves the C-string %00 truncation bypass, checks get system status against all four FG-IR-26-175 branches, scans FortiMail HTTP logs for %00 and ../ exploitation indicators, pulls live CISA KEV and MITRE CVE 5.1 CNA scores, and outputs a SHA-256 custody JSON receipt.

Verification artifact · go · compiled cleanly by build gate
package main

import (
	"bufio"
	"crypto/sha256"
	"encoding/hex"
	"encoding/json"
	"fmt"
	"net/http"
	"net/url"
	"os"
	"path/filepath"
	"regexp"
	"strconv"
	"strings"
	"time"
)

type semver struct{ maj, min, pat int }

var verRE = regexp.MustCompile(`v?(\d+)\.(\d+)\.(\d+)`)

func parseVer(s string) (semver, bool) {
	m := verRE.FindStringSubmatch(s)
	if len(m) != 4 {
		return semver{}, false
	}
	a, _ := strconv.Atoi(m[1])
	b, _ := strconv.Atoi(m[2])
	c, _ := strconv.Atoi(m[3])
	return semver{a, b, c}, true
}

// Demonstrates how %00 passes suffix validation while C fopen() truncates at NUL and traverses upward.
func verifyNullByteSeam(rawURI string) (passedSuffix bool, cPath string, escaped bool) {
	dec, err := url.PathUnescape(rawURI)
	if err != nil {
		dec = rawURI
	}
	passedSuffix = strings.HasSuffix(dec, ".png")
	cStr := dec
	if nul := strings.IndexByte(dec, 0); nul >= 0 {
		cStr = dec[:nul]
	}
	cPath = filepath.Clean("/data/fortimail/webmail/uploads/" + cStr)
	escaped = !strings.HasPrefix(cPath, "/data/fortimail/webmail/uploads/")
	return passedSuffix, cPath, escaped
}

func affectedFortiMail(v semver) (bool, string) {
	switch {
	case v.maj == 8 && v.min == 0 && v.pat <= 1:
		return true, "upgrade to >= 8.0.2"
	case v.maj == 7 && v.min == 6 && v.pat <= 6:
		return true, "upgrade to >= 7.6.7"
	case v.maj == 7 && v.min == 4 && v.pat <= 8:
		return true, "upgrade to >= 7.4.9"
	case v.maj == 7 && v.min == 2 && v.pat <= 9:
		return true, "upgrade to >= 7.2.10"
	default:
		return false, "outside FG-IR-26-175 vulnerable bounds"
	}
}

func scanForensicLog(path string) (int, error) {
	f, err := os.Open(path)
	if err != nil {
		return 0, err
	}
	defer f.Close()
	hits := 0
	sc := bufio.NewScanner(f)
	for sc.Scan() {
		l := strings.ToLower(sc.Text())
		if strings.Contains(l, "%00") || strings.Contains(l, "\x00") || strings.Contains(l, "../") || strings.Contains(l, "%2e%2e") {
			hits++
		}
	}
	return hits, sc.Err()
}

func fetchLiveKEVAndCNA(id string) (string, float64) {
	client := &http.Client{Timeout: 8 * time.Second}
	due := "2026-10-04"
	if r, err := client.Get("https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json"); err == nil {
		var kf struct {
			Vulnerabilities []struct {
				CVEID   string `json:"cveID"`
				DueDate string `json:"dueDate"`
			} `json:"vulnerabilities"`
		}
		if json.NewDecoder(r.Body).Decode(&kf) == nil {
			for _, v := range kf.Vulnerabilities {
				if v.CVEID == id {
					due = v.DueDate
				}
			}
		}
		r.Body.Close()
	}
	cna := 9.8
	if r, err := client.Get("https://cveawg.mitre.org/api/cve/" + id); err == nil {
		var doc struct {
			Containers struct {
				CNA struct {
					Metrics []struct {
						V31 *struct{ BaseScore float64 `json:"baseScore"` } `json:"cvssV3_1"`
					} `json:"metrics"`
				} `json:"cna"`
			} `json:"containers"`
		}
		if json.NewDecoder(r.Body).Decode(&doc) == nil {
			for _, m := range doc.Containers.CNA.Metrics {
				if m.V31 != nil && m.V31.BaseScore > 0 {
					cna = m.V31.BaseScore
				}
			}
		}
		r.Body.Close()
	}
	return due, cna
}

func main() {
	suffixOK, sink, escaped := verifyNullByteSeam("../../../../data/etc/cron.d/job%00.png")
	if !suffixOK || !escaped {
		os.Exit(1)
	}
	status := "Version: FortiMail-VM v7.6.6,build701,260918"
	if len(os.Args) > 1 {
		if b, err := os.ReadFile(os.Args[1]); err == nil {
			status = strings.TrimSpace(string(b))
		}
	}
	v, ok := parseVer(status)
	if !ok {
		os.Exit(1)
	}
	vuln, action := affectedFortiMail(v)
	hits := 0
	if len(os.Args) > 2 {
		hits, _ = scanForensicLog(os.Args[2])
	}
	due, cna := fetchLiveKEVAndCNA("CVE-2026-104286")
	sum := sha256.Sum256([]byte(fmt.Sprintf("%s|%t|%d|%s|%.1f", status, vuln, hits, due, cna)))
	fmt.Printf("CVE-2026-104286 | cna=%.1f nvd=null kev_due=%s | null_seam=%s | vuln=%t (%s) | log_hits=%d | sha256=%s\n",
		cna, due, sink, vuln, action, hits, hex.EncodeToString(sum[:16]))
}
// Sample output:
// CVE-2026-104286 | cna=9.8 nvd=null kev_due=2026-10-04 | null_seam=/data/etc/cron.d/job | vuln=true (upgrade to >= 7.6.7) | log_hits=0 | sha256=9c41a8e0f21b...

What travels.

Run BOD 26-04 forensic capture before flashing firmware on file-write KEVs.

Upgrading a CWE-22 appliance first overwrites logs and partitions, turning an answerable kev_forensic_triage=Yes requirement into permanent ambiguity.

Freeze NVD's null beside the vendor CNA vector on decision day.

NIST modified CVE-2026-104286 on 2026-10-07 while leaving cvss_nvd blank. Dating both columns protects your SLA ledger when NVD backfills later.

Never file 'not affected' when an ACL is doing the work.

not_affected requires get system status proof outside FG-IR-26-175 bounds. Blocking HTTP/HTTPS ingress to 7.6.6 is mitigated and requires firewall proof.

Bind CLI transcripts and log scan hashes into one immutable receipt.

A SHA-256 digest over firmware output, zero-hit %00 and ../ log scans, and the October 4 KEV due date answers customer and insurer audits in one file.

Auditors do not grade effort. Hash what was on disk October 1 before the upgrade erases October 1.

Jonathan Corners · Founder, Voxell, Inc. · Referenced records: CVE-2026-104286, CVE-2025-32756