Programmer’s Digest #186
05/20/2026-05/27/2026 CVE-2026-9082; 34 Packages in npm, PyPI, and Crates; Laravel-Lang PHP Packages Compromised And More.
1. CVE-2026-9082: Drupal’s Highly Critical SQL Injection Flaw Is Already Under Active Attack
Drupal’s highly critical SQL injection vulnerability, CVE-2026-9082, began seeing active exploitation within 48 hours of a patch released on May 20. The flaw affects Drupal sites using PostgreSQL databases, allowing unauthenticated attackers to inject arbitrary SQL commands through a vulnerable query-sanitization API. Successful exploitation can lead to data theft, privilege escalation, and potentially remote code execution.
Although fewer than 5% of Drupal installations use PostgreSQL, the vulnerability still impacts thousands of sites across government, education, media, and enterprise sectors. On May 22, Drupal updated its advisory to confirm that exploitation attempts had been detected in the wild. Security firm Imperva reported more than 15,000 attack attempts targeting nearly 6,000 sites across 65 countries within the first two days. Most activity has focused on reconnaissance, with gaming and financial services organizations accounting for nearly half of all attacks. The U.S., Singapore, and Australia are the most targeted countries. Administrators running Drupal on PostgreSQL are strongly advised to apply the patch immediately.
2. Hackers Compromised 34 Packages in npm, PyPI, and Crates in New Supply Chain Attack
Researchers have uncovered TrapDoor, an active supply chain campaign involving 34 malicious packages and 384 related versions across npm, PyPI, and Crates.io. The operation targets developers in cryptocurrency, DeFi, Solana, and AI communities by disguising malware as legitimate developer tools and security scanners.
The campaign began with the PyPI package eth-security-auditor on May 22, 2026, before rapidly spreading across repositories using deceptive names such as prompt-engineering-toolkit and defi-threat-scanner. Security firm Socket identified the packages within minutes, limiting widespread adoption. TrapDoor uses registry-specific execution techniques to run during normal installation and build processes. The malware steals crypto wallets, SSH keys, browser data, and AWS credentials while establishing persistence through systemd services, cron jobs, Git hooks, and shell hooks.
A notable feature is its targeting of AI coding assistants through poisoned .cursorrules and CLAUDE.md files containing hidden prompts that trick AI tools into exfiltrating credentials. Stolen tokens are validated through live API queries, while encrypted communications help evade detection.
3. Laravel-Lang PHP Packages Compromised to Deliver Cross-Platform Credential Stealer
Cybersecurity researchers have uncovered a software supply chain attack targeting multiple PHP packages belonging to Laravel-Lang, designed to deliver a credential-stealing framework. Affected packages include laravel-lang/lang, laravel-lang/http-statuses, laravel-lang/attributes, and laravel-lang/actions. Over 700 malicious package versions were published in rapid succession on May 22–23, 2026, suggesting automated mass tagging and a compromise of the organization’s release infrastructure.
Notably, the attackers didn’t modify source code directly. Instead, they rewrote existing git tags to point to malicious commits containing a file — src/helpers.php — that auto-executes on application startup, fingerprints the host, and fetches a PHP payload from an external server. The stealer harvests an extensive range of data, including cloud credentials (AWS, GCP, Azure), CI/CD tokens, cryptocurrency wallets, browser data, password manager vaults, SSH keys, VPN configs, and session tokens for apps like Discord and Slack. Results are AES-256 encrypted and exfiltrated, after which the malware deletes itself to hinder forensic investigation.
4. Microsoft Patches SharePoint RCE Flaw CVE-2026-45659 Across Server Versions
Microsoft has patched a remote code execution vulnerability in SharePoint, tracked as CVE-2026-45659 (CVSS 8.8), that can be exploited without specialized conditions. The flaw stems from deserialization of untrusted data, allowing any authenticated attacker with minimum Site Member permissions to execute code remotely over a network — no elevated privileges required.
Updates have been released for SharePoint Server Subscription Edition, SharePoint Server 2019, and SharePoint Enterprise Server 2016. This follows last month’s patch for a separate SharePoint spoofing flaw (CVE-2026-32201, CVSS 6.5) that was actively exploited in the wild. While Microsoft considers CVE-2026-45659 less likely to be exploited, applying the fixes promptly is strongly advised — SharePoint vulnerabilities have historically been a recurring target for attackers.
5. GitHub Adds Staged Publishing to npm to Block Automated Supply Chain Attacks
GitHub has rolled out major npm security enhancements, including staged publishing and new install-time controls, to help prevent software supply chain attacks. With staged publishing, packages are no longer released immediately after publication. Instead, they enter a staging queue and require approval from a human maintainer before becoming publicly available. This adds a critical security checkpoint, reducing the risk of compromised CI/CD pipelines or unauthorized releases.
Available in npm CLI 11.15.0, staged publishing requires the use of npm stage publish and works best alongside OpenID Connect (OIDC)-based trusted publishing. Organizations can enforce stage-only workflows, ensuring final approval happens on a trusted device. GitHub also introduced new installation controls that restrict dependencies from local files, directories, remote URLs, or Git repositories. These settings help organizations create strict allowlists and reduce risks such as dependency confusion and code injection. Together, these updates move npm toward a more secure, zero-trust software supply chain model.
6. LiteSpeed cPanel Plugin CVE-2026-48172 Exploited to Run Scripts as Root
A maximum-severity flaw (CVE-2026-48172, CVSS 10.0) in the LiteSpeed User-End cPanel Plugin is being actively exploited in the wild. The vulnerability involves incorrect privilege assignment, allowing any cPanel user — including compromised accounts — to execute arbitrary scripts as root via the lsws.redisAble function. All plugin versions between 2.3 and 2.4.4 are affected; the issue is fixed in version 2.4.5, with a further-hardened release in cPanel plugin v2.4.7, bundled with WHM Plugin version 5.3.1.0. Any output warrants reviewing the associated IP addresses and blocking suspicious ones. If patching isn’t immediately possible, uninstalling the plugin is recommended. This follows the recent active exploitation of a separate critical cPanel flaw (CVE-2026-41940, CVSS 9.8) used to deploy Mirai botnet variants and ransomware.