Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-4766 — saas-common-lib-473815

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

Description

Malicious code in saas-common-lib-473815 (PyPI)

Source: amazon-inspector

utils/send_email_otp.py exposes otpEmailService(to_email, email_body), which authenticates to smtp.gmail.com using a hardcoded sender address ([email protected]) and a hardcoded Gmail App Password, then calls server.send_message on a message whose From: is the author and To: is the caller-supplied recipient with caller-supplied body. Any application that imports this helper sends OTP/notification email FROM the author's personal Gmail account through author-controlled infrastructure, with no way for the caller to supply their own SMTP credentials. The recipient address and message body — installer-side data — are silently routed through the author's mailbox. Additionally, the App Password is redistributed to every installer, so anyone who installs the package can log into the author's Gmail and impersonate the sender to all prior OTP recipients. A secondary issue in utils/auth.py hardcodes SECRET_KEY = "nsn" for HS256 JWT signing; any deployment using create_access_token/verify_token from this library will issue forgeable tokens since the signing key is shipped publicly.

Affected software

MAL-2026-4766 is recorded against 1 package.

  • saas-common-lib-473815

Timeline and source

Published on 19 May 2026 and last revised on 15 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

pypi.org (Package)
pypi.org (Package)
pypi.org (Package)
pypi.org (Package)
pypi.org (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-05-19
Updated 2026-08-20
Modified 2026-06-15
Fix URL N/A

Affected Packages

Software From version Fixed in
saas-common-lib-473815

Free Vulnerability Check

Is your site affected by MAL-2026-4766?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-4766 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