Skip to content
Heist/ feed
Back to feed
Medium

aiosmtplib — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-90467

aiosmtplib before 5.1.3 fails to properly validate email addresses supplied by callers, allowing attackers to inject ESMTP parameters into MAIL FROM and RCPT TO command lines. Attackers can craft malicious addresses containing spaces and angle brackets to append parameters like AUTH, NOTIFY, or ORCPT to envelope commands, forging authenticated identities or forcing delivery notifications to third parties.

Products
aiosmtplib
Affected versions
1.1.4-1, 1.1.4-2, 1.1.6-1, 4.0.0-1, 4.0.2-1, 5.0.0-1, 5.1.0-1, 5.1.0-3, 5.1.2-1
Fixed versions
Not specified
CVEs
CVE-2026-90467
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:31 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-90467

core-osv · Original source

Published 12 Sept 2026, 02:16 UTC

aiosmtplib before 5.1.3 fails to properly validate email addresses supplied by callers, allowing attackers to inject ESMTP parameters into MAIL FROM and RCPT TO command lines. Attackers can craft malicious addresses containing spaces and angle brackets to append parameters like AUTH, NOTIFY, or ORCPT to envelope commands, forging authenticated identities or forcing delivery notifications to third parties.

osv:UBUNTU-CVE-2026-90467

aiosmtplib

Fixed versions: Not specified

aiosmtplib

Fixed versions: Not specified

aiosmtplib

Fixed versions: Not specified

Complete source record
{
  "id": "7108309c646822bd2590db33ea3ab9c44609d87b5c724648dffd93d005833e9b",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-90467",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-90467",
    "summary": "aiosmtplib before 5.1.3 fails to properly validate email addresses supplied by callers, allowing attackers to inject ESMTP parameters into MAIL FROM and RCPT TO command lines. Attackers can craft malicious addresses containing spaces and angle brackets to append parameters like AUTH, NOTIFY, or ORCPT to envelope commands, forging authenticated identities or forcing delivery notifications to third parties.",
    "evidence": "osv:UBUNTU-CVE-2026-90467",
    "products": [
      {
        "name": {
          "value": "aiosmtplib",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.4-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.1.6-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "aiosmtplib",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.1.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.1.0-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.1.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "aiosmtplib",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.0.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.0.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.0.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "5.1.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-90467",
      "aliases": [
        "UBUNTU-CVE-2026-90467"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "aiosmtplib",
            "purl": "pkg:deb/ubuntu/aiosmtplib?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.1.4-1",
            "1.1.4-2",
            "1.1.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-aiosmtplib",
                "binary_version": "1.1.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "aiosmtplib",
            "purl": "pkg:deb/ubuntu/aiosmtplib?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.1.0-1",
            "5.1.0-3",
            "5.1.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-aiosmtplib",
                "binary_version": "5.1.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "aiosmtplib",
            "purl": "pkg:deb/ubuntu/aiosmtplib?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "4.0.0-1",
            "4.0.2-1",
            "5.0.0-1",
            "5.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-90467.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-aiosmtplib",
                "binary_version": "5.1.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:16.581544840Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-90467"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-90467",
        "https://www.cve.org/CVERecord?id=CVE-2026-90467",
        "https://github.com/cole/aiosmtplib",
        "https://github.com/cole/aiosmtplib/blob/v5.1.2/src/aiosmtplib/email.py",
        "https://github.com/cole/aiosmtplib/commit/2e1b210714974ccc9efd0d09a8f846cb9aeaaec2",
        "https://github.com/cole/aiosmtplib/releases/tag/v5.1.3",
        "https://www.vulncheck.com/advisories/aiosmtplib-before-5.1.3-esmtp-parameter-injection-via-unvalidated-addresses"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-90467",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 361463,
  "published_at": "2026-09-12T02:16:00+00:00"
}