LIVE · cybersecurity feed
Live wire
security

PyPI hardens package security with new upload restrictions

The Python Package Index (PyPI) now rejects uploads of new files to releases older than 14 days to prevent attackers from poisoning long-stable releases if a project’s publishing tokens or release workflows are compromised. “This change will protect Python users and reduce the amount of “cleanup” work associated with project compromises for PyPI admins. This restriction also means that compromises

zeroday.news · 9d ago

The Python Package Index (PyPI) has implemented a new security measure that restricts uploads of new files to package releases older than 14 days. This change, which went into effect following a patch merged on July 8, 2026, aims to prevent attackers from injecting malicious code into established, stable releases if a project's publishing credentials or release workflows are compromised.

According to Seth Larson, Security Developer-in-Residence at the Python Software Foundation, the restriction is designed to protect Python users and reduce the administrative burden on PyPI staff in the event of a project compromise. It also prevents releases from entering an ambiguous state where only a subset of files might be malicious. PyPI currently does not provide an API to determine a release's status or define specific semantics for releases that no longer accept new files, and users are advised not to rely on such features until they are standardized, potentially under PEP 694's Upload 2.0 API and Staged Previews.

The proposal for this restriction emerged from discussions surrounding PEP 740 (Digital Attestations) in January 2024. It gained renewed urgency after the compromise of the LiteLLM and Telnyx packages in March 2026. This incident was attributed to a mutable reference in how those projects utilized the Trivy GitHub Action.

Initially, the implementation of such a restriction was postponed due to concerns that some projects legitimately uploaded new files to older releases to introduce compatibility with newer Python versions. However, PyPI conducted an analysis of this practice and found it to be uncommon. Among the top 15,000 packages, only 56 had uploaded a Python 3.14-compatible wheel more than 14 days after the original release date, suggesting that the new restriction will impact a minimal number of projects.

The change was proposed by PyPI Safety Security Engineer Mike Fiedler and received broad support during the 2026 Packaging Summit. Attendees generally agreed that projects should publish an entirely new package version when adding support for newer Python releases, rather than modifying an existing one. Larson subsequently implemented the necessary code changes.

ShareXLinkedInWhatsAppFacebook

More News

view all →
vulnerability

Coldcard Hardware Wallet Flaw Linked to $70 Million Bitcoin Theft in 41 Minutes

An attacker drained 1,196 Bitcoin addresses in 41 minutes on July 30, taking 1,082.65 BTC worth about $70.2 million at the time. Galaxy Research mapped the sweep and tied it to a firmware flaw in Coldcard, the Bitcoin-only hardware wallet made by Canadian firm Coinkite. A March 2021 firmware integration error routed seed generation to a deterministic software pseudorandom number generator (PRNG

vulnerabilitycritical

Rails patches critical Active Storage flaw with RCE potential

A critical vulnerability in the Active Storage framework can allow an unauthenticated attacker to read arbitrary files from a Rails application, and potentially escalate to remote code execution (RCE). [...]

malware

Russian Hackers Hijack Hotel Wi-Fi to Steal Microsoft 365 Tokens

Microsoft says Russian hackers hijacked hotel Wi-Fi portals to spread malware and steal Microsoft 365 tokens from travelers. Microsoft Threat Intelligence disclosed CaptiveCrunch, a campaign it attributes to Storm-2945, an operational sub-cluster of Midnight Blizzard, the Russian SVR-linked group also known as APT29 and Cozy Bear. Since early May 2026, Storm-2945 has been manipulating DNS […]

CVE-2026-48449critical

Adobe fixed a maximum-severity vulnerability flaw in Campaign Classic

Adobe fixed a maximum severity vulnerability in Campaign Classic that could let attackers run code remotely without user interaction. Adobe has addressed a critical vulnerability, tracked as CVE-2026-48449 (CVSS score of 10.0), in Adobe Campaign Classic, the company’s enterprise marketing automation platform. The flaw is caused by incorrect authorization and could allow attackers to execute […]

security

Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments

The funding round was led by SYN Ventures, with participation from existing investors DataTribe and TEDCO. The post Balance Theory Raises $19 Million to Help Enterprises Manage Cybersecurity Investments appeared first on SecurityWeek.

vulnerabilitycritical

Ruby on Rails Patches Critical Vulnerability

The flaw can be exploited by unauthenticated attackers to read arbitrary files and potentially achieve remote code execution (RCE). The post Ruby on Rails Patches Critical Vulnerability appeared first on SecurityWeek.