NCSC-2026-0398

Vulnerability from csaf_ncscnl - Published: 2026-10-02 07:21 - Updated: 2026-10-02 07:21
Summary
Kwetsbaarheid verholpen in Fortinet FortiMail
Notes
The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this page to enhance access to its information and security advisories. The use of this security advisory is subject to the following terms and conditions: NCSC-NL makes every reasonable effort to ensure that the content of this page is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or continuous keeping up-to-date. The information contained in this security advisory is intended solely for the purpose of providing general information to professional users. No rights can be derived from the information provided therein. NCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of this security advisory. This includes damage resulting from the inaccuracy of incompleteness of the information contained in the advisory. This security advisory is subject to Dutch law. All disputes related to or arising from the use of this advisory will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings.
Feiten: Fortinet heeft een kwetsbaarheid verholpen in FortiMail.
Interpretaties: FortiMail bevat een kritieke kwetsbaarheid (CVE-2026-104286) in de verwerking van bestandspaden, veroorzaakt door een combinatie van Path Traversal (CWE-22) en onvoldoende neutralisatie van NULL-bytes (CWE-158). Een niet-geauthenticeerde aanvaller kan via speciaal vervaardigde HTTP- of HTTPS-verzoeken willekeurige bestanden op het onderliggende systeem schrijven. De kwetsbaarheid wordt actief geëxploiteerd. Getroffen zijn FortiMail 7.2.0–7.2.9, 7.4.0–7.4.8, 7.6.0–7.6.6 en 8.0.0–8.0.1 waarbij de functionaliteit IBE (Identity Based Encryption) is aangezet. Deze functionaliteit maakt versleuteling naar derden mogelijk zonder dat zij over bekende certificaten beschikken. Fortinet heeft Indicators of Compromise (IoC's) beschikbaar gesteld waarmee organisaties kunnen onderzoeken of er mogelijk misbruik van de kwetsbaarheid heeft plaatsgevonden. Gezien de actieve exploitatie van FortiMail is het raadzaam om naast het installeren van de beveiligingsupdate ook onderzoek uit te voeren naar mogelijke compromittering. Hierbij kunnen de door Fortinet gepubliceerde IoC's worden gebruikt als onderdeel van de forensische controle.
Oplossingen: Fortinet heeft beveiligingsupdates uitgebracht om de kwetsbaarheid te verhelpen. Daarnaast heeft Fortinet IoC's uitgebracht die kunnen helpen bij onderzoek en additionele mitigerende maatregelen benoemd in de FG-IR-26-175 advisory. Zie bijgevoegde referenties voor meer informatie.
Dreigingsinformatie: Indicators of Compromise (IoC): Files: * [ADDED]/data/lib/liblog.so MD5 - 64c90a00c7fda4d5c7973ed64c25783a SHA256 - 8015f34dc84922b03688399d7f9fe7a00361789f7e420c7e2a2cdb23e75cef84 * [MODIFIED]/bin/smit MD5 - 5241738a3e9988404239e12243f6d35b SHA256 - 77324ac428bde86d351fc5fc06f6d64a6bfe737dfb2743df1d4c5ac2418a5b6a * [ADDED]/data/bin/webconsole MD5 - ae0ea6502d3fa5f0664bceb73189eb54 SHA256 - 7a6cea9f5c9e2e9994d4e3c4da73f86cf5acd05ea5d312c066c9d1dafd69ee38 * [ADDED]/data/bin/mailservice MD5 - f90fa81a5f521d785f2b2f765e3ab897 SHA256 - 4000276a150a165d3c2537d1e19fb393c4de8333076a16655e28059cae82157b * [MODIFIED]/data/etc/httpd.conf MD5 - 61af1c4bce1c2eebc8ff689ca5337791 SHA256 - 703e97c64e61e41dc3aaba580d82bb2aa7b6a11b54ee6fb467ed5d5a3bffdef5 * [ADDED]/data/etc/ld.so.preload MD5 - 8eb64f25d2a8e18e05aae058629473cf SHA256 - 8953ec7960b09f544a880b072ad4e6cfda7a8303f486251d3478dcfdfbac23b6 * [MODIFIED] /data/migadmin.tar.gz MD5 - 49a7156a7d043cc8f9f680579db22f86 SHA256 - d6fe51c22b91776f4c961ea58bcac5917f15d560a619d7ce726d3d51795609d3 IPs: 79[.]141.169.187 45[.]129.0.192 Logs: - type=event subtype=system pri=debug user=system ui=cron msg="(root) CMD (/bin/sh -c 'O=/migadmin ... - type=kevent subtype=admin pri=information user=admin ui=(null) action=logout status=success reason=unknown msg="User admin logged out from (null)." - type=kevent subtype=config pri=information user=admin ui=cli module=unknown submodule=unknown msg="Added 'archive234' to 'archive account' : rotation-size[50]rotation-time[1] rotation-hour[14]destination[remote]remote-ip[79.141.169.187]remote-username[archive234]remote-password[***]remote-directory[/uploads] (user: admin, from: cli)" - FortiMail::IBE::DecrypterMediaIn::DecrypterMediaIn(FortiMail::MediaIn&, const FortiMail::IBE::KeyFinder&, const FortiMail::EmailAddress&, const FortiMail::Buffer&, FortiMail::IBE::DecrypterMediaIn::Version): Caught BufferException(2), BufferImpl.cpp:973, 'Invalid Base64 Encoding at pos 0. Character=0x2a' - Internal user *@domain.tld<mailto:*@domain.tld> failed to log in.
Kans: medium
Schade: high
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-158: Improper Neutralization of Null Byte or NUL Character

Fortinet FortiMail versions 7.2.0 to 8.0.1 contain a path traversal and NULL byte neutralization vulnerability allowing unauthenticated attackers to write arbitrary files via crafted HTTP/HTTPS requests.

CWE-158 - Improper Neutralization of Null Byte or NUL Character
Affected products
Product Identifier Version Remediation
vers:unknown/*
Fortinet / FortiMail
vers:unknown/*

{
  "document": {
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "tlp": {
        "label": "WHITE"
      }
    },
    "lang": "nl",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "The Netherlands Cyber Security Center (henceforth: NCSC-NL) maintains this page to enhance access to its information and security advisories. The use of this security advisory is subject to the following terms and conditions:\n\n    NCSC-NL makes every reasonable effort to ensure that the content of this page is kept up to date, and that it is accurate and complete. Nevertheless, NCSC-NL cannot entirely rule out the possibility of errors, and therefore cannot give any warranty in respect of its completeness, accuracy or continuous keeping up-to-date. The information contained in this security advisory is intended solely for the purpose of providing general information to professional users. No rights can be derived from the information provided therein.\n\n    NCSC-NL and the Kingdom of the Netherlands assume no legal liability or responsibility for any damage resulting from either the use or inability of use of this security advisory. This includes damage resulting from the inaccuracy of incompleteness of the information contained in the advisory.\n    This security advisory is subject to Dutch law. All disputes related to or arising from the use of this advisory will be submitted to the competent court in The Hague. This choice of means also applies to the court in summary proceedings."
      },
      {
        "category": "description",
        "text": "Fortinet heeft een kwetsbaarheid verholpen in FortiMail.",
        "title": "Feiten"
      },
      {
        "category": "description",
        "text": "FortiMail bevat een kritieke kwetsbaarheid (CVE-2026-104286) in de verwerking van bestandspaden, veroorzaakt door een combinatie van Path Traversal (CWE-22) en onvoldoende neutralisatie van NULL-bytes (CWE-158). Een niet-geauthenticeerde aanvaller kan via speciaal vervaardigde HTTP- of HTTPS-verzoeken willekeurige bestanden op het onderliggende systeem schrijven. De kwetsbaarheid wordt actief ge\u00ebxploiteerd. Getroffen zijn FortiMail 7.2.0\u20137.2.9, 7.4.0\u20137.4.8, 7.6.0\u20137.6.6 en 8.0.0\u20138.0.1 waarbij de functionaliteit IBE (Identity Based Encryption) is aangezet. Deze functionaliteit maakt versleuteling naar derden mogelijk zonder dat zij over bekende certificaten beschikken.\n\nFortinet heeft Indicators of Compromise (IoC\u0027s) beschikbaar gesteld waarmee organisaties kunnen onderzoeken of er mogelijk misbruik van de kwetsbaarheid heeft plaatsgevonden. Gezien de actieve exploitatie van FortiMail is het raadzaam om naast het installeren van de beveiligingsupdate ook onderzoek uit te voeren naar mogelijke compromittering. Hierbij kunnen de door Fortinet gepubliceerde IoC\u0027s worden gebruikt als onderdeel van de forensische controle.",
        "title": "Interpretaties"
      },
      {
        "category": "description",
        "text": "Fortinet heeft beveiligingsupdates uitgebracht om de kwetsbaarheid te verhelpen. Daarnaast heeft Fortinet IoC\u0027s uitgebracht die kunnen helpen bij onderzoek en additionele mitigerende maatregelen benoemd in de FG-IR-26-175 advisory. Zie bijgevoegde referenties voor meer informatie.",
        "title": "Oplossingen"
      },
      {
        "category": "description",
        "text": "Indicators of Compromise (IoC):\nFiles:\n\n* [ADDED]/data/lib/liblog.so  MD5 - 64c90a00c7fda4d5c7973ed64c25783a SHA256 - 8015f34dc84922b03688399d7f9fe7a00361789f7e420c7e2a2cdb23e75cef84 \n* [MODIFIED]/bin/smit   MD5 - 5241738a3e9988404239e12243f6d35b SHA256 - 77324ac428bde86d351fc5fc06f6d64a6bfe737dfb2743df1d4c5ac2418a5b6a\n* [ADDED]/data/bin/webconsole   MD5 - ae0ea6502d3fa5f0664bceb73189eb54 SHA256 - 7a6cea9f5c9e2e9994d4e3c4da73f86cf5acd05ea5d312c066c9d1dafd69ee38\n* [ADDED]/data/bin/mailservice  MD5 - f90fa81a5f521d785f2b2f765e3ab897 SHA256 - 4000276a150a165d3c2537d1e19fb393c4de8333076a16655e28059cae82157b\n* [MODIFIED]/data/etc/httpd.conf    MD5 - 61af1c4bce1c2eebc8ff689ca5337791 SHA256 - 703e97c64e61e41dc3aaba580d82bb2aa7b6a11b54ee6fb467ed5d5a3bffdef5\n* [ADDED]/data/etc/ld.so.preload    MD5 - 8eb64f25d2a8e18e05aae058629473cf SHA256 - 8953ec7960b09f544a880b072ad4e6cfda7a8303f486251d3478dcfdfbac23b6\n* [MODIFIED] /data/migadmin.tar.gz  MD5 - 49a7156a7d043cc8f9f680579db22f86 SHA256 - d6fe51c22b91776f4c961ea58bcac5917f15d560a619d7ce726d3d51795609d3\nIPs:\n\n79[.]141.169.187\n45[.]129.0.192\nLogs:\n\n- type=event subtype=system pri=debug user=system ui=cron msg=\"(root) CMD (/bin/sh -c \u0027O=/migadmin ...\n- type=kevent subtype=admin pri=information user=admin ui=(null) action=logout status=success reason=unknown msg=\"User admin logged out from (null).\"\n- type=kevent subtype=config pri=information user=admin ui=cli module=unknown submodule=unknown msg=\"Added \u0027archive234\u0027 to \u0027archive account\u0027 : rotation-size[50]rotation-time[1] rotation-hour[14]destination[remote]remote-ip[79.141.169.187]remote-username[archive234]remote-password[***]remote-directory[/uploads] (user: admin, from: cli)\"\n- FortiMail::IBE::DecrypterMediaIn::DecrypterMediaIn(FortiMail::MediaIn\u0026, const FortiMail::IBE::KeyFinder\u0026, const FortiMail::EmailAddress\u0026, const FortiMail::Buffer\u0026, FortiMail::IBE::DecrypterMediaIn::Version): Caught BufferException(2), BufferImpl.cpp:973, \u0027Invalid Base64 Encoding at pos 0. Character=0x2a\u0027\n- Internal user *@domain.tld\u003cmailto:*@domain.tld\u003e failed to log in.",
        "title": "Dreigingsinformatie"
      },
      {
        "category": "general",
        "text": "medium",
        "title": "Kans"
      },
      {
        "category": "general",
        "text": "high",
        "title": "Schade"
      },
      {
        "category": "general",
        "text": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
        "title": "CWE-22"
      },
      {
        "category": "general",
        "text": "Improper Neutralization of Null Byte or NUL Character",
        "title": "CWE-158"
      }
    ],
    "publisher": {
      "category": "coordinator",
      "contact_details": "cert@ncsc.nl",
      "name": "Nationaal Cyber Security Centrum",
      "namespace": "https://www.ncsc.nl/"
    },
    "references": [
      {
        "category": "external",
        "summary": "Reference",
        "url": "https://fortiguard.fortinet.com/psirt/FG-IR-26-175"
      }
    ],
    "title": "Kwetsbaarheid verholpen in Fortinet FortiMail",
    "tracking": {
      "current_release_date": "2026-10-02T07:21:47.557290Z",
      "generator": {
        "date": "2025-08-04T16:30:00Z",
        "engine": {
          "name": "V.A.",
          "version": "1.3"
        }
      },
      "id": "NCSC-2026-0398",
      "initial_release_date": "2026-10-02T07:21:47.557290Z",
      "revision_history": [
        {
          "date": "2026-10-02T07:21:47.557290Z",
          "number": "1.0.0",
          "summary": "Initiele versie"
        }
      ],
      "status": "final",
      "version": "1.0.0"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version_range",
                "name": "vers:unknown/*",
                "product": {
                  "name": "vers:unknown/*",
                  "product_id": "CSAFPID-1"
                }
              }
            ],
            "category": "product_name",
            "name": "FortiMail"
          }
        ],
        "category": "vendor",
        "name": "Fortinet"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2026-104286",
      "cwe": {
        "id": "CWE-158",
        "name": "Improper Neutralization of Null Byte or NUL Character"
      },
      "notes": [
        {
          "category": "other",
          "text": "Improper Neutralization of Null Byte or NUL Character",
          "title": "CWE-158"
        },
        {
          "category": "other",
          "text": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "title": "CWE-22"
        },
        {
          "category": "description",
          "text": "Fortinet FortiMail versions 7.2.0 to 8.0.1 contain a path traversal and NULL byte neutralization vulnerability allowing unauthenticated attackers to write arbitrary files via crafted HTTP/HTTPS requests.",
          "title": "Summary"
        }
      ],
      "product_status": {
        "known_affected": [
          "CSAFPID-1"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "CVE-2026-104286 | NCSC-NL Website",
          "url": "https://vulnerabilities.ncsc.nl/csaf/v2/2026/cve-2026-104286.json"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "CSAFPID-1"
          ]
        }
      ],
      "title": "CVE-2026-104286"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…