Description
Packistry is a self-hosted Composer repository designed to handle PHP package distribution. Prior to version 0.13.0, RepositoryAwareController::authorize() verified token presence and ability, but did not enforce token expiration. As a result, an expired deploy token with the correct ability could still access repository endpoints (e.g., Composer metadata/download APIs). The fix in version 0.13.0 adds an explicit expiration check, and tests now test expired deploy tokens to ensure they are rejected.
Problem types
CWE-287: Improper Authentication
CWE-613: Insufficient Session Expiration
Product status
References
github.com/...kistry/security/advisories/GHSA-4r9m-jp53-vgmw
github.com/packistry/packistry/pull/276
github.com/...ommit/7740b48f0f4ecbe63099fb056c8a146180f8b283