CVE-2026-54893 (GCVE-0-2026-54893)

Vulnerability from cvelistv5 – Published: 2026-07-06 14:04 – Updated: 2026-09-24 21:26
VLAI
Title
Email-derived URL path injection in the Swoosh Microsoft Graph adapter
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-07-06 15:36 UTC
CWE
  • CWE-116 - Improper Encoding or Escaping of Output
Assigner
Impacted products
Vendor Product Version CPE status
swoosh swoosh Affected: 1.12.0 , < 1.26.3 (semver)
    cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*
Create a notification for this product.
swoosh swoosh Affected: 23bfcdab71aee4613858ba6d116bb3311b72aa58 , < e38235453e81d1727bfc8d91e69ec4cb211ccf61 (git)
    cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-07-06 14:04
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-54893",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-06T15:36:04.140981Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-07-06T15:36:16.097Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027"
          ],
          "packageName": "swoosh",
          "packageURL": "pkg:hex/swoosh",
          "product": "swoosh",
          "programFiles": [
            "lib/swoosh/adapters/ms_graph.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:deliver/2"
            },
            {
              "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:api_endpoint_url/2"
            }
          ],
          "repo": "https://github.com/swoosh/swoosh",
          "vendor": "swoosh",
          "versions": [
            {
              "lessThan": "1.26.3",
              "status": "affected",
              "version": "1.12.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027"
          ],
          "packageName": "swoosh/swoosh",
          "packageURL": "pkg:github/swoosh/swoosh",
          "product": "swoosh",
          "programFiles": [
            "lib/swoosh/adapters/ms_graph.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:deliver/2"
            },
            {
              "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:api_endpoint_url/2"
            }
          ],
          "repo": "https://github.com/swoosh/swoosh",
          "vendor": "swoosh",
          "versions": [
            {
              "lessThan": "e38235453e81d1727bfc8d91e69ec4cb211ccf61",
              "status": "affected",
              "version": "23bfcdab71aee4613858ba6d116bb3311b72aa58",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThis vulnerability only affects applications that use \u003ccode\u003eSwoosh.Adapters.MsGraph\u003c/code\u003e and derive the email \u003ccode\u003efrom\u003c/code\u003e address from untrusted or user-influenced input (for example a relay, a contact form, or a \"send as\" feature). Applications that always send with a fixed, trusted \u003ccode\u003efrom\u003c/code\u003e address are not affected.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "This vulnerability only affects applications that use `Swoosh.Adapters.MsGraph` and derive the email `from` address from untrusted or user-influenced input (for example a relay, a contact form, or a \"send as\" feature). Applications that always send with a fixed, trusted `from` address are not affected."
            }
          ],
          "value": "This vulnerability only affects applications that use Swoosh.Adapters.MsGraph and derive the email from address from untrusted or user-influenced input (for example a relay, a contact form, or a \"send as\" feature). Applications that always send with a fixed, trusted from address are not affected."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.26.3",
                  "versionStartIncluding": "1.12.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Po Chen"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Jonatan M\u00e4nnchen / EEF"
        }
      ],
      "datePublic": "2026-07-06T14:04:16.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eURL path injection in the Microsoft Graph adapter of Swoosh. \u003ccode\u003eSwoosh.Adapters.MsGraph\u003c/code\u003e builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (\u003ccode\u003e/users/{from}/sendMail\u003c/code\u003e) without percent-encoding or validation.\u003c/p\u003e\n\u003cp\u003eIn applications that derive the \u003ccode\u003efrom\u003c/code\u003e 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 \u003ccode\u003e/\u003c/code\u003e, \u003ccode\u003e?\u003c/code\u003e, or \u003ccode\u003e#\u003c/code\u003e 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 \u003ccode\u003ePOST\u003c/code\u003e is sent with the application\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted \u003ccode\u003efrom\u003c/code\u003e address are not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects swoosh: from 1.12.0 before 1.26.3.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "URL path injection in the Microsoft Graph adapter of Swoosh. `Swoosh.Adapters.MsGraph` builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (`/users/{from}/sendMail`) without percent-encoding or validation.\n\nIn 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\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted `from` address are not affected.\n\nThis issue affects swoosh: from 1.12.0 before 1.26.3."
            }
          ],
          "value": "URL path injection in the Microsoft Graph adapter of Swoosh. Swoosh.Adapters.MsGraph builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (/users/{from}/sendMail) without percent-encoding or validation.\n\nIn 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\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted from address are not affected.\n\nThis issue affects swoosh: from 1.12.0 before 1.26.3."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-664",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-664 Server Side Request Forgery"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "LOCAL",
            "baseScore": 2.1,
            "baseSeverity": "LOW",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "LOW",
            "subIntegrityImpact": "LOW",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-116",
              "description": "CWE-116 Improper Encoding or Escaping of Output",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-24T21:26:49.572Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/swoosh/swoosh/security/advisories/GHSA-754j-98wh-57rf"
        },
        {
          "name": "EEF CNA record for CVE-2026-54893",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-54893.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-54893",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-54893"
        },
        {
          "name": "Introducing commit 23bfcda in swoosh/swoosh",
          "tags": [
            "related"
          ],
          "url": "https://github.com/swoosh/swoosh/commit/23bfcdab71aee4613858ba6d116bb3311b72aa58"
        },
        {
          "name": "Fix commit e382354 in swoosh/swoosh",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/swoosh/swoosh/commit/e38235453e81d1727bfc8d91e69ec4cb211ccf61"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Email-derived URL path injection in the Swoosh Microsoft Graph adapter",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eValidate or reject sender addresses that contain characters outside the allowed RFC 5321 set (in particular \u003ccode\u003e/\u003c/code\u003e, \u003ccode\u003e?\u003c/code\u003e, \u003ccode\u003e#\u003c/code\u003e, and \u003ccode\u003e..\u003c/code\u003e) before passing the email to the adapter. Alternatively, set a static \u003ccode\u003e:url\u003c/code\u003e in the adapter configuration, which bypasses interpolation of the \u003ccode\u003efrom\u003c/code\u003e address into the request path.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "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."
            }
          ],
          "value": "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."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-54893",
    "datePublished": "2026-07-06T14:04:16.486Z",
    "dateReserved": "2026-06-16T10:47:13.915Z",
    "dateUpdated": "2026-09-24T21:26:49.572Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-54893",
      "date": "2026-09-27",
      "epss": "0.00203",
      "percentile": "0.09215"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.hex.pm",
                "cpes": [
                  "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027"
                ],
                "packageName": "swoosh",
                "packageURL": "pkg:hex/swoosh",
                "product": "swoosh",
                "programFiles": [
                  "lib/swoosh/adapters/ms_graph.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:deliver/2"
                  },
                  {
                    "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:api_endpoint_url/2"
                  }
                ],
                "repo": "https://github.com/swoosh/swoosh",
                "vendor": "swoosh",
                "versions": [
                  {
                    "lessThan": "1.26.3",
                    "status": "affected",
                    "version": "1.12.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027"
                ],
                "packageName": "swoosh/swoosh",
                "packageURL": "pkg:github/swoosh/swoosh",
                "product": "swoosh",
                "programFiles": [
                  "lib/swoosh/adapters/ms_graph.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:deliver/2"
                  },
                  {
                    "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:api_endpoint_url/2"
                  }
                ],
                "repo": "https://github.com/swoosh/swoosh",
                "vendor": "swoosh",
                "versions": [
                  {
                    "lessThan": "e38235453e81d1727bfc8d91e69ec4cb211ccf61",
                    "status": "affected",
                    "version": "23bfcdab71aee4613858ba6d116bb3311b72aa58",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "URL path injection in the Microsoft Graph adapter of Swoosh. Swoosh.Adapters.MsGraph builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (/users/{from}/sendMail) without percent-encoding or validation.\n\nIn 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\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted from address are not affected.\n\nThis issue affects swoosh: from 1.12.0 before 1.26.3."
          }
        ],
        "id": "CVE-2026-54893",
        "lastModified": "2026-09-24T22:17:00.200",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 2.1,
                "baseSeverity": "LOW",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-54893",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-07-06T15:36:04.140981Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-07-06T15:16:39.683",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-54893.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/swoosh/swoosh/commit/23bfcdab71aee4613858ba6d116bb3311b72aa58"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/swoosh/swoosh/commit/e38235453e81d1727bfc8d91e69ec4cb211ccf61"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/swoosh/swoosh/security/advisories/GHSA-754j-98wh-57rf"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-54893"
          }
        ],
        "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-116"
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-54893",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-07-06T15:36:04.140981Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-07-06T15:36:10.896Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027"
              ],
              "packageName": "swoosh",
              "packageURL": "pkg:hex/swoosh",
              "product": "swoosh",
              "programFiles": [
                "lib/swoosh/adapters/ms_graph.ex"
              ],
              "programRoutines": [
                {
                  "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:deliver/2"
                },
                {
                  "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:api_endpoint_url/2"
                }
              ],
              "repo": "https://github.com/swoosh/swoosh",
              "vendor": "swoosh",
              "versions": [
                {
                  "lessThan": "1.26.3",
                  "status": "affected",
                  "version": "1.12.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027"
              ],
              "packageName": "swoosh/swoosh",
              "packageURL": "pkg:github/swoosh/swoosh",
              "product": "swoosh",
              "programFiles": [
                "lib/swoosh/adapters/ms_graph.ex"
              ],
              "programRoutines": [
                {
                  "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:deliver/2"
                },
                {
                  "name": "\u0027Elixir.Swoosh.Adapters.MsGraph\u0027:api_endpoint_url/2"
                }
              ],
              "repo": "https://github.com/swoosh/swoosh",
              "vendor": "swoosh",
              "versions": [
                {
                  "lessThan": "e38235453e81d1727bfc8d91e69ec4cb211ccf61",
                  "status": "affected",
                  "version": "23bfcdab71aee4613858ba6d116bb3311b72aa58",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThis vulnerability only affects applications that use \u003ccode\u003eSwoosh.Adapters.MsGraph\u003c/code\u003e and derive the email \u003ccode\u003efrom\u003c/code\u003e address from untrusted or user-influenced input (for example a relay, a contact form, or a \"send as\" feature). Applications that always send with a fixed, trusted \u003ccode\u003efrom\u003c/code\u003e address are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "This vulnerability only affects applications that use `Swoosh.Adapters.MsGraph` and derive the email `from` address from untrusted or user-influenced input (for example a relay, a contact form, or a \"send as\" feature). Applications that always send with a fixed, trusted `from` address are not affected."
                }
              ],
              "value": "This vulnerability only affects applications that use Swoosh.Adapters.MsGraph and derive the email from address from untrusted or user-influenced input (for example a relay, a contact form, or a \"send as\" feature). Applications that always send with a fixed, trusted from address are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:swoosh:swoosh:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "1.26.3",
                      "versionStartIncluding": "1.12.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Po Chen"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "datePublic": "2026-07-06T14:04:16.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eURL path injection in the Microsoft Graph adapter of Swoosh. \u003ccode\u003eSwoosh.Adapters.MsGraph\u003c/code\u003e builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (\u003ccode\u003e/users/{from}/sendMail\u003c/code\u003e) without percent-encoding or validation.\u003c/p\u003e\n\u003cp\u003eIn applications that derive the \u003ccode\u003efrom\u003c/code\u003e 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 \u003ccode\u003e/\u003c/code\u003e, \u003ccode\u003e?\u003c/code\u003e, or \u003ccode\u003e#\u003c/code\u003e 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 \u003ccode\u003ePOST\u003c/code\u003e is sent with the application\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted \u003ccode\u003efrom\u003c/code\u003e address are not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects swoosh: from 1.12.0 before 1.26.3.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "URL path injection in the Microsoft Graph adapter of Swoosh. `Swoosh.Adapters.MsGraph` builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (`/users/{from}/sendMail`) without percent-encoding or validation.\n\nIn 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\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted `from` address are not affected.\n\nThis issue affects swoosh: from 1.12.0 before 1.26.3."
                }
              ],
              "value": "URL path injection in the Microsoft Graph adapter of Swoosh. Swoosh.Adapters.MsGraph builds its Microsoft Graph API request URL by interpolating the sender\u0027s email address into the URL path (/users/{from}/sendMail) without percent-encoding or validation.\n\nIn 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\u0027s Microsoft Graph bearer token, the attacker can redirect it to other Graph endpoints within the token\u0027s scopes and control the request\u0027s query string. Applications that always use a fixed, trusted from address are not affected.\n\nThis issue affects swoosh: from 1.12.0 before 1.26.3."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-664",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-664 Server Side Request Forgery"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 2.1,
                "baseSeverity": "LOW",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-116",
                  "description": "CWE-116 Improper Encoding or Escaping of Output",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-09-24T21:26:49.572Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/swoosh/swoosh/security/advisories/GHSA-754j-98wh-57rf"
            },
            {
              "name": "EEF CNA record for CVE-2026-54893",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-54893.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-54893",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-54893"
            },
            {
              "name": "Introducing commit 23bfcda in swoosh/swoosh",
              "tags": [
                "related"
              ],
              "url": "https://github.com/swoosh/swoosh/commit/23bfcdab71aee4613858ba6d116bb3311b72aa58"
            },
            {
              "name": "Fix commit e382354 in swoosh/swoosh",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/swoosh/swoosh/commit/e38235453e81d1727bfc8d91e69ec4cb211ccf61"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Email-derived URL path injection in the Swoosh Microsoft Graph adapter",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate or reject sender addresses that contain characters outside the allowed RFC 5321 set (in particular \u003ccode\u003e/\u003c/code\u003e, \u003ccode\u003e?\u003c/code\u003e, \u003ccode\u003e#\u003c/code\u003e, and \u003ccode\u003e..\u003c/code\u003e) before passing the email to the adapter. Alternatively, set a static \u003ccode\u003e:url\u003c/code\u003e in the adapter configuration, which bypasses interpolation of the \u003ccode\u003efrom\u003c/code\u003e address into the request path.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "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."
                }
              ],
              "value": "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."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-54893",
        "datePublished": "2026-07-06T14:04:16.486Z",
        "dateReserved": "2026-06-16T10:47:13.915Z",
        "dateUpdated": "2026-09-24T21:26:49.572Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…