Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-54893

LOW 2.1EPSS 6%

Email-derived URL path injection in the Swoosh Microsoft Graph adapter

Mitigation

  • Upgrade swoosh to 1.26.3 or later.
  • Vendor workaround: Validate or reject sender addresses that contain characters outside the allowed RFC 5321 set (in particular /, ?, #, and ..) before passing the email to the adapter. Alternatively, set a static :url in the adapter configuration, which bypasses interpolation of the from address into the request path.

Who should check

  • Anyone running swoosh >= 1.12.0, < 1.26.3
  • Anyone running swoosh >= 23bfcdab71aee4613858ba6d116bb3311b72aa58, < e38235453e81d1727bfc8d91e69ec4cb211ccf61

Vulnerability facts

Affected
swoosh >= 1.12.0, < 1.26.3; swoosh >= 23bfcdab71aee4613858ba6d116bb3311b72aa58, < e38235453e81d1727bfc8d91e69ec4cb211ccf61
Fixed in
swoosh 1.26.3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
2.1 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-116
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
swoosh>= 1.12.0, < 1.26.3—cvelist
swoosh>= 23bfcdab71aee4613858ba6d116bb3311b72aa58, < e38235453e81d1727bfc8d91e69ec4cb211ccf61—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-54893. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54893.md
Affected: swoosh >= 1.12.0, < 1.26.3; swoosh >= 23bfcdab71aee4613858ba6d116bb3311b72aa58, < e38235453e81d1727bfc8d91e69ec4cb211ccf61
Fixed in: swoosh 1.26.3

Steps:
1. Search this machine and project for swoosh: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-54893 being exploited?

There is no confirmed exploitation: CVE-2026-54893 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-54893?

Low: CVSS 2.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-54893?

swoosh >= 1.12.0, < 1.26.3; swoosh >= 23bfcdab71aee4613858ba6d116bb3311b72aa58, < e38235453e81d1727bfc8d91e69ec4cb211ccf61.

Is there a fix for CVE-2026-54893?

Yes. Fixed in swoosh 1.26.3. Upgrade swoosh to 1.26.3 or later. Vendor workaround: Validate or reject sender addresses that contain characters outside the allowed RFC 5321 set (in particular /, ?, #, and ..) before passing the email to the adapter. Alternatively, set a static :url in the adapter configuration, which bypasses interpolation of the from address into the request path.

How do I check if I'm affected by CVE-2026-54893?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors