Skip to content
Industry · Jul 25, 2026

PyPI begins rejecting new file uploads to releases older than 14 days to mitigate supply-chain risk

The Python Package Index now blocks uploads to aged releases, a change intended to reduce the risk of supply-chain attacks via compromised publishing credentials.

Trust80
HypeLow hype

2 sources · cross-referenced

ShareXLinkedInEmail
TL;DR
  • PyPI now rejects new file uploads to releases older than 14 days to prevent supply-chain attacks.
  • The change aims to mitigate the risk of attackers poisoning long-stable releases if project tokens or workflows are compromised.
  • As of the announcement, PyPI has not observed evidence of abuse of this attack path.

The Python Package Index (PyPI) now rejects new file uploads to releases that are older than 14 days, a change intended to reduce the risk of supply-chain attacks. According to a statement from PyPI maintainer Seth Larson, the restriction was implemented to prevent attackers from poisoning long-stable releases if project publishing tokens or workflows are compromised. The policy change was announced in a PyPI blog post on July 22, 2026.

As of the announcement, PyPI reported it had not observed evidence that this attack path had been abused. Larson noted there was no technical barrier preventing abuse other than the apparent lack of attacker awareness of the possibility.

The restriction applies to new file uploads to existing releases, not to new releases themselves. This targets scenarios where an attacker might obtain valid publishing credentials after a release has stabilized and inject malicious files into an otherwise trusted version.

Sources
  1. 01Simon Willison — everythingQuoting Seth Larson
  2. 02PyPI blogReleases now reject new files after 14 days
Also on Industry

Stories may contain errors. Dispatch is assembled with AI assistance and curated by human editors; despite the trust-score filter, mistakes happen. We correct publicly — every article links to its revision history. Nothing here is financial, legal, or medical advice. Verify before relying on any claim.

© 2026 Dispatch. No ads. No sponsorships. No paid placement. Reader-supported via Ko-fi.

Built by a person who cares about honest AI news.