CVE-2026-54893
published low CVSS 4.0 · 2.1Email-derived URL path injection in the Swoosh Microsoft Graph adapter
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| swoosh | — | swoosh1.12.0 to < 1.26.3 · Other versions: unaffected | Affected | Not stated | EEF |
| swoosh | — | swoosh/swooshswoosh · 23bfcdab71aee4613858ba6d116bb3311b72aa58 to < e38235453e81d1727bfc8d91e69ec4cb211ccf61 · Other versions: unaffected | Affected | Not stated | EEF |
Description
URL path injection in the Microsoft Graph adapter of Swoosh. Swoosh.Adapters.MsGraph builds its Microsoft Graph API request URL by interpolating the sender's email address into the URL path (/users/{from}/sendMail) without percent-encoding or validation. In applications that derive the from address from untrusted or user-influenced input (for example a relay, a contact form, or a "send as" feature), an attacker can place URL-special characters such as /, ?, or # in the local part of the address to escape the intended path segment and rewrite the path and query string of the request. Because the same authenticated POST is sent with the application's Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token's scopes and control the request's query string. Applications that always use a fixed, trusted from address are not affected. This issue affects swoosh: from 1.12.0 before 1.26.3.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| swoosh | swoosh | 1.12.0 to < 1.26.3 (affected · semver)Default: unaffected | EEF · cna |
| swoosh | swoosh | 23bfcdab71aee4613858ba6d116bb3311b72aa58 to < e38235453e81d1727bfc8d91e69ec4cb211ccf61 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-116 CWE-116 Improper Encoding or Escaping of Output
References
5- EEF CNA record for CVE-2026-54893 https://cna.erlef.org/cves/CVE-2026-54893.html
- Introducing commit 23bfcda in swoosh/swoosh https://github.com/swoosh/swoosh/commit/23bfcdab71aee4613858ba6d116bb3311b72aa58
- Fix commit e382354 in swoosh/swoosh https://github.com/swoosh/swoosh/commit/e38235453e81d1727bfc8d91e69ec4cb211ccf61
- https://github.com/swoosh/swoosh/security/advisories/GHSA-754j-98wh-57rf
- OSV record EEF-CVE-2026-54893 https://osv.dev/vulnerability/EEF-CVE-2026-54893
Provider assertions
2EEF · cna
Email-derived URL path injection in the Swoosh Microsoft Graph adapter
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cd3bedae12a921bf294e0d8897082d5f4e5ad566e172d2d1e89df4035bf93db3
- Ingested
- 19 Nov 2026, 08:33:21 UTC
- Source record
- Official CVE record