CVE-2026-22808: Github.com/fleetdm/fleet Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-gfpw-jgvr-cw4j
CWE-79
Published
Advisory Summary

CVE-2026-22808 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Github.com/fleetdm/fleet libraries in the Go ecosystem. The issue involves fleet windows mdm endpoint has a cross-site scripting vulnerability. Remediation is available by upgrading affected packages to version 4.78.2, 4.77.1, 4.76.2, 4.75.2, 4.43.5-0.20260111020427-0e6c790803d1.

CVE-2026-22808 at a Glance

CVE Identifier CVE-2026-22808
GHSA Identifier GHSA-gfpw-jgvr-cw4j
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Github.com/fleetdm/fleet
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-22808

To remediate this vulnerability, upgrade all affected Github.com/fleetdm/fleet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/fleetdm/fleet fixed: 4.78.2
Upgrade github.com/fleetdm/fleet to 4.78.2
github.com/fleetdm/fleet fixed: 4.77.1
Upgrade github.com/fleetdm/fleet to 4.77.1
github.com/fleetdm/fleet fixed: 4.76.2
Upgrade github.com/fleetdm/fleet to 4.76.2
github.com/fleetdm/fleet fixed: 4.75.2
Upgrade github.com/fleetdm/fleet to 4.75.2
github.com/fleetdm/fleet/v4 fixed: 4.43.5-0.20260111020427-0e6c790803d1
Upgrade github.com/fleetdm/fleet/v4 to 4.43.5-0.20260111020427-0e6c790803d1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/fleetdm/fleet

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-22808, inspect your project dependencies for Github.com/fleetdm/fleet:

inspect dependencies for github.com/fleetdm/fleet

Analyze the terminal output to locate any version of Github.com/fleetdm/fleet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.78.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Github.com/fleetdm/fleet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary A cross-site scripting (XSS) vulnerability in Fleet’s Windows MDM authentication flow could allow an attacker to compromise a Fleet user account. In certain cases, this could lead to administrative access and the ability to perform privileged actions on managed devices. ### Impact If Windows MDM is enabled, an attacker could exploit a cross-site scripting (XSS) vulnerability by convincing an authenticated Fleet user to visit a malicious link. Successful exploitation could allow retrieval of the user’s Fleet authentication token from their browser. A compromised authentication token may grant administrative access to the Fleet API, allowing an attacker to perform privileged actions such as deploying scripts to managed hosts. This issue does not allow unauthenticated access and does not affect instances where Windows MDM is disabled. ### Patches - 4.78.2 - 4.77.1 - 4.76.2 - 4.75.2 - 4.53.3 ### Workarounds If an immediate upgrade is not possible, affected Fleet users should temporarily disable Windows MDM. ### For more information If you have any questions or comments about this advisory: Email us at [security@fleetdm.com](mailto:security@fleetdm.com) Join #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw) ### Credits We thank @secfox-ai for responsibly reporting this issue.

CVE-2026-22808 Affected Github.com/fleetdm/fleet Versions

5 component(s)
Fixed Versions:
4.78.24.77.14.76.24.75.24.43.5-0.20260111020427-0e6c790803d1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/fleetdm/fleet
Go
≥ 4.78.0
< 4.78.2
4.78.2
github.com/fleetdm/fleet
Go
≥ 4.77.0
< 4.77.1
4.77.1
github.com/fleetdm/fleet
Go
≥ 4.76.0
< 4.76.2
4.76.2
github.com/fleetdm/fleet
Go
≥ 4.75.0
< 4.75.2
4.75.2
github.com/fleetdm/fleet/v4
Go
< 4.43.5-0.20260111020427-0e6c790803d1
4.43.5-0.20260111020427-0e6c790803d1

References

Frequently Asked Questions

What is CVE-2026-22808?
CVE-2026-22808 is a security vulnerability in Github.com/fleetdm/fleet involving Fleet Windows MDM endpoint has a Cross-site Scripting vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Github.com/fleetdm/fleet versions are affected?
Affected versions include releases prior to 4.78.2, 4.77.1, 4.76.2, 4.75.2, 4.43.5-0.20260111020427-0e6c790803d1 across affected packages: github.com/fleetdm/fleet, github.com/fleetdm/fleet/v4.
What version fixes CVE-2026-22808?
Upgrading to 4.78.2, 4.77.1, 4.76.2, 4.75.2, 4.43.5-0.20260111020427-0e6c790803d1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/fleetdm/fleet affected?
Yes, github.com/fleetdm/fleet is affected in releases prior to 4.78.2, 4.77.1, 4.76.2, 4.75.2. Upgrade your dependency to 4.78.2, 4.77.1, 4.76.2, 4.75.2 or later.
Is github.com/fleetdm/fleet/v4 affected?
Yes, github.com/fleetdm/fleet/v4 is affected in releases prior to 4.43.5-0.20260111020427-0e6c790803d1. Upgrade your dependency to 4.43.5-0.20260111020427-0e6c790803d1 or later.
What CWE is associated with CVE-2026-22808?
CVE-2026-22808 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Go dependencies for CVE-2026-22808?
Run the dependency tree command: 'inspect dependencies for github.com/fleetdm/fleet'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gfpw-jgvr-cw4j",
  "modified" : "2026-01-22T15:38:41Z",
  "published" : "2026-01-20T20:52:17Z",
  "aliases" : [ "CVE-2026-22808" ],
  "summary" : "Fleet Windows MDM endpoint has a Cross-site Scripting vulnerability",
  "details" : "### Summary\n\nA cross-site scripting (XSS) vulnerability in Fleet’s Windows MDM authentication flow could allow an attacker to compromise a Fleet user account. In certain cases, this could lead to administrative access and the ability to perform privileged actions on managed devices.\n\n### Impact\n\nIf Windows MDM is enabled, an attacker could exploit a cross-site scripting (XSS) vulnerability by convincing an authenticated Fleet user to visit a malicious link. Successful exploitation could allow retrieval of the user’s Fleet authentication token from their browser.\n\nA compromised authentication token may grant administrative access to the Fleet API, allowing an attacker to perform privileged actions such as deploying scripts to managed hosts.\n\nThis issue does not allow unauthenticated access and does not affect instances where Windows MDM is disabled.\n\n### Patches\n\n- 4.78.2\n- 4.77.1\n- 4.76.2\n- 4.75.2\n- 4.53.3\n\n### Workarounds\n\nIf an immediate upgrade is not possible, affected Fleet users should temporarily disable Windows MDM.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\nEmail us at [security@fleetdm.com](mailto:security@fleetdm.com)\nJoin #fleet in [osquery Slack](https://join.slack.com/t/osquery/shared_invite/zt-h29zm0gk-s2DBtGUTW4CFel0f0IjTEw)\n\n### Credits\n\nWe thank @secfox-ai for responsibly reporting this issue.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.78.0"
      }, {
        "fixed" : "4.78.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.77.0"
      }, {
        "fixed" : "4.77.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.76.0"
      }, {
        "fixed" : "4.76.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.75.0"
      }, {
        "fixed" : "4.75.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/fleetdm/fleet/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.43.5-0.20260111020427-0e6c790803d1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/fleetdm/fleet/security/advisories/GHSA-gfpw-jgvr-cw4j"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-22808"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/fleetdm/fleet/commit/0e6c790803d1b4407c5b4b41a67a37864a3d3573"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/fleetdm/fleet"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-01-20T20:52:17Z",
    "nvd_published_at" : "2026-01-21T22:15:49Z"
  }
}