{"answers":{"affected":"3 open source packages ship an affected version, including aiosmtplib.","exploited":"There is no known exploitation of CVE-2026-53533 in the wild and no public exploit code.","fix":"Upgrade aiosmtplib to 5.1.1 or later.","what":"CVE-2026-53533 is a medium-severity command injection vulnerability in cole aiosmtplib, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-53533 and fix it if it is affected.\n\nWhat it is: CVE-2026-53533 is a medium-severity command injection vulnerability in cole aiosmtplib, published on 18 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-53533 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aiosmtplib (PyPI): affected all versions; fixed in 5.1.1\n- aiosmtplib (PyPI): affected all versions; fixed in 5.1.1\n- aiosmtplib (PyPI): affected all versions; fixed in 5.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-53533/ (Markdown: https://insights.sbomify.com/CVE-2026-53533/index.md)","id":"CVE-2026-53533","markdown":"https://insights.sbomify.com/CVE-2026-53533/index.md","name":"CVE-2026-53533","record":{"aliases":["CLEANSTART-2026-WE55503","DEBIAN-CVE-2026-53533","ECHO-da4c-abee-fa30","GHSA-v3q9-hj7j-63hq","MINI-27rx-pxm8-jj73","MINI-926w-c692-6w3r","PYSEC-2026-2338","UBUNTU-CVE-2026-53533","openSUSE-SU-2026:11035-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python SMTP client library","requires_auth":"none","summary":"Attackers can inject SMTP commands via CR/LF in addresses, potentially executing arbitrary commands or causing denial of service in applications using aiosmtplib.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:H/SA:N","version":"4.0"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"description":"aiosmtplib is an asynchronous SMTP client for use with asyncio. Prior to 5.1.1, SMTP.mail(), SMTP.rcpt(), SMTP.vrfy(), and SMTP.expn() send caller-supplied addresses without rejecting embedded CR or LF bytes. Data after the line break is framed as additional standalone SMTP command lines, allowing an attacker who influences an envelope sender or recipient to inject commands such as MAIL FROM, RCPT TO, RSET, DATA, or AUTH. SMTP.sendmail() and SMTP.send() without a Message object pass addresses through the affected methods, while SMTP.send_message() is not affected. Successful injection can desynchronize the command-response pipeline, hang the SMTP instance, or send an arbitrary message without requiring attacker control of the SMTP server. This issue is fixed in version 5.1.1.","ecosystems":["PyPI","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"aiosmtplib: SMTP command injection via CR/LF in sender/recipient address","id":"CVE-2026-53533","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":4,"n_references":3,"next":{"headline":"JabRef CAYW Sublime Text integration permits operating-system command injection","id":"CVE-2026-53534"},"packages":[{"ecosystem":"PyPI","fixed":["5.1.1"],"introduced":["0"],"last_affected":[],"package":"aiosmtplib","purl":null,"source":"GHSA-v3q9-hj7j-63hq"},{"ecosystem":"PyPI","fixed":["5.1.1"],"introduced":["0"],"last_affected":[],"package":"aiosmtplib","purl":"pkg:pypi/aiosmtplib","source":"GHSA-v3q9-hj7j-63hq"},{"ecosystem":"PyPI","fixed":["5.1.1"],"introduced":["0"],"last_affected":[],"package":"aiosmtplib","purl":"pkg:pypi/aiosmtplib","source":"PYSEC-2026-2338"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["5.1.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-aiosmtplib","purl":"pkg:rpm/opensuse/python-aiosmtplib\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11035-1"}],"prev":{"headline":"OpenEXR: Unhandled assert abort in HTJ2K decoder via crafted QCD marker (DoS)","id":"CVE-2026-53532"},"products":["aiosmtplib"],"published":"2026-08-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["cole"]},"summary":"Attackers can inject SMTP commands via CR/LF in addresses, potentially executing arbitrary commands or causing denial of service in applications using aiosmtplib.","url":"https://insights.sbomify.com/CVE-2026-53533/"}