Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-1422 — fastapi-middleware-cors

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in fastapi-middleware-cors (PyPI)

Source: kam193

Library disguised as FastAPI helper is executing obfuscated code during importing the module. The code is highly obfuscated; the code seems to contain an installation beacon reporting to a Telegram channel.

The package name appears as a dependency in a few Github repositories created long before publishing it, suggesting it might be an attempt to hijack the name that was previously wrongly generated by AI.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-03-fastapi-middleware-cors

Reasons (based on the campaign):

  • typosquatting
  • obfuscation
  • exfiltration-generic

Affected software

MAL-2026-1422 is recorded against 1 package.

  • fastapi-middleware-cors

Timeline and source

Published on 13 March 2026 and last revised on 14 March 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

bad-packages.kam193.eu (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-03-13
Updated 2026-08-20
Modified 2026-03-14
Fix URL N/A

Affected Packages

Software From version Fixed in
fastapi-middleware-cors

Free Vulnerability Check

Is your site affected by MAL-2026-1422?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-1422 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026