# CVE-2026-54893: Email-derived URL path injection in the Swoosh Microsoft Graph adapter

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-07-06T14:04:16.486Z
- Modified: 2026-11-25T17:23:08.743Z
- Also known as: GHSA-754j-98wh-57rf, EEF-CVE-2026-54893
- Weaknesses: CWE-116, CWE-789, CWE-1284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- swoosh: from 1.12.0 before 1.26.3
- swoosh/swoosh: from 23bfcdab71aee4613858ba6d116bb3311b72aa58 before e38235453e81d1727bfc8d91e69ec4cb211ccf61
- swoosh (Hex): from 1.12.0 before 1.26.3
- https://github.com/swoosh/swoosh: from 23bfcdab71aee4613858ba6d116bb3311b72aa58 before e38235453e81d1727bfc8d91e69ec4cb211ccf61

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `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`
- Erlang Ecosystem Foundation: 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`

## References

- <https://github.com/swoosh/swoosh/security/advisories/GHSA-754j-98wh-57rf> (advisory, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-54893.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-54893> (related, web)
- <https://github.com/swoosh/swoosh/commit/23bfcdab71aee4613858ba6d116bb3311b72aa58> (related, web)
- <https://github.com/swoosh/swoosh/commit/e38235453e81d1727bfc8d91e69ec4cb211ccf61> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54893> (advisory)
- <https://github.com/swoosh/swoosh> (package)
- <https://hex.pm/packages/swoosh> (package)

## Sources

- CVE List: [CVE-2026-54893](https://www.cve.org/CVERecord?id=CVE-2026-54893), CVE Terms of Use, modified 2026-11-19
- GitHub Advisory Database: [GHSA-754j-98wh-57rf](https://github.com/advisories/GHSA-754j-98wh-57rf), CC-BY-4.0, modified 2026-10-16
- Erlang Ecosystem Foundation: [EEF-CVE-2026-54893](https://osv.dev/vulnerability/EEF-CVE-2026-54893), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-54893](https://nvd.nist.gov/vuln/detail/CVE-2026-54893), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-54893 · Whole record: https://cve.day/CVE-2026-54893.json · Rebuilt by cve.day 2026-11-25T22:59:27.227Z
