{
  "id": "CVE-2026-104084",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-104084",
  "published_at": "2026-10-09T15:08:23.453Z",
  "title": "SmarterMail \u003c Build 9777 Stale JWT Role Claim Privilege Escalation via Refresh Token",
  "vendor": "Smartertools",
  "product": "Smartermail",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-12T14:15:12Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 3,
    "repo": "eev4n/smartermail",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "SmarterMail before build 9777 contains a privilege escalation vulnerability where JWT access and refresh tokens embed a role claim at issuance that is not revalidated against the account's current role when redeemed through POST /api/v1/auth/refresh-token. Attackers who capture a refresh token issued before an administrator demotion, or a demoted user whose session was not actively polling at the time of demotion, can replay the stale token to obtain a new access token retaining the higher-privilege role (such as DomainAdmin or SysAdmin) until natural token expiry.",
  "cwe": "CWE-613",
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [
    {
      "repo": "eev4n/smartermail",
      "url": "https://github.com/eev4n/smartermail",
      "created_at": "2026-10-12T14:15:12Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2026-04-17T13:52:57Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Smartertools",
        "product": "Smartermail",
        "ranges": [
          "\u003c Build 9777"
        ],
        "fixed_in": [
          "Build 9777"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Smartermail to Build 9777 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://www.smartertools.com/smartermail/release-notes/current#/9526:~:text=Build%209777%20(Oct%208%2C%202026)"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://blog.evan.lat/posts/sm/",
      "source": "cvelist",
      "title": "Researcher Blog",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/upload",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "context=file-storage",
        "contextData=",
        "resumableChunkNumber=1",
        "resumableTotalChunks=1",
        "resumableChunkSize=",
        "resumableCurrentChunkSize=",
        "resumableTotalSize=",
        "resumableIdentifier=",
        "resumableFilename=",
        "resumableRelativePath=",
        "resumableType="
      ],
      "content_type": "application/x-www-form-urlencoded",
      "protocol": "http",
      "repos": [
        "eev4n/smartermail"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "eev4n/smartermail/main.py:225",
        "eev4n/smartermail/rce.py:129"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/auth/authenticate-user",
      "body_markers": [
        "\"Username\"",
        "\"Password\":\"Foobar1234!\"",
        "\"clientId\":\"lol\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "eev4n/smartermail"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "eev4n/smartermail/main.py:183",
        "eev4n/smartermail/rce.py:87"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/v1/auth/refresh-token",
      "body_markers": [
        "\"token\""
      ],
      "content_type": "application/json",
      "protocol": "http",
      "repos": [
        "eev4n/smartermail"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "eev4n/smartermail/main.py:93"
      ]
    }
  ],
  "rules": []
}
