CVE-2026-54893
LOW 2.1CVSS 4.0Email-derived URL path injection in the Swoosh Microsoft Graph adapter
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.
- Published
- 6 Jul 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-116CWE-1284CWE-789
- Also known as
- EEF-CVE-2026-54893GHSA-754j-98wh-57rf
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-54893JSONOSV GHSA-754j-98wh-57rfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | LOW 2.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | LOW 2.1 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | swooshcpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:* |
>= 1.12.0, < 1.26.3 | 1.26.3 |
| CVE List | https://github.com | swoosh/swooshcpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:* |
>= 23bfcdab71aee4613858ba6d116bb3311b72aa58, < e38235453e81d1727bfc8d91e69ec4cb211ccf61 | e38235453e81d1727bfc8d91e69ec4cb211ccf61 |
| OSV | Hex | swoosh | >= 1.12.0, < 1.26.3 | 1.26.3 |
References
- https://cna.erlef.org/cves/CVE-2026-54893.html · related, WEB
- https://github.com/swoosh/swoosh/commit/23bfcdab71aee4613858ba6d116bb3311b72aa58 · related, WEB
- https://github.com/swoosh/swoosh/commit/e38235453e81d1727bfc8d91e69ec4cb211ccf61 · patch, FIX, WEB
- https://github.com/swoosh/swoosh/security/advisories/GHSA-754j-98wh-57rf · vendor-advisory, related, ADVISORY, WEB
- https://osv.dev/vulnerability/EEF-CVE-2026-54893 · related, WEB
- https://hex.pm/packages/swoosh · PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2026-54893 · ADVISORY
- https://github.com/swoosh/swoosh · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 6 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Oct 2026)
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 6 Jul 2026)