{"answers":{"affected":"1 open source package ship an affected version, including mastodon. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33868 exists.","fix":"Upgrade mastodon to a fixed version for your release line: 4.3.21, 4.4.15 or 4.5.8.","what":"CVE-2026-33868 is a medium-severity vulnerability in mastodon, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-33868 and fix it if it is affected.\n\nWhat it is: CVE-2026-33868 is a medium-severity vulnerability in mastodon, published on 27 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-33868 exists.\n\nAffected packages and fixed versions:\n- mastodon (Bitnami): affected all versions; fixed in 4.3.21, 4.4.15, 4.5.8\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-33868/ (Markdown: https://insights.sbomify.com/CVE-2026-33868/index.md)","id":"CVE-2026-33868","markdown":"https://insights.sbomify.com/CVE-2026-33868/index.md","name":"CVE-2026-33868","record":{"aliases":["BIT-mastodon-2026-33868","GHSA-xqw8-4j56-5hj6"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Mastodon social network","requires_auth":"none","summary":"Unauthenticated attackers can redirect users to malicious sites via crafted URLs, enabling phishing and potential OAuth credential theft in Mastodon.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"mastodon","vendor":"joinmastodon"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Mastodon is a free, open-source social network server based on ActivityPub. Prior to versions 4.5.8, 4.4.15, and 4.3.21, an unauthenticated Open Redirect vulnerability (CWE-601) exists in the `/web/*` route due to improper handling of URL-encoded path segments. An attacker can craft a specially encoded URL that causes the application to redirect users to an arbitrary external domain, enabling phishing attacks and potential OAuth credential theft. The issue occurs because URL-encoded slashes (`%2F`) bypass Rails path normalization and are interpreted as host-relative redirects. Versions 4.5.8, 4.4.15, and 4.3.21 patch the issue.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2026/CVE-2026-33868.yaml","stars":null,"title":"Mastodon - Open Redirect"}],"tier":"weaponised"},"has_fix":true,"headline":"Mastodon has a GET-Based Open Redirect via '/web/%2F\u003cdomain\u003e'","id":"CVE-2026-33868","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"open_redirect","year":"2026"},"n_packages":1,"n_references":1,"next":{"headline":"Mastodon has a denial of service for quote authorization","id":"CVE-2026-33869"},"packages":[{"ecosystem":"Bitnami","fixed":["4.3.21","4.4.15","4.5.8"],"introduced":["0","4.4.0","4.5.0"],"last_affected":[],"package":"mastodon","purl":"pkg:bitnami/mastodon","source":"BIT-mastodon-2026-33868"}],"prev":{"headline":"AVideo has Plaintext Video Password Storage","id":"CVE-2026-33867"},"products":["mastodon"],"published":"2026-03-27","related":[{"cvss_score":10,"headline":"Mastodon vulnerable to arbitrary file creation through media attachments","id":"CVE-2023-36460","kev_date_added":null,"published":"2023-07-06"},{"cvss_score":9.8,"headline":"Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon","id":"CVE-2022-2166","kev_date_added":null,"published":"2022-11-16"},{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2022-24307","kev_date_added":null,"published":"2022-02-03"},{"cvss_score":9.8,"headline":"Auth bypass in n/a","id":"CVE-2018-21018","kev_date_added":null,"published":"2019-09-22"},{"cvss_score":9.4,"headline":"Mastodon Remote user impersonation and takeover","id":"CVE-2024-23832","kev_date_added":null,"published":"2024-02-01"},{"cvss_score":9.3,"headline":"Mastodon vulnerable to Cross-site Scripting through oEmbed preview cards","id":"CVE-2023-36459","kev_date_added":null,"published":"2023-07-06"},{"cvss_score":8.5,"headline":"Lack of media type verification of Activity Streams objects allows impersonation of remote accounts","id":"CVE-2024-25623","kev_date_added":null,"published":"2024-02-19"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-31","vendors":["mastodon"]},"summary":"Unauthenticated attackers can redirect users to malicious sites via crafted URLs, enabling phishing and potential OAuth credential theft in Mastodon.","url":"https://insights.sbomify.com/CVE-2026-33868/"}